UNPKG

@wildboar/pki-stub

Version:
32 lines (31 loc) 1.36 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { BuiltInDomainDefinedAttribute } from "../PkiPmiExternalDataTypes/BuiltInDomainDefinedAttribute.ta"; /** * @summary BuiltInDomainDefinedAttributes * @description * * ### ASN.1 Definition: * * ```asn1 * BuiltInDomainDefinedAttributes ::= * SEQUENCE SIZE (1..ub-domain-defined-attributes) OF * BuiltInDomainDefinedAttribute * ``` */ export declare 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} el The element being decoded. * @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;