Class IdentityVerifier
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityVerifier
- All Implemented Interfaces:
net.minidev.json.JSONAware
Legal entity that performed an identity verification on behalf of an OpenID
provider.
Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityVerifier(Organization organization, TXN txn) Creates a new verifier.IdentityVerifier(String organizationString, TXN txn) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Returns the organisation.Returns the organisation string.getTXN()Returns the identifier for the identity verification transaction.inthashCode()static IdentityVerifierparse(net.minidev.json.JSONObject jsonObject) Parses a verifier from the specified JSON object.net.minidev.json.JSONObjectReturns a JSON object representation os this verifier.
-
Constructor Details
-
IdentityVerifier
Creates a new verifier.- Parameters:
organization- The organisation,nullif not specified.txn- Identifier for the identity verification transaction,nullif not specified.
-
IdentityVerifier
Deprecated.Creates a new verifier.- Parameters:
organizationString- The organisation string,nullif not specified.txn- Identifier for the identity verification transaction,nullif not specified.
-
-
Method Details
-
getOrganizationEntity
Returns the organisation.- Returns:
- The organisation,
nullif not specified.
-
getOrganizationString
Returns the organisation string.- Returns:
- The organisation string,
nullif not specified.
-
getOrganization
Deprecated.UsegetOrganizationString()instead.Returns the organisation string.- Returns:
- The organisation string,
nullif not specified.
-
getTXN
Returns the identifier for the identity verification transaction.- Returns:
- The identity verification transaction identifier,
nullif not specified.
-
toJSONObject
Returns a JSON object representation os this verifier.- Returns:
- The JSON object.
-
toJSONString
- Specified by:
toJSONStringin interfacenet.minidev.json.JSONAware
-
equals
-
hashCode
-
parse
Parses a verifier from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The verifier.
- Throws:
ParseException- If parsing failed.
-
getOrganizationString()instead.