Class VerifiedClaimsSet

java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.claims.VerifiedClaimsSet
All Implemented Interfaces:
net.minidev.json.JSONAware

public class VerifiedClaimsSet extends Object implements net.minidev.json.JSONAware
Verified claims set.

Related specifications:

  • OpenID Connect for Identity Assurance 1.0
  • Field Details

  • Constructor Details

    • VerifiedClaimsSet

      public VerifiedClaimsSet(IdentityVerification verification, ClaimsSet claims)
      Creates a new verified claims set.
      Parameters:
      verification - The identity verification. Must not be null.
      claims - The verified claims. Must not be null.
  • Method Details

    • getVerification

      Returns the identity verification.
      Returns:
      The identity verification.
    • getClaimsSet

      Returns the verified claims.
      Returns:
      The verified claims wrapped in a person claims object for convenience.
    • toJSONObject

      public net.minidev.json.JSONObject toJSONObject()
      Returns a JSON object representation of this verified claims set.
      Returns:
      The JSON object.
    • toJSONString

      public String toJSONString()
      Specified by:
      toJSONString in interface net.minidev.json.JSONAware
    • parse

      public static VerifiedClaimsSet parse(net.minidev.json.JSONObject jsonObject) throws ParseException
      Parses a verified claims set from the specified JSON object.
      Parameters:
      jsonObject - The JSON object to parse.
      Returns:
      The verifier claims set.
      Throws:
      ParseException - If parsing failed.