UNPKG

@wildboar/pkcs

Version:
142 lines 5.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_BiometricFlags = exports._decode_BiometricFlags = exports.confidentiality_protected = exports.BiometricFlags_confidentiality_protected = exports.integrity_protected = exports.BiometricFlags_integrity_protected = exports.disable_allowed = exports.BiometricFlags_disable_allowed = exports.initialized = exports.BiometricFlags_initialized = exports.unblock_disabled = exports.BiometricFlags_unblock_disabled = exports.change_disabled = exports.BiometricFlags_change_disabled = exports.local = exports.BiometricFlags_local = void 0; const $ = require("asn1-ts/dist/node/functional"); /* END_OF_SYMBOL_DEFINITION BiometricFlags */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_local */ /** * @summary BiometricFlags_local * @constant */ exports.BiometricFlags_local = 1; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_local */ /* START_OF_SYMBOL_DEFINITION local */ /** * @summary local * @constant */ exports.local = exports.BiometricFlags_local; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION local */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_change_disabled */ /** * @summary BiometricFlags_change_disabled * @constant */ exports.BiometricFlags_change_disabled = 2; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_change_disabled */ /* START_OF_SYMBOL_DEFINITION change_disabled */ /** * @summary change_disabled * @constant */ exports.change_disabled = exports.BiometricFlags_change_disabled; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION change_disabled */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_unblock_disabled */ /** * @summary BiometricFlags_unblock_disabled * @constant */ exports.BiometricFlags_unblock_disabled = 3; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_unblock_disabled */ /* START_OF_SYMBOL_DEFINITION unblock_disabled */ /** * @summary unblock_disabled * @constant */ exports.unblock_disabled = exports.BiometricFlags_unblock_disabled; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION unblock_disabled */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_initialized */ /** * @summary BiometricFlags_initialized * @constant */ exports.BiometricFlags_initialized = 4; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_initialized */ /* START_OF_SYMBOL_DEFINITION initialized */ /** * @summary initialized * @constant */ exports.initialized = exports.BiometricFlags_initialized; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION initialized */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_disable_allowed */ /** * @summary BiometricFlags_disable_allowed * @constant */ exports.BiometricFlags_disable_allowed = 8; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_disable_allowed */ /* START_OF_SYMBOL_DEFINITION disable_allowed */ /** * @summary disable_allowed * @constant */ exports.disable_allowed = exports.BiometricFlags_disable_allowed; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION disable_allowed */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_integrity_protected */ /** * @summary BiometricFlags_integrity_protected * @constant */ exports.BiometricFlags_integrity_protected = 9; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_integrity_protected */ /* START_OF_SYMBOL_DEFINITION integrity_protected */ /** * @summary integrity_protected * @constant */ exports.integrity_protected = exports.BiometricFlags_integrity_protected; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION integrity_protected */ /* START_OF_SYMBOL_DEFINITION BiometricFlags_confidentiality_protected */ /** * @summary BiometricFlags_confidentiality_protected * @constant */ exports.BiometricFlags_confidentiality_protected = 10; /* LONG_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION BiometricFlags_confidentiality_protected */ /* START_OF_SYMBOL_DEFINITION confidentiality_protected */ /** * @summary confidentiality_protected * @constant */ exports.confidentiality_protected = exports.BiometricFlags_confidentiality_protected; /* SHORT_NAMED_BIT */ /* END_OF_SYMBOL_DEFINITION confidentiality_protected */ /* START_OF_SYMBOL_DEFINITION _cached_decoder_for_BiometricFlags */ let _cached_decoder_for_BiometricFlags = null; /* END_OF_SYMBOL_DEFINITION _cached_decoder_for_BiometricFlags */ /* START_OF_SYMBOL_DEFINITION _decode_BiometricFlags */ /** * @summary Decodes an ASN.1 element into a(n) BiometricFlags * @function * @param {_Element} el The element being decoded. * @returns {BiometricFlags} The decoded data structure. */ function _decode_BiometricFlags(el) { if (!_cached_decoder_for_BiometricFlags) { _cached_decoder_for_BiometricFlags = $._decodeBitString; } return _cached_decoder_for_BiometricFlags(el); } exports._decode_BiometricFlags = _decode_BiometricFlags; /* END_OF_SYMBOL_DEFINITION _decode_BiometricFlags */ /* START_OF_SYMBOL_DEFINITION _cached_encoder_for_BiometricFlags */ let _cached_encoder_for_BiometricFlags = null; /* END_OF_SYMBOL_DEFINITION _cached_encoder_for_BiometricFlags */ /* START_OF_SYMBOL_DEFINITION _encode_BiometricFlags */ /** * @summary Encodes a(n) BiometricFlags 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 BiometricFlags, encoded as an ASN.1 Element. */ function _encode_BiometricFlags(value, elGetter) { if (!_cached_encoder_for_BiometricFlags) { _cached_encoder_for_BiometricFlags = $._encodeBitString; } return _cached_encoder_for_BiometricFlags(value, elGetter); } exports._encode_BiometricFlags = _encode_BiometricFlags; /* END_OF_SYMBOL_DEFINITION _encode_BiometricFlags */ /* eslint-enable */ //# sourceMappingURL=BiometricFlags.ta.js.map