pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
27 lines • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_OtherPrimeInfos = exports._decode_OtherPrimeInfos = exports._encode_OtherPrimeInfo = exports._decode_OtherPrimeInfo = exports.OtherPrimeInfo = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
const OtherPrimeInfo_ta_1 = require("../PKCS-1/OtherPrimeInfo.ta");
var OtherPrimeInfo_ta_2 = require("../PKCS-1/OtherPrimeInfo.ta");
Object.defineProperty(exports, "OtherPrimeInfo", { enumerable: true, get: function () { return OtherPrimeInfo_ta_2.OtherPrimeInfo; } });
Object.defineProperty(exports, "_decode_OtherPrimeInfo", { enumerable: true, get: function () { return OtherPrimeInfo_ta_2._decode_OtherPrimeInfo; } });
Object.defineProperty(exports, "_encode_OtherPrimeInfo", { enumerable: true, get: function () { return OtherPrimeInfo_ta_2._encode_OtherPrimeInfo; } });
let _cached_decoder_for_OtherPrimeInfos = null;
function _decode_OtherPrimeInfos(el) {
if (!_cached_decoder_for_OtherPrimeInfos) {
_cached_decoder_for_OtherPrimeInfos = $._decodeSequenceOf(() => OtherPrimeInfo_ta_1._decode_OtherPrimeInfo);
}
return _cached_decoder_for_OtherPrimeInfos(el);
}
exports._decode_OtherPrimeInfos = _decode_OtherPrimeInfos;
let _cached_encoder_for_OtherPrimeInfos = null;
function _encode_OtherPrimeInfos(value, elGetter) {
if (!_cached_encoder_for_OtherPrimeInfos) {
_cached_encoder_for_OtherPrimeInfos = $._encodeSequenceOf(() => OtherPrimeInfo_ta_1._encode_OtherPrimeInfo, $.BER);
}
return _cached_encoder_for_OtherPrimeInfos(value, elGetter);
}
exports._encode_OtherPrimeInfos = _encode_OtherPrimeInfos;
//# sourceMappingURL=OtherPrimeInfos.ta.js.map