pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
18 lines • 968 B
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
export { BAG_TYPE } from "../PKCS-12/BAG-TYPE.oca";
export { CertTypes } from "../PKCS-12/CertTypes.osa";
export declare class CertBag {
readonly certId: OBJECT_IDENTIFIER;
readonly certValue: _Element;
constructor(certId: OBJECT_IDENTIFIER, certValue: _Element);
static _from_object(_o: {
[_K in keyof CertBag]: CertBag[_K];
}): CertBag;
}
export declare const _root_component_type_list_1_spec_for_CertBag: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_CertBag: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_CertBag: $.ComponentSpec[];
export declare function _decode_CertBag(el: _Element): CertBag;
export declare function _encode_CertBag(value: CertBag, elGetter: $.ASN1Encoder<CertBag>): _Element;
//# sourceMappingURL=CertBag.ta.d.ts.map