pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
27 lines • 3.23 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._get_encoder_for_PublicKeyObject = exports._get_decoder_for_PublicKeyObject = exports._get_encoder_for_PKCS15Object = exports._get_decoder_for_PKCS15Object = exports.PKCS15Object = exports._encode_CommonPublicKeyAttributes = exports._decode_CommonPublicKeyAttributes = exports.CommonPublicKeyAttributes = exports._encode_CommonKeyAttributes = exports._decode_CommonKeyAttributes = exports.CommonKeyAttributes = void 0;
const CommonKeyAttributes_ta_1 = require("../PKCS-15/CommonKeyAttributes.ta");
const CommonPublicKeyAttributes_ta_1 = require("../PKCS-15/CommonPublicKeyAttributes.ta");
const PKCS15Object_ta_1 = require("../PKCS-15/PKCS15Object.ta");
var CommonKeyAttributes_ta_2 = require("../PKCS-15/CommonKeyAttributes.ta");
Object.defineProperty(exports, "CommonKeyAttributes", { enumerable: true, get: function () { return CommonKeyAttributes_ta_2.CommonKeyAttributes; } });
Object.defineProperty(exports, "_decode_CommonKeyAttributes", { enumerable: true, get: function () { return CommonKeyAttributes_ta_2._decode_CommonKeyAttributes; } });
Object.defineProperty(exports, "_encode_CommonKeyAttributes", { enumerable: true, get: function () { return CommonKeyAttributes_ta_2._encode_CommonKeyAttributes; } });
var CommonPublicKeyAttributes_ta_2 = require("../PKCS-15/CommonPublicKeyAttributes.ta");
Object.defineProperty(exports, "CommonPublicKeyAttributes", { enumerable: true, get: function () { return CommonPublicKeyAttributes_ta_2.CommonPublicKeyAttributes; } });
Object.defineProperty(exports, "_decode_CommonPublicKeyAttributes", { enumerable: true, get: function () { return CommonPublicKeyAttributes_ta_2._decode_CommonPublicKeyAttributes; } });
Object.defineProperty(exports, "_encode_CommonPublicKeyAttributes", { enumerable: true, get: function () { return CommonPublicKeyAttributes_ta_2._encode_CommonPublicKeyAttributes; } });
var PKCS15Object_ta_2 = require("../PKCS-15/PKCS15Object.ta");
Object.defineProperty(exports, "PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2.PKCS15Object; } });
Object.defineProperty(exports, "_get_decoder_for_PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2._get_decoder_for_PKCS15Object; } });
Object.defineProperty(exports, "_get_encoder_for_PKCS15Object", { enumerable: true, get: function () { return PKCS15Object_ta_2._get_encoder_for_PKCS15Object; } });
function _get_decoder_for_PublicKeyObject(_decode_KeyAttributes) {
return PKCS15Object_ta_1._get_decoder_for_PKCS15Object(CommonKeyAttributes_ta_1._decode_CommonKeyAttributes, CommonPublicKeyAttributes_ta_1._decode_CommonPublicKeyAttributes, _decode_KeyAttributes);
}
exports._get_decoder_for_PublicKeyObject = _get_decoder_for_PublicKeyObject;
function _get_encoder_for_PublicKeyObject(_encode_KeyAttributes) {
return PKCS15Object_ta_1._get_encoder_for_PKCS15Object(CommonKeyAttributes_ta_1._encode_CommonKeyAttributes, CommonPublicKeyAttributes_ta_1._encode_CommonPublicKeyAttributes, _encode_KeyAttributes);
}
exports._get_encoder_for_PublicKeyObject = _get_encoder_for_PublicKeyObject;
//# sourceMappingURL=PublicKeyObject.ta.js.map