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 public class IDDocumentEvidence extends IdentityEvidence
Deprecated.UseDocumentEvidenceinstead.Identity document used as identity evidence.Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.1.
-
-
Constructor Summary
Constructors Constructor Description IDDocumentEvidence(IdentityVerificationMethod method, IdentityVerifier verifier, DateWithTimeZoneOffset time, IDDocumentDescription idDocument)Deprecated.Creates a new identity document evidence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.IDDocumentDescriptiongetIdentityDocument()Deprecated.Returns the identity document description.IdentityVerificationMethodgetVerificationMethod()Deprecated.Returns the document verification method.DateWithTimeZoneOffsetgetVerificationTime()Deprecated.Returns the document verification timestamp.IdentityVerifiergetVerifier()Deprecated.Returns the optional verifier if not the OpenID provider itself.inthashCode()Deprecated.static IDDocumentEvidenceparse(net.minidev.json.JSONObject jsonObject)Deprecated.Parses an identity document used as identity evidence from the specified JSON object.net.minidev.json.JSONObjecttoJSONObject()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 Detail
-
IDDocumentEvidence
public IDDocumentEvidence(IdentityVerificationMethod method, IdentityVerifier verifier, DateWithTimeZoneOffset time, IDDocumentDescription idDocument)
Deprecated.Creates a new identity document evidence.- Parameters:
method- The document verification method,nullif not specified.verifier- Optional verifier if not the OpenID provider itself,nullif none.time- The document verification timestamp,nullif not specified.idDocument- The identity document description,nullif not specified.
-
-
Method Detail
-
getVerificationMethod
public IdentityVerificationMethod getVerificationMethod()
Deprecated.Returns the document verification method.- Returns:
- The document verification method,
nullif not specified.
-
getVerificationTime
public DateWithTimeZoneOffset getVerificationTime()
Deprecated.Returns the document verification timestamp.- Returns:
- The document verification timestamp,
nullif not specified.
-
getVerifier
public IdentityVerifier getVerifier()
Deprecated.Returns the optional verifier if not the OpenID provider itself.- Returns:
- The optional verifier if not the OpenID provider itself,
nullif none.
-
getIdentityDocument
public IDDocumentDescription getIdentityDocument()
Deprecated.Returns the identity document description.- Returns:
- The identity document description,
nullif not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Deprecated.Description copied from class:IdentityEvidenceReturns a JSON object representation of this evidence.- Overrides:
toJSONObjectin classIdentityEvidence- Returns:
- The JSON object.
-
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.
-
-