Class DocumentIssuer
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.DocumentIssuer
Document issuer.
Related specifications:
- OpenID Connect for Identity Assurance 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentIssuer(Name name, Address address, CountryCode countryCode, Jurisdiction jurisdiction) Creates a new document issuer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the address elements.Returns the country code.Returns the jurisdiction.getName()Returns the name.inthashCode()static DocumentIssuerparse(net.minidev.json.JSONObject jsonObject) Parses a document issuer from the specified JSON object.net.minidev.json.JSONObjectReturns a JSON object representation.
-
Constructor Details
-
DocumentIssuer
public DocumentIssuer(Name name, Address address, CountryCode countryCode, Jurisdiction jurisdiction) Creates a new document issuer.- Parameters:
name- The issuer name,nullif not specified.address- The issuer address elements,nullif not specified.countryCode- The issuer country code,nullif not specified.jurisdiction- The issuer jurisdiction,nullif not specified.
-
-
Method Details
-
equals
-
parse
Parses a document issuer from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The document issuer.
- Throws:
ParseException- If parsing failed.
-
getName
Returns the name.- Returns:
- The name,
nullif not specified.
-
getAddress
Returns the address elements.- Returns:
- The address elements,
nullif not specified.
-
getCountryCode
Returns the country code.- Returns:
- The country code,
nullif not specified.
-
getJurisdiction
Returns the jurisdiction.- Returns:
- The jurisdiction,
nullif not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()Returns a JSON object representation.- Returns:
- The JSON object.
-
hashCode
public int hashCode()
-