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, section 5.1.1.1.
-
-
Constructor Summary
Constructors Constructor Description IDDocumentDescription(IDDocumentType type, String number, String issuerName, CountryCode issuerCountry, SimpleDate dateOfIssuance, SimpleDate dateOfExpiry)Deprecated.Creates a new identity document description.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.SimpleDategetDateOfExpiry()Deprecated.Returns the date of expiry.SimpleDategetDateOfIssuance()Deprecated.Returns the date of issuance.CountryCodegetIssuerCountry()Deprecated.Returns the issuer country.StringgetIssuerName()Deprecated.Returns the issuer name.StringgetNumber()Deprecated.Returns the identity document number.IDDocumentTypegetType()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.JSONObjecttoJSONObject()Deprecated.Returns a JSON object representation of this identity document description.StringtoJSONString()Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
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 Detail
-
getType
public IDDocumentType 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,
nullif not specified.
-
getIssuerName
public String getIssuerName()
Deprecated.Returns the issuer name.- Returns:
- The issuer name,
nullif not specified.
-
getIssuerCountry
public CountryCode getIssuerCountry()
Deprecated.Returns the issuer country.- Returns:
- The issuer country code,
nullif not specified.
-
getDateOfIssuance
public SimpleDate getDateOfIssuance()
Deprecated.Returns the date of issuance.- Returns:
- The date of issuance,
nullif not specified.
-
getDateOfExpiry
public SimpleDate getDateOfExpiry()
Deprecated.Returns the date of expiry.- Returns:
- The date of expiry,
nullif 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:
toJSONStringin interfacenet.minidev.json.JSONAware
-
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.
-
-