pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 1.53 kB
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { EncryptedKey } from "../PKCS7/EncryptedKey.ta";
import { KeyAgreementRecipientIdentifier } from "../PKCS7/KeyAgreementRecipientIdentifier.ta";
export { EncryptedKey, _decode_EncryptedKey, _encode_EncryptedKey, } from "../PKCS7/EncryptedKey.ta";
export { KeyAgreementRecipientIdentifier, _decode_KeyAgreementRecipientIdentifier, _encode_KeyAgreementRecipientIdentifier, } from "../PKCS7/KeyAgreementRecipientIdentifier.ta";
export declare class RecipientEncryptedKey {
readonly recipientIdentifier: KeyAgreementRecipientIdentifier;
readonly encryptedKey: EncryptedKey;
constructor(recipientIdentifier: KeyAgreementRecipientIdentifier, encryptedKey: EncryptedKey);
static _from_object(_o: {
[_K in keyof RecipientEncryptedKey]: RecipientEncryptedKey[_K];
}): RecipientEncryptedKey;
}
export declare const _root_component_type_list_1_spec_for_RecipientEncryptedKey: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_RecipientEncryptedKey: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_RecipientEncryptedKey: $.ComponentSpec[];
export declare function _decode_RecipientEncryptedKey(el: _Element): RecipientEncryptedKey;
export declare function _encode_RecipientEncryptedKey(value: RecipientEncryptedKey, elGetter: $.ASN1Encoder<RecipientEncryptedKey>): _Element;
//# sourceMappingURL=RecipientEncryptedKey.ta.d.ts.map