@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
30 lines • 1.23 kB
text/typescript
import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { RecipientEncryptedKey } from "../CryptographicMessageSyntax/RecipientEncryptedKey.ta.mjs";
/**
* @summary RecipientEncryptedKeys
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* RecipientEncryptedKeys ::= SEQUENCE OF RecipientEncryptedKey
* ```
*/
export type RecipientEncryptedKeys = RecipientEncryptedKey[];
/**
* @summary Decodes an ASN.1 element into a(n) RecipientEncryptedKeys
* @function
* @param {_Element} el The element being decoded.
* @returns {RecipientEncryptedKeys} The decoded data structure.
*/
export declare function _decode_RecipientEncryptedKeys(el: _Element): RecipientEncryptedKeys;
/**
* @summary Encodes a(n) RecipientEncryptedKeys into an ASN.1 Element.
* @function
* @param value The element being encoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The RecipientEncryptedKeys, encoded as an ASN.1 Element.
*/
export declare function _encode_RecipientEncryptedKeys(value: RecipientEncryptedKeys, elGetter: $.ASN1Encoder<RecipientEncryptedKeys>): _Element;
//# sourceMappingURL=RecipientEncryptedKeys.ta.d.mts.map