UNPKG

pkcs-ts

Version:

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

22 lines 776 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_IV = exports._decode_IV = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); let _cached_decoder_for_IV = null; function _decode_IV(el) { if (!_cached_decoder_for_IV) { _cached_decoder_for_IV = $._decodeOctetString; } return _cached_decoder_for_IV(el); } exports._decode_IV = _decode_IV; let _cached_encoder_for_IV = null; function _encode_IV(value, elGetter) { if (!_cached_encoder_for_IV) { _cached_encoder_for_IV = $._encodeOctetString; } return _cached_encoder_for_IV(value, elGetter); } exports._encode_IV = _encode_IV; //# sourceMappingURL=IV.ta.js.map