UNPKG

pkcs-ts

Version:

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

22 lines 946 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_EncryptedKey = exports._decode_EncryptedKey = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); let _cached_decoder_for_EncryptedKey = null; function _decode_EncryptedKey(el) { if (!_cached_decoder_for_EncryptedKey) { _cached_decoder_for_EncryptedKey = $._decodeOctetString; } return _cached_decoder_for_EncryptedKey(el); } exports._decode_EncryptedKey = _decode_EncryptedKey; let _cached_encoder_for_EncryptedKey = null; function _encode_EncryptedKey(value, elGetter) { if (!_cached_encoder_for_EncryptedKey) { _cached_encoder_for_EncryptedKey = $._encodeOctetString; } return _cached_encoder_for_EncryptedKey(value, elGetter); } exports._encode_EncryptedKey = _encode_EncryptedKey; //# sourceMappingURL=EncryptedKey.ta.js.map