feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
71
api.hyungi.net/node_modules/@peculiar/asn1-ecc/build/es2015/rfc3279.js
generated
vendored
Normal file
71
api.hyungi.net/node_modules/@peculiar/asn1-ecc/build/es2015/rfc3279.js
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import { __decorate } from "tslib";
|
||||
import { AsnType, AsnTypeTypes, AsnProp, AsnPropTypes, OctetString, AsnIntegerArrayBufferConverter, } from "@peculiar/asn1-schema";
|
||||
let FieldID = class FieldID {
|
||||
constructor(params = {}) {
|
||||
Object.assign(this, params);
|
||||
}
|
||||
};
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
||||
], FieldID.prototype, "fieldType", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.Any })
|
||||
], FieldID.prototype, "parameters", void 0);
|
||||
FieldID = __decorate([
|
||||
AsnType({ type: AsnTypeTypes.Sequence })
|
||||
], FieldID);
|
||||
export { FieldID };
|
||||
export class ECPoint extends OctetString {
|
||||
}
|
||||
export class FieldElement extends OctetString {
|
||||
}
|
||||
let Curve = class Curve {
|
||||
constructor(params = {}) {
|
||||
Object.assign(this, params);
|
||||
}
|
||||
};
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.OctetString })
|
||||
], Curve.prototype, "a", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.OctetString })
|
||||
], Curve.prototype, "b", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.BitString, optional: true })
|
||||
], Curve.prototype, "seed", void 0);
|
||||
Curve = __decorate([
|
||||
AsnType({ type: AsnTypeTypes.Sequence })
|
||||
], Curve);
|
||||
export { Curve };
|
||||
export var ECPVer;
|
||||
(function (ECPVer) {
|
||||
ECPVer[ECPVer["ecpVer1"] = 1] = "ecpVer1";
|
||||
})(ECPVer || (ECPVer = {}));
|
||||
let SpecifiedECDomain = class SpecifiedECDomain {
|
||||
constructor(params = {}) {
|
||||
this.version = ECPVer.ecpVer1;
|
||||
Object.assign(this, params);
|
||||
}
|
||||
};
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.Integer })
|
||||
], SpecifiedECDomain.prototype, "version", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: FieldID })
|
||||
], SpecifiedECDomain.prototype, "fieldID", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: Curve })
|
||||
], SpecifiedECDomain.prototype, "curve", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: ECPoint })
|
||||
], SpecifiedECDomain.prototype, "base", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
||||
], SpecifiedECDomain.prototype, "order", void 0);
|
||||
__decorate([
|
||||
AsnProp({ type: AsnPropTypes.Integer, optional: true })
|
||||
], SpecifiedECDomain.prototype, "cofactor", void 0);
|
||||
SpecifiedECDomain = __decorate([
|
||||
AsnType({ type: AsnTypeTypes.Sequence })
|
||||
], SpecifiedECDomain);
|
||||
export { SpecifiedECDomain };
|
||||
Reference in New Issue
Block a user