@wildboar/pki-stub
Version:
X.510 PKI-Stub ASN.1 data structures in TypeScript
18 lines (17 loc) • 684 B
JavaScript
import * as $ from "@wildboar/asn1/functional";
/**
* @summary Decodes an ASN.1 element into a(n) TerminalIdentifier
* @function
* @param {_Element} el The element being decoded.
* @returns {TerminalIdentifier} The decoded data structure.
*/
export const _decode_TerminalIdentifier = $._decodePrintableString;
/**
* @summary Encodes a(n) TerminalIdentifier 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 TerminalIdentifier, encoded as an ASN.1 Element.
*/
export const _encode_TerminalIdentifier = $._encodePrintableString;
/* eslint-enable */