UNPKG

pkcs-ts

Version:

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

22 lines 964 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_AttributeValue = exports._decode_AttributeValue = void 0; const tslib_1 = require("tslib"); const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional")); let _cached_decoder_for_AttributeValue = null; function _decode_AttributeValue(el) { if (!_cached_decoder_for_AttributeValue) { _cached_decoder_for_AttributeValue = $._decodeAny; } return _cached_decoder_for_AttributeValue(el); } exports._decode_AttributeValue = _decode_AttributeValue; let _cached_encoder_for_AttributeValue = null; function _encode_AttributeValue(value, elGetter) { if (!_cached_encoder_for_AttributeValue) { _cached_encoder_for_AttributeValue = $._encodeAny; } return _cached_encoder_for_AttributeValue(value, elGetter); } exports._encode_AttributeValue = _encode_AttributeValue; //# sourceMappingURL=AttributeValue.ta.js.map