UNPKG

@wildboar/pkcs

Version:
105 lines 4.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_FingerPrint_hand = exports._decode_FingerPrint_hand = exports.right = exports.FingerPrint_hand_right = exports.left = exports.FingerPrint_hand_left = exports.FingerPrint_hand = exports._enum_for_FingerPrint_hand = void 0; const $ = require("asn1-ts/dist/node/functional"); /* START_OF_SYMBOL_DEFINITION _enum_for_FingerPrint_hand */ /** * @summary FingerPrint_hand * @description * * ### ASN.1 Definition: * * ```asn1 * FingerPrint-hand ::= ENUMERATED { -- REMOVED_FROM_UNNESTING -- } * ```@enum {number} */ var _enum_for_FingerPrint_hand; (function (_enum_for_FingerPrint_hand) { _enum_for_FingerPrint_hand[_enum_for_FingerPrint_hand["left"] = 0] = "left"; _enum_for_FingerPrint_hand[_enum_for_FingerPrint_hand["right"] = 1] = "right"; })(_enum_for_FingerPrint_hand = exports._enum_for_FingerPrint_hand || (exports._enum_for_FingerPrint_hand = {})); /* END_OF_SYMBOL_DEFINITION FingerPrint_hand */ /* START_OF_SYMBOL_DEFINITION FingerPrint_hand */ /** * @summary FingerPrint_hand * @description * * ### ASN.1 Definition: * * ```asn1 * FingerPrint-hand ::= ENUMERATED { -- REMOVED_FROM_UNNESTING -- } * ```@enum {number} */ exports.FingerPrint_hand = _enum_for_FingerPrint_hand; /* END_OF_SYMBOL_DEFINITION FingerPrint_hand */ /* START_OF_SYMBOL_DEFINITION FingerPrint_hand_left */ /** * @summary FingerPrint_hand_left * @constant * @type {number} */ exports.FingerPrint_hand_left = exports.FingerPrint_hand.left; /* LONG_NAMED_ENUMERATED_VALUE */ /* END_OF_SYMBOL_DEFINITION FingerPrint_hand_left */ /* START_OF_SYMBOL_DEFINITION left */ /** * @summary left * @constant * @type {number} */ exports.left = exports.FingerPrint_hand.left; /* SHORT_NAMED_ENUMERATED_VALUE */ /* END_OF_SYMBOL_DEFINITION left */ /* START_OF_SYMBOL_DEFINITION FingerPrint_hand_right */ /** * @summary FingerPrint_hand_right * @constant * @type {number} */ exports.FingerPrint_hand_right = exports.FingerPrint_hand.right; /* LONG_NAMED_ENUMERATED_VALUE */ /* END_OF_SYMBOL_DEFINITION FingerPrint_hand_right */ /* START_OF_SYMBOL_DEFINITION right */ /** * @summary right * @constant * @type {number} */ exports.right = exports.FingerPrint_hand.right; /* SHORT_NAMED_ENUMERATED_VALUE */ /* END_OF_SYMBOL_DEFINITION right */ /* START_OF_SYMBOL_DEFINITION _cached_decoder_for_FingerPrint_hand */ let _cached_decoder_for_FingerPrint_hand = null; /* END_OF_SYMBOL_DEFINITION _cached_decoder_for_FingerPrint_hand */ /* START_OF_SYMBOL_DEFINITION _decode_FingerPrint_hand */ /** * @summary Decodes an ASN.1 element into a(n) FingerPrint_hand * @function * @param {_Element} el The element being decoded. * @returns {FingerPrint_hand} The decoded data structure. */ function _decode_FingerPrint_hand(el) { if (!_cached_decoder_for_FingerPrint_hand) { _cached_decoder_for_FingerPrint_hand = $._decodeEnumerated; } return _cached_decoder_for_FingerPrint_hand(el); } exports._decode_FingerPrint_hand = _decode_FingerPrint_hand; /* END_OF_SYMBOL_DEFINITION _decode_FingerPrint_hand */ /* START_OF_SYMBOL_DEFINITION _cached_encoder_for_FingerPrint_hand */ let _cached_encoder_for_FingerPrint_hand = null; /* END_OF_SYMBOL_DEFINITION _cached_encoder_for_FingerPrint_hand */ /* START_OF_SYMBOL_DEFINITION _encode_FingerPrint_hand */ /** * @summary Encodes a(n) FingerPrint_hand 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 FingerPrint_hand, encoded as an ASN.1 Element. */ function _encode_FingerPrint_hand(value, elGetter) { if (!_cached_encoder_for_FingerPrint_hand) { _cached_encoder_for_FingerPrint_hand = $._encodeEnumerated; } return _cached_encoder_for_FingerPrint_hand(value, elGetter); } exports._encode_FingerPrint_hand = _encode_FingerPrint_hand; /* END_OF_SYMBOL_DEFINITION _encode_FingerPrint_hand */ /* eslint-enable */ //# sourceMappingURL=FingerPrint-hand.ta.js.map