Package org.keycloak.broker.oid4vp
Class ResponseEncryption
java.lang.Object
org.keycloak.broker.oid4vp.ResponseEncryption
Response encryption for the OID4VP
direct_post.jwt response mode, following HAIP. The
verifier hands the wallet a fresh EphemeralKey with every authorization request
(ephemeral JWEConstants.ECDH_ES over secp256r1) and decrypts the wallet's JWE with it.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdecrypt(ParsedResponse parsed, PrivateKey privateKey) static ParsedResponse
-
Field Details
-
KEY_MANAGEMENT_ALG
- See Also:
-
CONTENT_ENCRYPTION_ALGS
-
-
Method Details
-
parse
- Throws:
JWEException
-
decrypt
- Throws:
JWEException
-