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