pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
21 lines • 1.26 kB
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { PKCS12Attribute } from "../PKCS-12/PKCS12Attribute.ta";
export { BAG_TYPE } from "../PKCS-12/BAG-TYPE.oca";
export { PKCS12Attribute, _decode_PKCS12Attribute, _encode_PKCS12Attribute, } from "../PKCS-12/PKCS12Attribute.ta";
export { PKCS12BagSet } from "../PKCS-12/PKCS12BagSet.osa";
export declare class SafeBag {
readonly bagId: OBJECT_IDENTIFIER;
readonly bagValue: _Element;
readonly bagAttributes: OPTIONAL<PKCS12Attribute[]>;
constructor(bagId: OBJECT_IDENTIFIER, bagValue: _Element, bagAttributes: OPTIONAL<PKCS12Attribute[]>);
static _from_object(_o: {
[_K in keyof SafeBag]: SafeBag[_K];
}): SafeBag;
}
export declare const _root_component_type_list_1_spec_for_SafeBag: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_SafeBag: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_SafeBag: $.ComponentSpec[];
export declare function _decode_SafeBag(el: _Element): SafeBag;
export declare function _encode_SafeBag(value: SafeBag, elGetter: $.ASN1Encoder<SafeBag>): _Element;
//# sourceMappingURL=SafeBag.ta.d.ts.map