UNPKG

@wildboar/pkcs

Version:
73 lines (72 loc) 2.04 kB
import * as $ from "@wildboar/asn1/functional"; export var _enum_for_PinType; (function (_enum_for_PinType) { _enum_for_PinType[_enum_for_PinType["bcd"] = 0] = "bcd"; _enum_for_PinType[_enum_for_PinType["ascii_numeric"] = 1] = "ascii_numeric"; _enum_for_PinType[_enum_for_PinType["utf8"] = 2] = "utf8"; _enum_for_PinType[_enum_for_PinType["half_nibble_bcd"] = 3] = "half_nibble_bcd"; _enum_for_PinType[_enum_for_PinType["iso9564_1"] = 3] = "iso9564_1"; })(_enum_for_PinType || (_enum_for_PinType = {})); /** * @summary PinType_bcd * @constant * @type {number} */ export const PinType_bcd = 0; /* LONG_NAMED_ENUMERATED_VALUE */ /** * @summary bcd * @constant * @type {number} */ export const bcd = PinType_bcd; /* SHORT_NAMED_ENUMERATED_VALUE */ /** * @summary PinType_ascii_numeric * @constant * @type {number} */ export const PinType_ascii_numeric = 1; /* LONG_NAMED_ENUMERATED_VALUE */ /** * @summary ascii_numeric * @constant * @type {number} */ export const ascii_numeric = PinType_ascii_numeric; /* SHORT_NAMED_ENUMERATED_VALUE */ /** * @summary PinType_utf8 * @constant * @type {number} */ export const PinType_utf8 = 2; /* LONG_NAMED_ENUMERATED_VALUE */ /** * @summary utf8 * @constant * @type {number} */ export const utf8 = PinType_utf8; /* SHORT_NAMED_ENUMERATED_VALUE */ /** * @summary PinType_half_nibble_bcd * @constant * @type {number} */ export const PinType_half_nibble_bcd = 3; /* LONG_NAMED_ENUMERATED_VALUE */ /** * @summary half_nibble_bcd * @constant * @type {number} */ export const half_nibble_bcd = PinType_half_nibble_bcd; /* SHORT_NAMED_ENUMERATED_VALUE */ /** * @summary PinType_iso9564_1 * @constant * @type {number} */ export const PinType_iso9564_1 = 3; /* LONG_NAMED_ENUMERATED_VALUE */ /** * @summary iso9564_1 * @constant * @type {number} */ export const iso9564_1 = PinType_iso9564_1; /* SHORT_NAMED_ENUMERATED_VALUE */ export const _decode_PinType = $._decodeEnumerated; export const _encode_PinType = $._encodeEnumerated; /* eslint-enable */