Class IdentityVerifier
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityVerifier
-
- All Implemented Interfaces:
net.minidev.json.JSONAware
public 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 5.1.1.
-
-
Constructor Summary
Constructors Constructor Description IdentityVerifier(Organization organization, TXN txn)
Creates a new verifier.IdentityVerifier(String organizationString, TXN txn)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
String
getOrganization()
Deprecated.UsegetOrganizationString()
instead.Organization
getOrganizationEntity()
Returns the organisation.String
getOrganizationString()
Returns the organisation string.TXN
getTXN()
Returns the identifier for the identity verification transaction.int
hashCode()
static IdentityVerifier
parse(net.minidev.json.JSONObject jsonObject)
Parses a verifier from the specified JSON object.net.minidev.json.JSONObject
toJSONObject()
Returns a JSON object representation os this verifier.String
toJSONString()
-
-
-
Constructor Detail
-
IdentityVerifier
public IdentityVerifier(Organization organization, TXN txn)
Creates a new verifier.- Parameters:
organization
- The organisation,null
if not specified.txn
- Identifier for the identity verification transaction,null
if not specified.
-
IdentityVerifier
@Deprecated public IdentityVerifier(String organizationString, TXN txn)
Deprecated.Creates a new verifier.- Parameters:
organizationString
- The organisation string,null
if not specified.txn
- Identifier for the identity verification transaction,null
if not specified.
-
-
Method Detail
-
getOrganizationEntity
public Organization getOrganizationEntity()
Returns the organisation.- Returns:
- The organisation,
null
if not specified.
-
getOrganizationString
public String getOrganizationString()
Returns the organisation string.- Returns:
- The organisation string,
null
if not specified.
-
getOrganization
@Deprecated public String getOrganization()
Deprecated.UsegetOrganizationString()
instead.Returns the organisation string.- Returns:
- The organisation string,
null
if not specified.
-
getTXN
public TXN getTXN()
Returns the identifier for the identity verification transaction.- Returns:
- The identity verification transaction identifier,
null
if not specified.
-
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:
toJSONString
in 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.
-
-