pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
28 lines • 2.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_Certificates = exports._decode_Certificates = exports._get_encoder_for_PathOrObjects = exports._get_decoder_for_PathOrObjects = exports._encode_CertificateType = exports._decode_CertificateType = void 0;
const CertificateType_ta_1 = require("../PKCS-15/CertificateType.ta");
const PathOrObjects_ta_1 = require("../PKCS-15/PathOrObjects.ta");
var CertificateType_ta_2 = require("../PKCS-15/CertificateType.ta");
Object.defineProperty(exports, "_decode_CertificateType", { enumerable: true, get: function () { return CertificateType_ta_2._decode_CertificateType; } });
Object.defineProperty(exports, "_encode_CertificateType", { enumerable: true, get: function () { return CertificateType_ta_2._encode_CertificateType; } });
var PathOrObjects_ta_2 = require("../PKCS-15/PathOrObjects.ta");
Object.defineProperty(exports, "_get_decoder_for_PathOrObjects", { enumerable: true, get: function () { return PathOrObjects_ta_2._get_decoder_for_PathOrObjects; } });
Object.defineProperty(exports, "_get_encoder_for_PathOrObjects", { enumerable: true, get: function () { return PathOrObjects_ta_2._get_encoder_for_PathOrObjects; } });
let _cached_decoder_for_Certificates = null;
function _decode_Certificates(el) {
if (!_cached_decoder_for_Certificates) {
_cached_decoder_for_Certificates = PathOrObjects_ta_1._get_decoder_for_PathOrObjects(CertificateType_ta_1._decode_CertificateType);
}
return _cached_decoder_for_Certificates(el);
}
exports._decode_Certificates = _decode_Certificates;
let _cached_encoder_for_Certificates = null;
function _encode_Certificates(value, elGetter) {
if (!_cached_encoder_for_Certificates) {
_cached_encoder_for_Certificates = PathOrObjects_ta_1._get_encoder_for_PathOrObjects(CertificateType_ta_1._encode_CertificateType);
}
return _cached_encoder_for_Certificates(value, elGetter);
}
exports._encode_Certificates = _encode_Certificates;
//# sourceMappingURL=Certificates.ta.js.map