Package org.keycloak.sdjwt
Class SdJwt
java.lang.Object
org.keycloak.sdjwt.SdJwt
Main entry class for selective disclosure jwt (SD-JWT).
- Author:
 - Francis Pouatcha
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodePrepare to a nested payload to this SD-JWT.static SdJwt.Builderbuilder()toString()voidverify(List<SignatureVerifierContext> issuerVerifyingKeys, IssuerSignedJwtVerificationOpts verificationOpts) Verifies SD-JWT as to whether the Issuer-signed JWT's signature and disclosures are valid. 
- 
Field Details
- 
DELIMITER
- See Also:
 
 
 - 
 - 
Method Details
- 
asNestedPayload
public com.fasterxml.jackson.databind.JsonNode asNestedPayload()Prepare to a nested payload to this SD-JWT.dropping the algo claim.
- Parameters:
 nestedSdJwt-- Returns:
 
 - 
toSdJwtString
 - 
toString
 - 
getIssuerSignedJWT
 - 
getDisclosures
 - 
verify
public void verify(List<SignatureVerifierContext> issuerVerifyingKeys, IssuerSignedJwtVerificationOpts verificationOpts) throws VerificationException Verifies SD-JWT as to whether the Issuer-signed JWT's signature and disclosures are valid.- Parameters:
 issuerVerifyingKeys- Verifying keys for validating the Issuer-signed JWT. The caller is responsible for establishing trust in that the keys belong to the intended issuer.verificationOpts- Options to parameterize the Issuer-Signed JWT verification.- Throws:
 VerificationException- if verification failed
 - 
builder
 
 -