pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
21 lines • 870 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_KeyBag = exports._decode_KeyBag = void 0;
const PrivateKeyInfo_ta_1 = require("../AsymmetricKeyPackageModuleV1/PrivateKeyInfo.ta");
let _cached_decoder_for_KeyBag = null;
function _decode_KeyBag(el) {
if (!_cached_decoder_for_KeyBag) {
_cached_decoder_for_KeyBag = PrivateKeyInfo_ta_1._decode_PrivateKeyInfo;
}
return _cached_decoder_for_KeyBag(el);
}
exports._decode_KeyBag = _decode_KeyBag;
let _cached_encoder_for_KeyBag = null;
function _encode_KeyBag(value, elGetter) {
if (!_cached_encoder_for_KeyBag) {
_cached_encoder_for_KeyBag = PrivateKeyInfo_ta_1._encode_PrivateKeyInfo;
}
return _cached_encoder_for_KeyBag(value, elGetter);
}
exports._encode_KeyBag = _encode_KeyBag;
//# sourceMappingURL=KeyBag.ta.js.map