UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

18 lines 1.01 kB
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 { SecretTypes } from "../PKCS-12/SecretTypes.osa"; export declare class SecretBag { readonly secretTypeId: OBJECT_IDENTIFIER; readonly secretValue: _Element; constructor(secretTypeId: OBJECT_IDENTIFIER, secretValue: _Element); static _from_object(_o: { [_K in keyof SecretBag]: SecretBag[_K]; }): SecretBag; } export declare const _root_component_type_list_1_spec_for_SecretBag: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_SecretBag: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_SecretBag: $.ComponentSpec[]; export declare function _decode_SecretBag(el: _Element): SecretBag; export declare function _encode_SecretBag(value: SecretBag, elGetter: $.ASN1Encoder<SecretBag>): _Element; //# sourceMappingURL=SecretBag.ta.d.ts.map