Skip to content
Snippets Groups Projects
Commit defefb4f authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

Merge branch 'fix/jwks' into 'master'

fix: jwks ist noch einmal als Objekt verschachtelt

See merge request fit-connect/FIT-Connect-PoC!22
parents a8c1f1f4 374fd9af
No related branches found
No related tags found
1 merge request!22fix: jwks ist noch einmal als Objekt verschachtelt
......@@ -10,5 +10,6 @@ value:
callback: 'http://127.0.0.1:4010/voluptas'
encryptionKid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
......@@ -6,8 +6,9 @@ value:
schemaSource: none
encryptionKid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
- destinationId: 2f59b8c6-3206-4734-aa21-a7b2a4d92f7a
schemas:
- mimeType: application/xml
......@@ -17,7 +18,8 @@ value:
- mimeType: application/xml
schemaSource: fim
schemaId: S99000001V1.0
encryptionKid: my-key-id-0xfff
encryptionKid: my-key-id-0xeee
keys:
- kty: RSA
kid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xeee
......@@ -5,5 +5,6 @@ value:
schemaSource: none
encryptionKid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
......@@ -10,5 +10,6 @@ value:
callback: 'http://127.0.0.1:4010/voluptas'
encryptionKid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
keys:
- kty: RSA
kid: my-key-id-0xfff
......@@ -2,6 +2,12 @@ title: Objekt zum Erzeugen eines Zustellpunkts
description: 'Notwendige Struktur, um einen Zustellpunkt zu hinterlegen.'
type: object
additionalProperties: false
required:
- contact
- schemas
- callback
- encryptionKid
- keys
properties:
contact:
$ref: './contact.yml'
......@@ -21,17 +27,6 @@ properties:
type: string
maxLength: 64
description: 'Öffentlicher Teil des Verschlüsselungsschlüssels der Destination. Ist im Attribut `keys` abrufbar.'
# signingKid ist nicht nötig, da diese in einer signierten Nachricht enthalten ist.
# signingKid ist nicht nötig, da diese in einer signierten Nachricht enthalten ist.
keys:
type: array
description: 'Öffentliche Schlüssel der Destination'
items:
uniqueItems: true
minItems: 1
$ref: './jwk.yml'
required:
- contact
- schemas
- callback
- encryptionKid
- keys
$ref: './jwks.yml'
title: Zustellpunkt
description: Repräsentation eines Zustellpunktes mit den öffentlich einsehbaren Attributen
type: object
required:
- destinationId
- schemas
- encryptionKid
- keys
properties:
destinationId:
type: string
......@@ -21,14 +26,4 @@ properties:
description: 'Öffentlicher Teil des Verschlüsselungsschlüssels der Destination. Ist im Attribut `keys` abrufbar.'
# signingKid ist nicht nötig, da diese in einer signierten Nachricht enthalten ist.
keys:
type: array
description: 'Öffentliche Schlüssel der Destination'
items:
uniqueItems: true
minItems: 1
$ref: './jwk.yml'
required:
- destinationId
- schemas
- encryptionKid
- keys
$ref: './jwks.yml'
title: JSON Web Key Set (JWKS)
description: 'JWKS nach https://datatracker.ietf.org/doc/html/rfc7517#section-5'
type: object
required:
- keys
properties:
keys:
type: array
uniqueItems: true
minItems: 1
items:
$ref: './jwk.yml'
......@@ -29,9 +29,4 @@ properties:
description: 'Öffentlicher Teil des Verschlüsselungsschlüssels der Destination. Ist im Attribut `keys` abrufbar.'
# signingKid ist nicht nötig, da diese in einer signierten Nachricht enthalten ist.
keys:
type: array
description: 'Öffentliche Schlüssel der Destination'
items:
uniqueItems: true
minItems: 1
$ref: './jwk.yml'
$ref: './jwks.yml'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment