diff options
Diffstat (limited to 'src/ts/schemas')
-rw-r--r-- | src/ts/schemas/ec_signature_schema.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ts/schemas/ec_signature_schema.ts b/src/ts/schemas/ec_signature_schema.ts deleted file mode 100644 index 94e58e53c..000000000 --- a/src/ts/schemas/ec_signature_schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -export const ECSignatureParameter = { - id: '/ECSignatureParameter', - type: 'string', - pattern: '^0[xX][0-9A-Fa-f]{64}$', -}; - -export const ECSignatureSchema = { - id: '/ECSignature', - properties: { - v: { - type: 'number', - minimum: 27, - maximum: 28, - }, - r: {$ref: '/ECSignatureParameter'}, - s: {$ref: '/ECSignatureParameter'}, - }, - required: ['v', 'r', 's'], - type: 'object', -}; |