java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.DocumentIssuer

public class DocumentIssuer extends Object
Document issuer.

Related specifications:

  • OpenID Connect for Identity Assurance 1.0, section 5.1.1.1.
  • Constructor Details

    • DocumentIssuer

      public DocumentIssuer(Name name, Address address, CountryCode countryCode, Jurisdiction jurisdiction)
      Creates a new document issuer.
      Parameters:
      name - The issuer name, null if not specified.
      address - The issuer address elements, null if not specified.
      countryCode - The issuer country code, null if not specified.
      jurisdiction - The issuer jurisdiction, null if not specified.
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • parse

      public static DocumentIssuer parse(net.minidev.json.JSONObject jsonObject) throws ParseException
      Parses a document issuer from the specified JSON object.
      Parameters:
      jsonObject - The JSON object. Must not be null.
      Returns:
      The document issuer.
      Throws:
      ParseException - If parsing failed.
    • getName

      public Name getName()
      Returns the name.
      Returns:
      The name, null if not specified.
    • getAddress

      public Address getAddress()
      Returns the address elements.
      Returns:
      The address elements, null if not specified.
    • getCountryCode

      public CountryCode getCountryCode()
      Returns the country code.
      Returns:
      The country code, null if not specified.
    • getJurisdiction

      public Jurisdiction getJurisdiction()
      Returns the jurisdiction.
      Returns:
      The jurisdiction, null if not specified.
    • toJSONObject

      public net.minidev.json.JSONObject toJSONObject()
      Returns a JSON object representation.
      Returns:
      The JSON object.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object