UNPKG

@wildboar/pki-stub

Version:
29 lines 957 B
import { BIT_STRING } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary UniqueIdentifier * @description * * ### ASN.1 Definition: * * ```asn1 * UniqueIdentifier ::= BIT STRING * ``` */ export type UniqueIdentifier = BIT_STRING; /** * @summary Decodes an ASN.1 element into a(n) UniqueIdentifier * @function * @param {_Element} el The element being decoded. * @returns {UniqueIdentifier} The decoded data structure. */ export declare const _decode_UniqueIdentifier: $.ASN1Decoder<UniqueIdentifier>; /** * @summary Encodes a(n) UniqueIdentifier 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 UniqueIdentifier, encoded as an ASN.1 Element. */ export declare const _encode_UniqueIdentifier: $.ASN1Encoder<UniqueIdentifier>; //# sourceMappingURL=UniqueIdentifier.ta.d.mts.map