pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
24 lines • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_CBCParameter = exports._decode_CBCParameter = exports._encode_IV = exports._decode_IV = void 0;
const IV_ta_1 = require("../CryptographicMessageSyntax/IV.ta");
var IV_ta_2 = require("../CryptographicMessageSyntax/IV.ta");
Object.defineProperty(exports, "_decode_IV", { enumerable: true, get: function () { return IV_ta_2._decode_IV; } });
Object.defineProperty(exports, "_encode_IV", { enumerable: true, get: function () { return IV_ta_2._encode_IV; } });
let _cached_decoder_for_CBCParameter = null;
function _decode_CBCParameter(el) {
if (!_cached_decoder_for_CBCParameter) {
_cached_decoder_for_CBCParameter = IV_ta_1._decode_IV;
}
return _cached_decoder_for_CBCParameter(el);
}
exports._decode_CBCParameter = _decode_CBCParameter;
let _cached_encoder_for_CBCParameter = null;
function _encode_CBCParameter(value, elGetter) {
if (!_cached_encoder_for_CBCParameter) {
_cached_encoder_for_CBCParameter = IV_ta_1._encode_IV;
}
return _cached_encoder_for_CBCParameter(value, elGetter);
}
exports._encode_CBCParameter = _encode_CBCParameter;
//# sourceMappingURL=CBCParameter.ta.js.map