Class IDDocumentDescription

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

@Deprecated public class IDDocumentDescription extends Object implements net.minidev.json.JSONAware
Deprecated.
Identity document description.

Related specifications:

  • OpenID Connect for Identity Assurance 1.0
  • Constructor Details

    • IDDocumentDescription

      public IDDocumentDescription(IDDocumentType type, String number, String issuerName, CountryCode issuerCountry, SimpleDate dateOfIssuance, SimpleDate dateOfExpiry)
      Deprecated.
      Creates a new identity document description.
      Parameters:
      type - The type. Must not be null.
      number - The number, null if not specified.
      issuerName - The issuer name, null if not specified.
      issuerCountry - The issuer country, null if not specified.
      dateOfIssuance - The date of issuance, null if not specified.
      dateOfExpiry - The date of expiry, null if not specified.
  • Method Details

    • getType

      Deprecated.
      Returns the identity document type.
      Returns:
      The identity document type.
    • getNumber

      public String getNumber()
      Deprecated.
      Returns the identity document number.
      Returns:
      The identity document number, null if not specified.
    • getIssuerName

      Deprecated.
      Returns the issuer name.
      Returns:
      The issuer name, null if not specified.
    • getIssuerCountry

      Deprecated.
      Returns the issuer country.
      Returns:
      The issuer country code, null if not specified.
    • getDateOfIssuance

      Deprecated.
      Returns the date of issuance.
      Returns:
      The date of issuance, null if not specified.
    • getDateOfExpiry

      Deprecated.
      Returns the date of expiry.
      Returns:
      The date of expiry, null if not specified.
    • toJSONObject

      public net.minidev.json.JSONObject toJSONObject()
      Deprecated.
      Returns a JSON object representation of this identity document description.
      Returns:
      The JSON object.
    • toJSONString

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • parse

      public static IDDocumentDescription parse(net.minidev.json.JSONObject jsonObject) throws ParseException
      Deprecated.
      Parses an identity document description from the specified JSON object.
      Parameters:
      jsonObject - The JSON object. Must not be null.
      Returns:
      The identity document description.
      Throws:
      ParseException - If parsing failed.