pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 1.55 kB
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { EncryptedKey } from "../CryptographicMessageSyntax/EncryptedKey.ta";
import { KeyAgreeRecipientIdentifier } from "../CryptographicMessageSyntax/KeyAgreeRecipientIdentifier.ta";
export { EncryptedKey, _decode_EncryptedKey, _encode_EncryptedKey, } from "../CryptographicMessageSyntax/EncryptedKey.ta";
export { KeyAgreeRecipientIdentifier, _decode_KeyAgreeRecipientIdentifier, _encode_KeyAgreeRecipientIdentifier, } from "../CryptographicMessageSyntax/KeyAgreeRecipientIdentifier.ta";
export declare class RecipientEncryptedKey {
readonly rid: KeyAgreeRecipientIdentifier;
readonly encryptedKey: EncryptedKey;
constructor(rid: KeyAgreeRecipientIdentifier, 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