Class ElectronicRecordEvidence
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
com.nimbusds.openid.connect.sdk.assurance.evidences.ElectronicRecordEvidence
- All Implemented Interfaces:
net.minidev.json.JSONAware
Electronic record used as identity evidence.
Related specifications:
- OpenID Connect for Identity Assurance 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionElectronicRecordEvidence(ValidationMethod validationMethod, VerificationMethod verificationMethod, IdentityVerifier verifier, DateWithTimeZoneOffset time, ElectronicRecordDetails recordDetails, List<Attachment> attachments) Creates a new electronic record evidence. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the electronic record details.Returns the electronic record validation method.Returns the person verification method.Returns the electronic record verification timestamp.Returns the optional verifier if not the OpenID provider itself.inthashCode()static ElectronicRecordEvidenceparse(net.minidev.json.JSONObject jsonObject) Parses an electronic record evidence from the specified JSON object.net.minidev.json.JSONObjectReturns 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
-
ElectronicRecordEvidence
public ElectronicRecordEvidence(ValidationMethod validationMethod, VerificationMethod verificationMethod, IdentityVerifier verifier, DateWithTimeZoneOffset time, ElectronicRecordDetails recordDetails, List<Attachment> attachments) Creates a new electronic record evidence.- Parameters:
validationMethod- The eletronic record validation method,nullif not specified.verificationMethod- The person verification method,nullif not specified.verifier- Optional verifier if not the OpenID provider itself,nullif none.time- The electronic record verification timestamp,nullif not specified.recordDetails- The electronic record details,nullif not specified.attachments- The optional attachments,nullif not specified.
-
-
Method Details
-
getValidationMethod
Returns the electronic record validation method.- Returns:
- The electronic record validation method,
nullif not specified.
-
getVerificationMethod
Returns the person verification method.- Returns:
- The person verification method,
nullif not specified.
-
getVerifier
Returns the optional verifier if not the OpenID provider itself.- Returns:
- The optional verifier if not the OpenID provider itself,
nullif none.
-
getVerificationTime
Returns the electronic record verification timestamp.- Returns:
- The electronic record verification timestamp,
nullif not specified.
-
getRecordDetails
Returns the electronic record details.- Returns:
- The electronic record details,
nullif not specified.
-
toJSONObject
Description copied from class:IdentityEvidenceReturns a JSON object representation of this evidence.- Overrides:
toJSONObjectin classIdentityEvidence- Returns:
- The JSON object.
-
equals
-
hashCode
-
parse
public static ElectronicRecordEvidence parse(net.minidev.json.JSONObject jsonObject) throws ParseException Parses an electronic record evidence from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The electronic record evidence.
- Throws:
ParseException- If parsing failed.
-