Package org.keycloak.sdjwt.consumer
Class SdJwtPresentationConsumer
java.lang.Object
org.keycloak.sdjwt.consumer.SdJwtPresentationConsumer
A component for consuming (verifying) SD-JWT presentations.
 
 The purpose is to streamline SD-JWT VP verification beyond signature
 and disclosure checks of SdJwtVerificationContext
 
- Author:
 - Ingrid Kamga
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidverifySdJwtPresentation(SdJwtVP sdJwtVP, PresentationRequirements presentationRequirements, List<TrustedSdJwtIssuer> trustedSdJwtIssuers, IssuerSignedJwtVerificationOpts issuerSignedJwtVerificationOpts, KeyBindingJwtVerificationOpts keyBindingJwtVerificationOpts) Verify SD-JWT presentation against specific requirements. 
- 
Constructor Details
- 
SdJwtPresentationConsumer
public SdJwtPresentationConsumer() 
 - 
 - 
Method Details
- 
verifySdJwtPresentation
public void verifySdJwtPresentation(SdJwtVP sdJwtVP, PresentationRequirements presentationRequirements, List<TrustedSdJwtIssuer> trustedSdJwtIssuers, IssuerSignedJwtVerificationOpts issuerSignedJwtVerificationOpts, KeyBindingJwtVerificationOpts keyBindingJwtVerificationOpts) throws VerificationException Verify SD-JWT presentation against specific requirements.- Parameters:
 sdJwtVP- the presentation to verifypresentationRequirements- the requirements on presented claimstrustedSdJwtIssuers- trusted issuers for the verificationissuerSignedJwtVerificationOpts- policy for Issuer-signed JWT verificationkeyBindingJwtVerificationOpts- policy for Key-binding JWT verification- Throws:
 VerificationException- if the verification fails for some reason
 
 -