UNPKG

pkcs-ts

Version:

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

20 lines 1.64 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { EncryptedData } from "../AsymmetricKeyPackageModuleV1/EncryptedData.ta"; import { EncryptionAlgorithmIdentifier } from "../AsymmetricKeyPackageModuleV1/EncryptionAlgorithmIdentifier.ta"; export { EncryptedData, _decode_EncryptedData, _encode_EncryptedData, } from "../AsymmetricKeyPackageModuleV1/EncryptedData.ta"; export { EncryptionAlgorithmIdentifier, _decode_EncryptionAlgorithmIdentifier, _encode_EncryptionAlgorithmIdentifier, } from "../AsymmetricKeyPackageModuleV1/EncryptionAlgorithmIdentifier.ta"; export declare class EncryptedPrivateKeyInfo { readonly encryptionAlgorithm: EncryptionAlgorithmIdentifier; readonly encryptedData: EncryptedData; constructor(encryptionAlgorithm: EncryptionAlgorithmIdentifier, encryptedData: EncryptedData); static _from_object(_o: { [_K in keyof EncryptedPrivateKeyInfo]: EncryptedPrivateKeyInfo[_K]; }): EncryptedPrivateKeyInfo; } export declare const _root_component_type_list_1_spec_for_EncryptedPrivateKeyInfo: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_EncryptedPrivateKeyInfo: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_EncryptedPrivateKeyInfo: $.ComponentSpec[]; export declare function _decode_EncryptedPrivateKeyInfo(el: _Element): EncryptedPrivateKeyInfo; export declare function _encode_EncryptedPrivateKeyInfo(value: EncryptedPrivateKeyInfo, elGetter: $.ASN1Encoder<EncryptedPrivateKeyInfo>): _Element; //# sourceMappingURL=EncryptedPrivateKeyInfo.ta.d.ts.map