@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
30 lines • 1.09 kB
text/typescript
import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { RecipientInfo } from "../CryptographicMessageSyntax/RecipientInfo.ta.mjs";
/**
* @summary RecipientInfos
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* RecipientInfos ::= SET OF RecipientInfo
* ```
*/
export type RecipientInfos = RecipientInfo[];
/**
* @summary Decodes an ASN.1 element into a(n) RecipientInfos
* @function
* @param {_Element} el The element being decoded.
* @returns {RecipientInfos} The decoded data structure.
*/
export declare function _decode_RecipientInfos(el: _Element): RecipientInfos;
/**
* @summary Encodes a(n) RecipientInfos 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 RecipientInfos, encoded as an ASN.1 Element.
*/
export declare function _encode_RecipientInfos(value: RecipientInfos, elGetter: $.ASN1Encoder<RecipientInfos>): _Element;
//# sourceMappingURL=RecipientInfos.ta.d.mts.map