UNPKG

pkcs-ts

Version:

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

14 lines 1.1 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { IssuerAndSerialNumber } from "../CryptographicMessageSyntax/IssuerAndSerialNumber.ta"; import { RecipientKeyIdentifier } from "../CryptographicMessageSyntax/RecipientKeyIdentifier.ta"; export { IssuerAndSerialNumber, _decode_IssuerAndSerialNumber, _encode_IssuerAndSerialNumber, } from "../CryptographicMessageSyntax/IssuerAndSerialNumber.ta"; export { RecipientKeyIdentifier, _decode_RecipientKeyIdentifier, _encode_RecipientKeyIdentifier, } from "../CryptographicMessageSyntax/RecipientKeyIdentifier.ta"; export declare type KeyAgreeRecipientIdentifier = { issuerAndSerialNumber: IssuerAndSerialNumber; } | { rKeyId: RecipientKeyIdentifier; }; export declare function _decode_KeyAgreeRecipientIdentifier(el: _Element): KeyAgreeRecipientIdentifier; export declare function _encode_KeyAgreeRecipientIdentifier(value: KeyAgreeRecipientIdentifier, elGetter: $.ASN1Encoder<KeyAgreeRecipientIdentifier>): _Element; //# sourceMappingURL=KeyAgreeRecipientIdentifier.ta.d.ts.map