Class IDDocumentDescription
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.IDDocumentDescription
- All Implemented Interfaces:
net.minidev.json.JSONAware
Deprecated.
Identity document description.
Related specifications:
- OpenID Connect for Identity Assurance 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionIDDocumentDescription(IDDocumentType type, String number, String issuerName, CountryCode issuerCountry, SimpleDate dateOfIssuance, SimpleDate dateOfExpiry) Deprecated.Creates a new identity document description. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Returns the date of expiry.Deprecated.Returns the date of issuance.Deprecated.Returns the issuer country.Deprecated.Returns the issuer name.Deprecated.Returns the identity document number.getType()Deprecated.Returns the identity document type.inthashCode()Deprecated.static IDDocumentDescriptionparse(net.minidev.json.JSONObject jsonObject) Deprecated.Parses an identity document description from the specified JSON object.net.minidev.json.JSONObjectDeprecated.Returns a JSON object representation of this identity document description.Deprecated.toString()Deprecated.
-
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 benull.number- The number,nullif not specified.issuerName- The issuer name,nullif not specified.issuerCountry- The issuer country,nullif not specified.dateOfIssuance- The date of issuance,nullif not specified.dateOfExpiry- The date of expiry,nullif not specified.
-
-
Method Details
-
getType
Deprecated.Returns the identity document type.- Returns:
- The identity document type.
-
getNumber
Deprecated.Returns the identity document number.- Returns:
- The identity document number,
nullif not specified.
-
getIssuerName
Deprecated.Returns the issuer name.- Returns:
- The issuer name,
nullif not specified.
-
getIssuerCountry
Deprecated.Returns the issuer country.- Returns:
- The issuer country code,
nullif not specified.
-
getDateOfIssuance
Deprecated.Returns the date of issuance.- Returns:
- The date of issuance,
nullif not specified.
-
getDateOfExpiry
Deprecated.Returns the date of expiry.- Returns:
- The date of expiry,
nullif not specified.
-
toJSONObject
Deprecated.Returns a JSON object representation of this identity document description.- Returns:
- The JSON object.
-
toJSONString
Deprecated.- Specified by:
toJSONStringin interfacenet.minidev.json.JSONAware
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
Deprecated. -
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 benull.- Returns:
- The identity document description.
- Throws:
ParseException- If parsing failed.
-