pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
21 lines • 1.56 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_MessageAuthenticationCodeAlgorithmIdentifier = exports._decode_MessageAuthenticationCodeAlgorithmIdentifier = void 0;
const AlgorithmIdentifier_ta_1 = require("x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta");
let _cached_decoder_for_MessageAuthenticationCodeAlgorithmIdentifier = null;
function _decode_MessageAuthenticationCodeAlgorithmIdentifier(el) {
if (!_cached_decoder_for_MessageAuthenticationCodeAlgorithmIdentifier) {
_cached_decoder_for_MessageAuthenticationCodeAlgorithmIdentifier = AlgorithmIdentifier_ta_1._decode_AlgorithmIdentifier;
}
return _cached_decoder_for_MessageAuthenticationCodeAlgorithmIdentifier(el);
}
exports._decode_MessageAuthenticationCodeAlgorithmIdentifier = _decode_MessageAuthenticationCodeAlgorithmIdentifier;
let _cached_encoder_for_MessageAuthenticationCodeAlgorithmIdentifier = null;
function _encode_MessageAuthenticationCodeAlgorithmIdentifier(value, elGetter) {
if (!_cached_encoder_for_MessageAuthenticationCodeAlgorithmIdentifier) {
_cached_encoder_for_MessageAuthenticationCodeAlgorithmIdentifier = AlgorithmIdentifier_ta_1._encode_AlgorithmIdentifier;
}
return _cached_encoder_for_MessageAuthenticationCodeAlgorithmIdentifier(value, elGetter);
}
exports._encode_MessageAuthenticationCodeAlgorithmIdentifier = _encode_MessageAuthenticationCodeAlgorithmIdentifier;
//# sourceMappingURL=MessageAuthenticationCodeAlgorithmIdentifier.ta.js.map