UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

21 lines 1.39 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_MessageAuthenticationCodeAlgorithm = exports._decode_MessageAuthenticationCodeAlgorithm = void 0; const AlgorithmIdentifier_ta_1 = require("x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta"); let _cached_decoder_for_MessageAuthenticationCodeAlgorithm = null; function _decode_MessageAuthenticationCodeAlgorithm(el) { if (!_cached_decoder_for_MessageAuthenticationCodeAlgorithm) { _cached_decoder_for_MessageAuthenticationCodeAlgorithm = AlgorithmIdentifier_ta_1._decode_AlgorithmIdentifier; } return _cached_decoder_for_MessageAuthenticationCodeAlgorithm(el); } exports._decode_MessageAuthenticationCodeAlgorithm = _decode_MessageAuthenticationCodeAlgorithm; let _cached_encoder_for_MessageAuthenticationCodeAlgorithm = null; function _encode_MessageAuthenticationCodeAlgorithm(value, elGetter) { if (!_cached_encoder_for_MessageAuthenticationCodeAlgorithm) { _cached_encoder_for_MessageAuthenticationCodeAlgorithm = AlgorithmIdentifier_ta_1._encode_AlgorithmIdentifier; } return _cached_encoder_for_MessageAuthenticationCodeAlgorithm(value, elGetter); } exports._encode_MessageAuthenticationCodeAlgorithm = _encode_MessageAuthenticationCodeAlgorithm; //# sourceMappingURL=MessageAuthenticationCodeAlgorithm.ta.js.map