pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
23 lines • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_CertificateRevocationLists = exports._decode_CertificateRevocationLists = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
const CertificateList_ta_1 = require("x500-ts/dist/node/modules/AuthenticationFramework/CertificateList.ta");
let _cached_decoder_for_CertificateRevocationLists = null;
function _decode_CertificateRevocationLists(el) {
if (!_cached_decoder_for_CertificateRevocationLists) {
_cached_decoder_for_CertificateRevocationLists = $._decodeSetOf(() => CertificateList_ta_1._decode_CertificateList);
}
return _cached_decoder_for_CertificateRevocationLists(el);
}
exports._decode_CertificateRevocationLists = _decode_CertificateRevocationLists;
let _cached_encoder_for_CertificateRevocationLists = null;
function _encode_CertificateRevocationLists(value, elGetter) {
if (!_cached_encoder_for_CertificateRevocationLists) {
_cached_encoder_for_CertificateRevocationLists = $._encodeSetOf(() => CertificateList_ta_1._encode_CertificateList, $.BER);
}
return _cached_encoder_for_CertificateRevocationLists(value, elGetter);
}
exports._encode_CertificateRevocationLists = _encode_CertificateRevocationLists;
//# sourceMappingURL=CertificateRevocationLists.ta.js.map