pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
22 lines • 980 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_SignatureValue = exports._decode_SignatureValue = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
let _cached_decoder_for_SignatureValue = null;
function _decode_SignatureValue(el) {
if (!_cached_decoder_for_SignatureValue) {
_cached_decoder_for_SignatureValue = $._decodeOctetString;
}
return _cached_decoder_for_SignatureValue(el);
}
exports._decode_SignatureValue = _decode_SignatureValue;
let _cached_encoder_for_SignatureValue = null;
function _encode_SignatureValue(value, elGetter) {
if (!_cached_encoder_for_SignatureValue) {
_cached_encoder_for_SignatureValue = $._encodeOctetString;
}
return _cached_encoder_for_SignatureValue(value, elGetter);
}
exports._encode_SignatureValue = _encode_SignatureValue;
//# sourceMappingURL=SignatureValue.ta.js.map