Class VouchEvidence
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
com.nimbusds.openid.connect.sdk.assurance.evidences.VouchEvidence
- All Implemented Interfaces:
net.minidev.json.JSONAware
Vouch used as identity evidence.
Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.3.
-
Constructor Summary
ConstructorsConstructorDescriptionVouchEvidence(ValidationMethod validationMethod, VerificationMethod verificationMethod, IdentityVerifier verifier, DateWithTimeZoneOffset time, Attestation attestation, List<Attachment> attachments) Creates a new vouch evidence. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the attestation.Returns the vouch validation method.Returns the person verification method.Returns the vouch verification timestamp.Returns the optional verifier if not the OpenID provider itself.inthashCode()static VouchEvidenceparse(net.minidev.json.JSONObject jsonObject) Parses a vouch 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
-
VouchEvidence
public VouchEvidence(ValidationMethod validationMethod, VerificationMethod verificationMethod, IdentityVerifier verifier, DateWithTimeZoneOffset time, Attestation attestation, List<Attachment> attachments) Creates a new vouch evidence.- Parameters:
validationMethod- The vouch 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 vouch verification timestamp,nullif not specified.attestation- The attestation,nullif not specified.attachments- The optional attachments,nullif not specified.
-
-
Method Details
-
getValidationMethod
Returns the vouch validation method.- Returns:
- The vouch 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 vouch verification timestamp.- Returns:
- The vouch verification timestamp,
nullif not specified.
-
getAttestation
Returns the attestation.- Returns:
- The attestation,
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
Parses a vouch evidence from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The vouch evidence.
- Throws:
ParseException- If parsing failed.
-