UNPKG

@wildboar/pkcs

Version:
30 lines 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._get_encoder_for_ENCRYPTED = exports._get_decoder_for_ENCRYPTED = void 0; const $ = require("asn1-ts/dist/node/functional"); /* END_OF_SYMBOL_DEFINITION ENCRYPTED */ /* START_OF_SYMBOL_DEFINITION _get_decoder_for_ENCRYPTED */ /** * @summary Returns a function that will decode an ASN.1 element into a(n) ENCRYPTED * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ function _get_decoder_for_ENCRYPTED(_decode_ToBeEnciphered) { return $._decodeOctetString; } exports._get_decoder_for_ENCRYPTED = _get_decoder_for_ENCRYPTED; /* END_OF_SYMBOL_DEFINITION _get_decoder_for_ENCRYPTED */ /* START_OF_SYMBOL_DEFINITION _get_encoder_for_ENCRYPTED */ /** * @summary Returns a function that will encode a(n) ENCRYPTED into an ASN.1 Element. * @function * @returns A function that will encode a(n) ENCRYPTED as an ASN.1 element. */ function _get_encoder_for_ENCRYPTED(_encode_ToBeEnciphered) { return $._encodeOctetString; } exports._get_encoder_for_ENCRYPTED = _get_encoder_for_ENCRYPTED; /* END_OF_SYMBOL_DEFINITION _get_encoder_for_ENCRYPTED */ /* eslint-enable */ //# sourceMappingURL=ENCRYPTED.ta.js.map