UNPKG

pkcs-ts

Version:

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

18 lines 1.33 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { KeyAgreementRecipientInfo } from "../PKCS7/KeyAgreementRecipientInfo.ta"; import { KeyEncryptionKeyRecipientInfo } from "../PKCS7/KeyEncryptionKeyRecipientInfo.ta"; import { KeyTransportRecipientInfo } from "../PKCS7/KeyTransportRecipientInfo.ta"; export { KeyAgreementRecipientInfo, _decode_KeyAgreementRecipientInfo, _encode_KeyAgreementRecipientInfo, } from "../PKCS7/KeyAgreementRecipientInfo.ta"; export { KeyEncryptionKeyRecipientInfo, _decode_KeyEncryptionKeyRecipientInfo, _encode_KeyEncryptionKeyRecipientInfo, } from "../PKCS7/KeyEncryptionKeyRecipientInfo.ta"; export { KeyTransportRecipientInfo, _decode_KeyTransportRecipientInfo, _encode_KeyTransportRecipientInfo, } from "../PKCS7/KeyTransportRecipientInfo.ta"; export declare type RecipientInfo = { keyTransportRecipientInfo: KeyTransportRecipientInfo; } | { keyAgreementRecipientInfo: KeyAgreementRecipientInfo; } | { keyEncryptionKeyRecipientInfo: KeyEncryptionKeyRecipientInfo; }; export declare function _decode_RecipientInfo(el: _Element): RecipientInfo; export declare function _encode_RecipientInfo(value: RecipientInfo, elGetter: $.ASN1Encoder<RecipientInfo>): _Element; //# sourceMappingURL=RecipientInfo.ta.d.ts.map