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