Class SdJwtVP

    • Method Detail

      • getClaims

        public Map<String,​com.fasterxml.jackson.databind.node.ArrayNode> getClaims()
      • getHashAlgorithm

        public String getHashAlgorithm()
      • getCnfClaim

        public com.fasterxml.jackson.databind.JsonNode getCnfClaim()
      • present

        public String present​(List<String> disclosureDigests,
                              com.fasterxml.jackson.databind.JsonNode keyBindingClaims,
                              com.nimbusds.jose.JWSSigner holdSignatureSignerContext,
                              String keyId,
                              com.nimbusds.jose.JWSAlgorithm jwsAlgorithm,
                              String jwsType)
      • verify

        public void verify​(IssuerSignedJwtVerificationOpts issuerSignedJwtVerificationOpts,
                           KeyBindingJwtVerificationOpts keyBindingJwtVerificationOpts)
                    throws SdJwtVerificationException
        Verifies SD-JWT presentation.
        Parameters:
        issuerSignedJwtVerificationOpts - Options to parametize the verification. A verifier must be specified for validating the Issuer-signed JWT. The caller is responsible for establishing trust in that associated public keys belong to the intended issuer.
        keyBindingJwtVerificationOpts - Options to parametize the Key Binding JWT verification. Must, among others, specify the Verify's policy whether to check Key Binding.
        Throws:
        SdJwtVerificationException - if verification failed
      • verbose

        public String verbose()