@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
30 lines (29 loc) • 1.23 kB
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { CertificateList } from "@wildboar/x500/src/lib/modules/AuthenticationFramework/CertificateList.ta";
/**
* @summary CertificateRevocationLists
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* CertificateRevocationLists ::= SET OF CertificateList
* ```
*/
export declare type CertificateRevocationLists = CertificateList[];
/**
* @summary Decodes an ASN.1 element into a(n) CertificateRevocationLists
* @function
* @param {_Element} el The element being decoded.
* @returns {CertificateRevocationLists} The decoded data structure.
*/
export declare function _decode_CertificateRevocationLists(el: _Element): CertificateRevocationLists;
/**
* @summary Encodes a(n) CertificateRevocationLists into an ASN.1 Element.
* @function
* @param {value} el The element being decoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The CertificateRevocationLists, encoded as an ASN.1 Element.
*/
export declare function _encode_CertificateRevocationLists(value: CertificateRevocationLists, elGetter: $.ASN1Encoder<CertificateRevocationLists>): _Element;