Skip to content
Snippets Groups Projects
Commit 53463054 authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Merge branch 'mr-jwk-examples' into 'main'

Seperate `wrapKey` and `verify` example JWKs

See merge request fit-connect/api!101
parents befbc789 11cb67c9
No related branches found
No related tags found
1 merge request!101Seperate `wrapKey` and `verify` example JWKs
......@@ -16,8 +16,10 @@ post:
schema:
$ref: '../../../schemas/jwk.yaml'
examples:
Beispiel:
$ref: '../../../examples/jwk.yaml'
Beispiel Signatur-Public-Key:
$ref: '../../../examples/jwk-verify.yaml'
Beispiel Verschlüsselungs-Public-Key:
$ref: '../../../examples/jwk-wrapKey.yaml'
responses:
'204':
description: Schlüssel hinzugefügt
......
......@@ -20,8 +20,10 @@ get:
schema:
$ref: '../../../schemas/jwk.yaml'
examples:
Beispiel:
$ref: '../../../examples/jwk.yaml'
Beispiel Signatur-Public-Key:
$ref: '../../../examples/jwk-verify.yaml'
Beispiel Verschlüsselungs-Public-Key:
$ref: '../../../examples/jwk-wrapKey.yaml'
'404':
description: Not Found
content:
......
......@@ -18,7 +18,7 @@ value:
secret: insecure_unsafe_qHScgrg_kP-R31jHUwp3GkVkGJolvBchz65b74Lzue0
encryptionKid: c66e4423-e28d-4a1f-911d-818f9ab60221
encryptionPublicKey:
$ref: './jwk-wrapKey.yaml'
$ref: './jwk-wrapKey.yaml#/value'
signingPublicKey:
kty: RSA
key_ops:
......
value:
kty: RSA
key_ops:
- wrapKey
alg: RSA-OAEP-256
- verify
alg: PS512
x5c:
- "...(base64 encoded cert)..."
- "...(base64 encoded intermediate cert)..."
......
kty: RSA
key_ops:
- wrapKey
alg: RSA-OAEP-256
x5c:
- "...(base64 encoded cert)..."
- "...(base64 encoded intermediate cert)..."
- "...(base64 encoded root cert)..."
kid: c66e4423-e28d-4a1f-911d-818f9ab60221
n: hGALqq-nbAymF5MyZIXV9RY-pW4r39BrBnxryp6ukjdrGacVhwKtm-zqN9urUETAhjfQo7CsxuJ7de291In9uPIhXYSvZcTQXH930Gpkv1BeAsU9x5uP6EnfrgRZfODwpmw1HJmAOK6aJ_ARJV7iJ1a_AGSK5ZO1bsmUWhJk-V-tFbs3xTbsmOZxVfxJWC-0pDxmEljmoi4q8f-LtNzVPEIC3-T5LaGEYy0stCU-YkJ-uDKGUJh01fQWRYaG7gCRnoIT9BJNQWUE0kfRjrZ9nOqNHibs9CreliIhD6k0310DDT0JV6-Y55AgOCqWoYCw7Xn3_AACx1aJccaRojC7FqwI6FWx2d3HkAz6o4l1llfTkgELhYjpUdW-m7dfQTbZzVlZRrVWE8lzbza2GXv6IFi3RzEWNso6KJMo-kRJxG-ZCruVhTt6FIyiZk6HpWGH6AGR62Fku8O_GR6YaNchKSB4nkj76iSPGTasLeJi2Sjw7kVZxhiL6MN4bBTT9jAB_sYcSrd9H12-KGV9IwnW8JnO3derCI6gfdGTKOzHTS3z231fDcCsXtDD4tJHHIXsW7_ytDprkwBwl9OLBW1xAniOgAH8sqgX3SGOYFcbd6Zxx0zgSlRNMdj4qkswS7KhC9-vyCA2qBnRdowPd9_1H9CpuHAyo3-iMf3UaBsPj0s
e: AQAB
value:
kty: RSA
key_ops:
- wrapKey
alg: RSA-OAEP-256
x5c:
- "...(base64 encoded cert)..."
- "...(base64 encoded intermediate cert)..."
- "...(base64 encoded root cert)..."
kid: c66e4423-e28d-4a1f-911d-818f9ab60221
n: hGALqq-nbAymF5MyZIXV9RY-pW4r39BrBnxryp6ukjdrGacVhwKtm-zqN9urUETAhjfQo7CsxuJ7de291In9uPIhXYSvZcTQXH930Gpkv1BeAsU9x5uP6EnfrgRZfODwpmw1HJmAOK6aJ_ARJV7iJ1a_AGSK5ZO1bsmUWhJk-V-tFbs3xTbsmOZxVfxJWC-0pDxmEljmoi4q8f-LtNzVPEIC3-T5LaGEYy0stCU-YkJ-uDKGUJh01fQWRYaG7gCRnoIT9BJNQWUE0kfRjrZ9nOqNHibs9CreliIhD6k0310DDT0JV6-Y55AgOCqWoYCw7Xn3_AACx1aJccaRojC7FqwI6FWx2d3HkAz6o4l1llfTkgELhYjpUdW-m7dfQTbZzVlZRrVWE8lzbza2GXv6IFi3RzEWNso6KJMo-kRJxG-ZCruVhTt6FIyiZk6HpWGH6AGR62Fku8O_GR6YaNchKSB4nkj76iSPGTasLeJi2Sjw7kVZxhiL6MN4bBTT9jAB_sYcSrd9H12-KGV9IwnW8JnO3derCI6gfdGTKOzHTS3z231fDcCsXtDD4tJHHIXsW7_ytDprkwBwl9OLBW1xAniOgAH8sqgX3SGOYFcbd6Zxx0zgSlRNMdj4qkswS7KhC9-vyCA2qBnRdowPd9_1H9CpuHAyo3-iMf3UaBsPj0s
e: AQAB
......@@ -161,10 +161,10 @@ components:
$ref: './examples/encrypted-message.yaml'
Info:
$ref: './examples/info.yaml'
JWK:
$ref: './examples/jwk.yaml'
JWKSVerify:
$ref: './examples/jwks-verify.yaml'
JWKVerify:
$ref: './examples/jwk-verify.yaml'
JWKWrapKey:
$ref: './examples/jwk-wrapKey.yaml'
callbacks:
NewEvents:
......
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