UNPKG

@wildboar/pkcs

Version:
40 lines 3.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._get_encoder_for_AuthenticationObject = exports._get_decoder_for_AuthenticationObject = exports._get_encoder_for_PKCS15Object = exports._get_decoder_for_PKCS15Object = exports.PKCS15Object = exports._encode_CommonAuthenticationObjectAttributes = exports._decode_CommonAuthenticationObjectAttributes = exports.CommonAuthenticationObjectAttributes = void 0; const $ = require("asn1-ts/dist/node/functional"); const CommonAuthenticationObjectAttributes_ta_1 = require("../PKCS-15/CommonAuthenticationObjectAttributes.ta"); const PKCS15Object_ta_1 = require("../PKCS-15/PKCS15Object.ta"); var CommonAuthenticationObjectAttributes_ta_2 = require("../PKCS-15/CommonAuthenticationObjectAttributes.ta"); Object.defineProperty(exports, "CommonAuthenticationObjectAttributes", { enumerable: true, get: function () { return CommonAuthenticationObjectAttributes_ta_2.CommonAuthenticationObjectAttributes; } }); Object.defineProperty(exports, "_decode_CommonAuthenticationObjectAttributes", { enumerable: true, get: function () { return CommonAuthenticationObjectAttributes_ta_2._decode_CommonAuthenticationObjectAttributes; } }); Object.defineProperty(exports, "_encode_CommonAuthenticationObjectAttributes", { enumerable: true, get: function () { return CommonAuthenticationObjectAttributes_ta_2._encode_CommonAuthenticationObjectAttributes; } }); var PKCS15Object_ta_2 = require("../PKCS-15/PKCS15Object.ta"); Object.defineProperty(exports, "PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2.PKCS15Object; } }); Object.defineProperty(exports, "_get_decoder_for_PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2._get_decoder_for_PKCS15Object; } }); Object.defineProperty(exports, "_get_encoder_for_PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2._get_encoder_for_PKCS15Object; } }); /* END_OF_SYMBOL_DEFINITION AuthenticationObject */ /* START_OF_SYMBOL_DEFINITION _get_decoder_for_AuthenticationObject */ /** * @summary Returns a function that will decode an ASN.1 element into a(n) AuthenticationObject * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ function _get_decoder_for_AuthenticationObject(_decode_AuthObjectAttributes) { return PKCS15Object_ta_1._get_decoder_for_PKCS15Object(CommonAuthenticationObjectAttributes_ta_1._decode_CommonAuthenticationObjectAttributes, $._decodeNull, _decode_AuthObjectAttributes); } exports._get_decoder_for_AuthenticationObject = _get_decoder_for_AuthenticationObject; /* END_OF_SYMBOL_DEFINITION _get_decoder_for_AuthenticationObject */ /* START_OF_SYMBOL_DEFINITION _get_encoder_for_AuthenticationObject */ /** * @summary Returns a function that will encode a(n) AuthenticationObject into an ASN.1 Element. * @function * @returns A function that will encode a(n) AuthenticationObject as an ASN.1 element. */ function _get_encoder_for_AuthenticationObject(_encode_AuthObjectAttributes) { return PKCS15Object_ta_1._get_encoder_for_PKCS15Object(CommonAuthenticationObjectAttributes_ta_1._encode_CommonAuthenticationObjectAttributes, $._encodeNull, _encode_AuthObjectAttributes); } exports._get_encoder_for_AuthenticationObject = _get_encoder_for_AuthenticationObject; /* END_OF_SYMBOL_DEFINITION _get_encoder_for_AuthenticationObject */ /* eslint-enable */ //# sourceMappingURL=AuthenticationObject.ta.js.map