Class IdentityVerifier
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityVerifier
-
- All Implemented Interfaces:
net.minidev.json.JSONAware
@Immutable public final class IdentityVerifier extends Object implements 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 4.1.1.1.
-
-
Constructor Summary
Constructors Constructor Description IdentityVerifier(String organization, TXN txn)Creates a new verifier.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOrganization()Returns the organisation.TXNgetTXN()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.JSONObjecttoJSONObject()Returns a JSON object representation os this verifier.StringtoJSONString()
-
-
-
Constructor Detail
-
IdentityVerifier
public IdentityVerifier(String organization, TXN txn)
Creates a new verifier.- Parameters:
organization- The organisation. Must not benull.txn- Identifier for the identity verification transaction. Must not benull.
-
-
Method Detail
-
getOrganization
public String getOrganization()
Returns the organisation.- Returns:
- The organisation.
-
getTXN
public TXN getTXN()
Returns the identifier for the identity verification transaction.- Returns:
- The identity verification transaction identifier.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Returns a JSON object representation os this verifier.- Returns:
- The JSON object.
-
toJSONString
public String toJSONString()
- Specified by:
toJSONStringin interfacenet.minidev.json.JSONAware
-
parse
public static IdentityVerifier parse(net.minidev.json.JSONObject jsonObject) throws ParseException
Parses a verifier from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The verifier.
- Throws:
ParseException- If parsing failed.
-
-