UNPKG

pkcs-ts

Version:

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

18 lines 1.24 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { KEKRecipientInfo } from "../CryptographicMessageSyntax/KEKRecipientInfo.ta"; import { KeyAgreeRecipientInfo } from "../CryptographicMessageSyntax/KeyAgreeRecipientInfo.ta"; import { KeyTransRecipientInfo } from "../CryptographicMessageSyntax/KeyTransRecipientInfo.ta"; export { KEKRecipientInfo, _decode_KEKRecipientInfo, _encode_KEKRecipientInfo, } from "../CryptographicMessageSyntax/KEKRecipientInfo.ta"; export { KeyAgreeRecipientInfo, _decode_KeyAgreeRecipientInfo, _encode_KeyAgreeRecipientInfo, } from "../CryptographicMessageSyntax/KeyAgreeRecipientInfo.ta"; export { KeyTransRecipientInfo, _decode_KeyTransRecipientInfo, _encode_KeyTransRecipientInfo, } from "../CryptographicMessageSyntax/KeyTransRecipientInfo.ta"; export declare type RecipientInfo = { ktri: KeyTransRecipientInfo; } | { kari: KeyAgreeRecipientInfo; } | { kekri: KEKRecipientInfo; }; 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