diff --git a/spec/schemas/jwk.yml b/spec/schemas/jwk.yml index d343fa448ab250bb7de9a541f2eddbfdba855963..043c0c6867e3dc3c68cc2a4730c97e30346ebbb1 100644 --- a/spec/schemas/jwk.yml +++ b/spec/schemas/jwk.yml @@ -4,52 +4,45 @@ description: JSON Web Key - RFC 7517 additionalProperties: false required: - kty + - key_ops + - alg + - x5c - kid + - n + - e properties: kty: type: string description: Key Type enum: - - EC - RSA - - oct - - OKP - use: - type: string - description: Public Key Use - enum: - - sig - - enc key_ops: type: array description: Key Operations items: type: string enum: - - sign - verify - - encrypt - - decrypt - wrapKey - - unwrapKey - - deriveKey - - deriveBits alg: type: string description: Algorithm - kid: - description: Key ID - type: string - x5u: - type: string - description: X.509 URL - format: uri + enum: + - PS512 + - RSA-OAEP-256 x5c: - description: X.509 Certificate Chain type: array + description: X.509 Certificate Chain items: type: string - x5t: + kid: type: string - x5t#S256: - type: string \ No newline at end of file + description: Key ID + n: + type: string + description: Modulus + e: + type: string + description: Exponent + enum: + - AQAB