UNPKG

pkcs-ts

Version:

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

22 lines 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_MessageAuthenticationCode = exports._decode_MessageAuthenticationCode = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); let _cached_decoder_for_MessageAuthenticationCode = null; function _decode_MessageAuthenticationCode(el) { if (!_cached_decoder_for_MessageAuthenticationCode) { _cached_decoder_for_MessageAuthenticationCode = $._decodeOctetString; } return _cached_decoder_for_MessageAuthenticationCode(el); } exports._decode_MessageAuthenticationCode = _decode_MessageAuthenticationCode; let _cached_encoder_for_MessageAuthenticationCode = null; function _encode_MessageAuthenticationCode(value, elGetter) { if (!_cached_encoder_for_MessageAuthenticationCode) { _cached_encoder_for_MessageAuthenticationCode = $._encodeOctetString; } return _cached_encoder_for_MessageAuthenticationCode(value, elGetter); } exports._encode_MessageAuthenticationCode = _encode_MessageAuthenticationCode; //# sourceMappingURL=MessageAuthenticationCode.ta.js.map