Class IdentityVerification
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.IdentityVerification
- All Implemented Interfaces:
net.minidev.json.JSONAware
@Immutable
public final class IdentityVerification
extends Object
implements net.minidev.json.JSONAware
Identity verification.
Related specifications:
- OpenID Connect for Identity Assurance 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityVerification(IdentityTrustFramework trustFramework, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, IdentityEvidence evidence) Deprecated.IdentityVerification(IdentityTrustFramework trustFramework, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, List<IdentityEvidence> evidence) Deprecated.IdentityVerification(IdentityTrustFramework trustFramework, IdentityAssuranceLevel assuranceLevel, IdentityAssuranceProcess assuranceProcess, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, IdentityEvidence evidence) Creates a new identity verification with a single evidence.IdentityVerification(IdentityTrustFramework trustFramework, IdentityAssuranceLevel assuranceLevel, IdentityAssuranceProcess assuranceProcess, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, List<IdentityEvidence> evidence) Creates a new identity verification with multiple evidences. -
Method Summary
Modifier and TypeMethodDescriptionReturns the assurance level.Returns the assurance process.Returns the identity evidence.Returns the trust framework.Returns the verification process reference.Returns the verification timestamp.static IdentityVerificationparse(net.minidev.json.JSONObject jsonObject) Parses an identity verification from the specified JSON object.net.minidev.json.JSONObjectReturns a JSON object representation of this identity verification.
-
Constructor Details
-
IdentityVerification
@Deprecated public IdentityVerification(IdentityTrustFramework trustFramework, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, IdentityEvidence evidence) Deprecated.Creates a new identity verification with a single evidence.- Parameters:
trustFramework- The trust framework. Must not benull.time- The verification timestamp if required by the trust framework,nullif not required.verificationProcess- The verification process reference if required by the trust framework,nullif not required.evidence- The identity evidence,nullif not specified.
-
IdentityVerification
public IdentityVerification(IdentityTrustFramework trustFramework, IdentityAssuranceLevel assuranceLevel, IdentityAssuranceProcess assuranceProcess, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, IdentityEvidence evidence) Creates a new identity verification with a single evidence.- Parameters:
trustFramework- The trust framework. Must not benull.assuranceLevel- The assurance level if required by the trust framework,nullif not required.assuranceProcess- The assurance process if required by the trust framework,nullif not required.time- The verification timestamp if required by the trust framework,nullif not required.verificationProcess- The verification process reference if required by the trust framework,nullif not required.evidence- The identity evidence,nullif not specified.
-
IdentityVerification
@Deprecated public IdentityVerification(IdentityTrustFramework trustFramework, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, List<IdentityEvidence> evidence) Deprecated.Creates a new identity verification with multiple evidences.- Parameters:
trustFramework- The trust framework. Must not benull.time- The verification timestamp if required by the trust framework,nullif not required.verificationProcess- The verification process reference if required by the trust framework,nullif not required.evidence- The identity evidences,nullif not specified.
-
IdentityVerification
public IdentityVerification(IdentityTrustFramework trustFramework, IdentityAssuranceLevel assuranceLevel, IdentityAssuranceProcess assuranceProcess, DateWithTimeZoneOffset time, VerificationProcess verificationProcess, List<IdentityEvidence> evidence) Creates a new identity verification with multiple evidences.- Parameters:
trustFramework- The trust framework. Must not benull.assuranceLevel- The assurance level if required by the trust framework,nullif not required.assuranceProcess- The assurance process if required by the trust framework,nullif not required.time- The verification timestamp if required by the trust framework,nullif not required.verificationProcess- The verification process reference if required by the trust framework,nullif not required.evidence- The identity evidences,nullif not specified.
-
-
Method Details
-
getTrustFramework
Returns the trust framework.- Returns:
- The trust framework.
-
getAssuranceLevel
Returns the assurance level.- Returns:
- The assurance level if required by the trust framework,
nullif not specified.
-
getAssuranceProcess
Returns the assurance process.- Returns:
- The assurance process if required by the trust framework,
nullif not specified.
-
getVerificationTime
Returns the verification timestamp.- Returns:
- The verification timestamp if required by the trust
framework,
nullif not specified.
-
getVerificationProcess
Returns the verification process reference.- Returns:
- The verification process reference if required by the trust
framework,
nullif not specified.
-
getEvidence
Returns the identity evidence.- Returns:
- The identity evidence,
nullor empty if not specified.
-
toJSONObject
Returns a JSON object representation of this identity verification.- Returns:
- The JSON object.
-
toJSONString
- Specified by:
toJSONStringin interfacenet.minidev.json.JSONAware
-
parse
public static IdentityVerification parse(net.minidev.json.JSONObject jsonObject) throws ParseException Parses an identity verification from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The identity verification.
- Throws:
ParseException- If parsing failed.
-