UNPKG

pkcs-ts

Version:

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

28 lines 2.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_AuthObjects = exports._decode_AuthObjects = exports._get_encoder_for_PathOrObjects = exports._get_decoder_for_PathOrObjects = exports._encode_AuthenticationType = exports._decode_AuthenticationType = void 0; const AuthenticationType_ta_1 = require("../PKCS-15/AuthenticationType.ta"); const PathOrObjects_ta_1 = require("../PKCS-15/PathOrObjects.ta"); var AuthenticationType_ta_2 = require("../PKCS-15/AuthenticationType.ta"); Object.defineProperty(exports, "_decode_AuthenticationType", { enumerable: true, get: function () { return AuthenticationType_ta_2._decode_AuthenticationType; } }); Object.defineProperty(exports, "_encode_AuthenticationType", { enumerable: true, get: function () { return AuthenticationType_ta_2._encode_AuthenticationType; } }); var PathOrObjects_ta_2 = require("../PKCS-15/PathOrObjects.ta"); Object.defineProperty(exports, "_get_decoder_for_PathOrObjects", { enumerable: true, get: function () { return PathOrObjects_ta_2._get_decoder_for_PathOrObjects; } }); Object.defineProperty(exports, "_get_encoder_for_PathOrObjects", { enumerable: true, get: function () { return PathOrObjects_ta_2._get_encoder_for_PathOrObjects; } }); let _cached_decoder_for_AuthObjects = null; function _decode_AuthObjects(el) { if (!_cached_decoder_for_AuthObjects) { _cached_decoder_for_AuthObjects = PathOrObjects_ta_1._get_decoder_for_PathOrObjects(AuthenticationType_ta_1._decode_AuthenticationType); } return _cached_decoder_for_AuthObjects(el); } exports._decode_AuthObjects = _decode_AuthObjects; let _cached_encoder_for_AuthObjects = null; function _encode_AuthObjects(value, elGetter) { if (!_cached_encoder_for_AuthObjects) { _cached_encoder_for_AuthObjects = PathOrObjects_ta_1._get_encoder_for_PathOrObjects(AuthenticationType_ta_1._encode_AuthenticationType); } return _cached_encoder_for_AuthObjects(value, elGetter); } exports._encode_AuthObjects = _encode_AuthObjects; //# sourceMappingURL=AuthObjects.ta.js.map