pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
14 lines • 1.06 kB
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { IssuerAndSerialNumber } from "../PKCS7/IssuerAndSerialNumber.ta";
import { RecipientKeyIdentifier } from "../PKCS7/RecipientKeyIdentifier.ta";
export { IssuerAndSerialNumber, _decode_IssuerAndSerialNumber, _encode_IssuerAndSerialNumber, } from "../PKCS7/IssuerAndSerialNumber.ta";
export { RecipientKeyIdentifier, _decode_RecipientKeyIdentifier, _encode_RecipientKeyIdentifier, } from "../PKCS7/RecipientKeyIdentifier.ta";
export declare type KeyAgreementRecipientIdentifier = {
issuerAndSerialNumber: IssuerAndSerialNumber;
} | {
recipientKeyIdentifier: RecipientKeyIdentifier;
};
export declare function _decode_KeyAgreementRecipientIdentifier(el: _Element): KeyAgreementRecipientIdentifier;
export declare function _encode_KeyAgreementRecipientIdentifier(value: KeyAgreementRecipientIdentifier, elGetter: $.ASN1Encoder<KeyAgreementRecipientIdentifier>): _Element;
//# sourceMappingURL=KeyAgreementRecipientIdentifier.ta.d.ts.map