Class IDDocumentEvidence
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
com.nimbusds.openid.connect.sdk.assurance.evidences.IDDocumentEvidence
- All Implemented Interfaces:
net.minidev.json.JSONAware
Deprecated.
Identity document used as identity evidence.
Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.1.
-
Constructor Summary
ConstructorsConstructorDescriptionIDDocumentEvidence
(IdentityVerificationMethod method, IdentityVerifier verifier, DateWithTimeZoneOffset time, IDDocumentDescription idDocument) Deprecated.Creates a new identity document evidence. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Returns the identity document description.Deprecated.Returns the document verification method.Deprecated.Returns the document verification timestamp.Deprecated.Returns the optional verifier if not the OpenID provider itself.int
hashCode()
Deprecated.static IDDocumentEvidence
parse
(net.minidev.json.JSONObject jsonObject) Deprecated.Parses an identity document used as identity evidence from the specified JSON object.net.minidev.json.JSONObject
Deprecated.Returns a JSON object representation of this evidence.Methods inherited from class com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
ensureType, getAttachments, getEvidenceType, toDocumentEvidence, toElectronicRecordEvidence, toElectronicSignatureEvidence, toIDDocumentEvidence, toJSONString, toQESEvidence, toUtilityBillEvidence, toVouchEvidence
-
Constructor Details
-
IDDocumentEvidence
public IDDocumentEvidence(IdentityVerificationMethod method, IdentityVerifier verifier, DateWithTimeZoneOffset time, IDDocumentDescription idDocument) Deprecated.Creates a new identity document evidence.- Parameters:
method
- The document verification method,null
if not specified.verifier
- Optional verifier if not the OpenID provider itself,null
if none.time
- The document verification timestamp,null
if not specified.idDocument
- The identity document description,null
if not specified.
-
-
Method Details
-
getVerificationMethod
Deprecated.Returns the document verification method.- Returns:
- The document verification method,
null
if not specified.
-
getVerificationTime
Deprecated.Returns the document verification timestamp.- Returns:
- The document verification timestamp,
null
if not specified.
-
getVerifier
Deprecated.Returns the optional verifier if not the OpenID provider itself.- Returns:
- The optional verifier if not the OpenID provider itself,
null
if none.
-
getIdentityDocument
Deprecated.Returns the identity document description.- Returns:
- The identity document description,
null
if not specified.
-
toJSONObject
Deprecated.Description copied from class:IdentityEvidence
Returns a JSON object representation of this evidence.- Overrides:
toJSONObject
in classIdentityEvidence
- Returns:
- The JSON object.
-
equals
Deprecated. -
hashCode
Deprecated. -
parse
public static IDDocumentEvidence parse(net.minidev.json.JSONObject jsonObject) throws ParseException Deprecated.Parses an identity document used as identity evidence from the specified JSON object.- Parameters:
jsonObject
- The JSON object. Must not benull
.- Returns:
- The identity document used as identity evidence.
- Throws:
ParseException
- If parsing failed.
-
DocumentEvidence
instead.