@wildboar/pki-stub
Version:
X.510 PKI-Stub ASN.1 data structures in TypeScript
32 lines • 1.42 kB
text/typescript
import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { BuiltInDomainDefinedAttribute } from "../PkiPmiExternalDataTypes/BuiltInDomainDefinedAttribute.ta.mjs";
/**
* @summary BuiltInDomainDefinedAttributes
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* BuiltInDomainDefinedAttributes ::=
* SEQUENCE SIZE (1..ub-domain-defined-attributes) OF
* BuiltInDomainDefinedAttribute
* ```
*/
export type BuiltInDomainDefinedAttributes = BuiltInDomainDefinedAttribute[];
/**
* @summary Decodes an ASN.1 element into a(n) BuiltInDomainDefinedAttributes
* @function
* @param {_Element} el The element being decoded.
* @returns {BuiltInDomainDefinedAttributes} The decoded data structure.
*/
export declare function _decode_BuiltInDomainDefinedAttributes(el: _Element): BuiltInDomainDefinedAttributes;
/**
* @summary Encodes a(n) BuiltInDomainDefinedAttributes 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 BuiltInDomainDefinedAttributes, encoded as an ASN.1 Element.
*/
export declare function _encode_BuiltInDomainDefinedAttributes(value: BuiltInDomainDefinedAttributes, elGetter: $.ASN1Encoder<BuiltInDomainDefinedAttributes>): _Element;
//# sourceMappingURL=BuiltInDomainDefinedAttributes.ta.d.mts.map