pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
27 lines • 2.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_RecipientEncryptedKeys = exports._decode_RecipientEncryptedKeys = exports._encode_RecipientEncryptedKey = exports._decode_RecipientEncryptedKey = exports.RecipientEncryptedKey = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
const RecipientEncryptedKey_ta_1 = require("../CryptographicMessageSyntax/RecipientEncryptedKey.ta");
var RecipientEncryptedKey_ta_2 = require("../CryptographicMessageSyntax/RecipientEncryptedKey.ta");
Object.defineProperty(exports, "RecipientEncryptedKey", { enumerable: true, get: function () { return RecipientEncryptedKey_ta_2.RecipientEncryptedKey; } });
Object.defineProperty(exports, "_decode_RecipientEncryptedKey", { enumerable: true, get: function () { return RecipientEncryptedKey_ta_2._decode_RecipientEncryptedKey; } });
Object.defineProperty(exports, "_encode_RecipientEncryptedKey", { enumerable: true, get: function () { return RecipientEncryptedKey_ta_2._encode_RecipientEncryptedKey; } });
let _cached_decoder_for_RecipientEncryptedKeys = null;
function _decode_RecipientEncryptedKeys(el) {
if (!_cached_decoder_for_RecipientEncryptedKeys) {
_cached_decoder_for_RecipientEncryptedKeys = $._decodeSequenceOf(() => RecipientEncryptedKey_ta_1._decode_RecipientEncryptedKey);
}
return _cached_decoder_for_RecipientEncryptedKeys(el);
}
exports._decode_RecipientEncryptedKeys = _decode_RecipientEncryptedKeys;
let _cached_encoder_for_RecipientEncryptedKeys = null;
function _encode_RecipientEncryptedKeys(value, elGetter) {
if (!_cached_encoder_for_RecipientEncryptedKeys) {
_cached_encoder_for_RecipientEncryptedKeys = $._encodeSequenceOf(() => RecipientEncryptedKey_ta_1._encode_RecipientEncryptedKey, $.BER);
}
return _cached_encoder_for_RecipientEncryptedKeys(value, elGetter);
}
exports._encode_RecipientEncryptedKeys = _encode_RecipientEncryptedKeys;
//# sourceMappingURL=RecipientEncryptedKeys.ta.js.map