UNPKG

@wildboar/pki-stub

Version:
48 lines 1.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_AttCertVersion = exports._decode_AttCertVersion = exports.v2 = exports.AttCertVersion_v2 = void 0; const $ = require("asn1-ts/dist/node/functional"); /* END_OF_SYMBOL_DEFINITION AttCertVersion */ /* START_OF_SYMBOL_DEFINITION AttCertVersion_v2 */ /** * @summary AttCertVersion_v2 * @constant * @type {number} */ exports.AttCertVersion_v2 = 1; /* LONG_NAMED_INTEGER_VALUE */ /* END_OF_SYMBOL_DEFINITION AttCertVersion_v2 */ /* START_OF_SYMBOL_DEFINITION v2 */ /** * @summary AttCertVersion_v2 * @constant * @type {number} */ exports.v2 = exports.AttCertVersion_v2; /* SHORT_NAMED_INTEGER_VALUE */ /* END_OF_SYMBOL_DEFINITION v2 */ /* START_OF_SYMBOL_DEFINITION _decode_AttCertVersion */ /** * @summary Decodes an ASN.1 element into a(n) AttCertVersion * @function * @param {_Element} el The element being decoded. * @returns {AttCertVersion} The decoded data structure. */ function _decode_AttCertVersion(el) { return $._decodeInteger(el); } exports._decode_AttCertVersion = _decode_AttCertVersion; /* END_OF_SYMBOL_DEFINITION _decode_AttCertVersion */ /* START_OF_SYMBOL_DEFINITION _encode_AttCertVersion */ /** * @summary Encodes a(n) AttCertVersion 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 AttCertVersion, encoded as an ASN.1 Element. */ function _encode_AttCertVersion(value, elGetter) { return $._encodeInteger(value, elGetter); } exports._encode_AttCertVersion = _encode_AttCertVersion; /* END_OF_SYMBOL_DEFINITION _encode_AttCertVersion */ /* eslint-enable */ //# sourceMappingURL=AttCertVersion.ta.js.map