@wildboar/pki-stub
Version:
X.510 PKI-Stub ASN.1 data structures in TypeScript
29 lines • 940 B
text/typescript
import { NumericString } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
/**
* @summary X121Address
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* X121Address ::= NumericString(SIZE (1..ub-x121-address-length))
* ```
*/
export type X121Address = NumericString;
/**
* @summary Decodes an ASN.1 element into a(n) X121Address
* @function
* @param {_Element} el The element being decoded.
* @returns {X121Address} The decoded data structure.
*/
export declare const _decode_X121Address: $.ASN1Decoder<X121Address>;
/**
* @summary Encodes a(n) X121Address 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 X121Address, encoded as an ASN.1 Element.
*/
export declare const _encode_X121Address: $.ASN1Encoder<X121Address>;
//# sourceMappingURL=X121Address.ta.d.mts.map