UNPKG

@wildboar/pki-stub

Version:
29 lines 1.01 kB
import { PrintableString } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary OrganizationName * @description * * ### ASN.1 Definition: * * ```asn1 * OrganizationName ::= PrintableString(SIZE (1..ub-organization-name-length)) * ``` */ export type OrganizationName = PrintableString; /** * @summary Decodes an ASN.1 element into a(n) OrganizationName * @function * @param {_Element} el The element being decoded. * @returns {OrganizationName} The decoded data structure. */ export declare const _decode_OrganizationName: $.ASN1Decoder<OrganizationName>; /** * @summary Encodes a(n) OrganizationName 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 OrganizationName, encoded as an ASN.1 Element. */ export declare const _encode_OrganizationName: $.ASN1Encoder<OrganizationName>; //# sourceMappingURL=OrganizationName.ta.d.mts.map