feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
6
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/index.js
generated
vendored
Normal file
6
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/index.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
tslib_1.__exportStar(require("./rsaes_oaep"), exports);
|
||||
tslib_1.__exportStar(require("./rsassa_pss"), exports);
|
||||
tslib_1.__exportStar(require("./rsassa_pkcs1_v1_5"), exports);
|
||||
33
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsaes_oaep.js
generated
vendored
Normal file
33
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsaes_oaep.js
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.RSAES_OAEP = exports.RsaEsOaepParams = void 0;
|
||||
const tslib_1 = require("tslib");
|
||||
const asn1_schema_1 = require("@peculiar/asn1-schema");
|
||||
const asn1_x509_1 = require("@peculiar/asn1-x509");
|
||||
const object_identifiers_1 = require("../object_identifiers");
|
||||
const algorithms_1 = require("../algorithms");
|
||||
class RsaEsOaepParams {
|
||||
constructor(params = {}) {
|
||||
this.hashAlgorithm = new asn1_x509_1.AlgorithmIdentifier(algorithms_1.sha1);
|
||||
this.maskGenAlgorithm = new asn1_x509_1.AlgorithmIdentifier({
|
||||
algorithm: object_identifiers_1.id_mgf1,
|
||||
parameters: asn1_schema_1.AsnConvert.serialize(algorithms_1.sha1),
|
||||
});
|
||||
this.pSourceAlgorithm = new asn1_x509_1.AlgorithmIdentifier(algorithms_1.pSpecifiedEmpty);
|
||||
Object.assign(this, params);
|
||||
}
|
||||
}
|
||||
exports.RsaEsOaepParams = RsaEsOaepParams;
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 0, defaultValue: algorithms_1.sha1 })
|
||||
], RsaEsOaepParams.prototype, "hashAlgorithm", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 1, defaultValue: algorithms_1.mgf1SHA1 })
|
||||
], RsaEsOaepParams.prototype, "maskGenAlgorithm", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 2, defaultValue: algorithms_1.pSpecifiedEmpty })
|
||||
], RsaEsOaepParams.prototype, "pSourceAlgorithm", void 0);
|
||||
exports.RSAES_OAEP = new asn1_x509_1.AlgorithmIdentifier({
|
||||
algorithm: object_identifiers_1.id_RSAES_OAEP,
|
||||
parameters: asn1_schema_1.AsnConvert.serialize(new RsaEsOaepParams()),
|
||||
});
|
||||
20
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pkcs1_v1_5.js
generated
vendored
Normal file
20
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pkcs1_v1_5.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DigestInfo = void 0;
|
||||
const tslib_1 = require("tslib");
|
||||
const asn1_x509_1 = require("@peculiar/asn1-x509");
|
||||
const asn1_schema_1 = require("@peculiar/asn1-schema");
|
||||
class DigestInfo {
|
||||
constructor(params = {}) {
|
||||
this.digestAlgorithm = new asn1_x509_1.AlgorithmIdentifier();
|
||||
this.digest = new asn1_schema_1.OctetString();
|
||||
Object.assign(this, params);
|
||||
}
|
||||
}
|
||||
exports.DigestInfo = DigestInfo;
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier })
|
||||
], DigestInfo.prototype, "digestAlgorithm", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.OctetString })
|
||||
], DigestInfo.prototype, "digest", void 0);
|
||||
37
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pss.js
generated
vendored
Normal file
37
api.hyungi.net/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pss.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.RSASSA_PSS = exports.RsaSaPssParams = void 0;
|
||||
const tslib_1 = require("tslib");
|
||||
const asn1_schema_1 = require("@peculiar/asn1-schema");
|
||||
const asn1_x509_1 = require("@peculiar/asn1-x509");
|
||||
const object_identifiers_1 = require("../object_identifiers");
|
||||
const algorithms_1 = require("../algorithms");
|
||||
class RsaSaPssParams {
|
||||
constructor(params = {}) {
|
||||
this.hashAlgorithm = new asn1_x509_1.AlgorithmIdentifier(algorithms_1.sha1);
|
||||
this.maskGenAlgorithm = new asn1_x509_1.AlgorithmIdentifier({
|
||||
algorithm: object_identifiers_1.id_mgf1,
|
||||
parameters: asn1_schema_1.AsnConvert.serialize(algorithms_1.sha1),
|
||||
});
|
||||
this.saltLength = 20;
|
||||
this.trailerField = 1;
|
||||
Object.assign(this, params);
|
||||
}
|
||||
}
|
||||
exports.RsaSaPssParams = RsaSaPssParams;
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 0, defaultValue: algorithms_1.sha1 })
|
||||
], RsaSaPssParams.prototype, "hashAlgorithm", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 1, defaultValue: algorithms_1.mgf1SHA1 })
|
||||
], RsaSaPssParams.prototype, "maskGenAlgorithm", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Integer, context: 2, defaultValue: 20 })
|
||||
], RsaSaPssParams.prototype, "saltLength", void 0);
|
||||
tslib_1.__decorate([
|
||||
(0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Integer, context: 3, defaultValue: 1 })
|
||||
], RsaSaPssParams.prototype, "trailerField", void 0);
|
||||
exports.RSASSA_PSS = new asn1_x509_1.AlgorithmIdentifier({
|
||||
algorithm: object_identifiers_1.id_RSASSA_PSS,
|
||||
parameters: asn1_schema_1.AsnConvert.serialize(new RsaSaPssParams()),
|
||||
});
|
||||
Reference in New Issue
Block a user