UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

22 lines 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_EncryptedContent = exports._decode_EncryptedContent = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); let _cached_decoder_for_EncryptedContent = null; function _decode_EncryptedContent(el) { if (!_cached_decoder_for_EncryptedContent) { _cached_decoder_for_EncryptedContent = $._decodeOctetString; } return _cached_decoder_for_EncryptedContent(el); } exports._decode_EncryptedContent = _decode_EncryptedContent; let _cached_encoder_for_EncryptedContent = null; function _encode_EncryptedContent(value, elGetter) { if (!_cached_encoder_for_EncryptedContent) { _cached_encoder_for_EncryptedContent = $._encodeOctetString; } return _cached_encoder_for_EncryptedContent(value, elGetter); } exports._encode_EncryptedContent = _encode_EncryptedContent; //# sourceMappingURL=EncryptedContent.ta.js.map