Package org.keycloak.sdjwt.vp
Class SdJwtVP
java.lang.Object
org.keycloak.sdjwt.vp.SdJwtVP
- Author:
- Francis Pouatcha
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
Retrieve verification context for advanced scenarios.static SdJwtVP
present
(List<String> disclosureDigests, com.fasterxml.jackson.databind.JsonNode keyBindingClaims, SignatureSignerContext holdSignatureSignerContext, String jwsType) toString()
verbose()
void
verify
(List<SignatureVerifierContext> issuerVerifyingKeys, IssuerSignedJwtVerificationOpts issuerSignedJwtVerificationOpts, KeyBindingJwtVerificationOpts keyBindingJwtVerificationOpts) Verifies SD-JWT presentation.
-
Method Details
-
getClaims
-
getIssuerSignedJWT
-
getDisclosures
-
getDisclosuresString
-
getRecursiveDigests
-
getGhostDigests
-
getHashAlgorithm
-
getKeyBindingJWT
-
of
-
getCnfClaim
public com.fasterxml.jackson.databind.JsonNode getCnfClaim() -
present
public String present(List<String> disclosureDigests, com.fasterxml.jackson.databind.JsonNode keyBindingClaims, SignatureSignerContext holdSignatureSignerContext, String jwsType) -
verify
public void verify(List<SignatureVerifierContext> issuerVerifyingKeys, IssuerSignedJwtVerificationOpts issuerSignedJwtVerificationOpts, KeyBindingJwtVerificationOpts keyBindingJwtVerificationOpts) throws VerificationException Verifies SD-JWT presentation.- 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.issuerSignedJwtVerificationOpts
- Options to parameterize the Issuer-Signed JWT verification.keyBindingJwtVerificationOpts
- Options to parameterize the Key Binding JWT verification. Must, among others, specify the Verifier's policy whether to check Key Binding.- Throws:
VerificationException
- if verification failed
-
getSdJwtVerificationContext
Retrieve verification context for advanced scenarios. -
toString
-
verbose
-