Class UtilityBillEvidence
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
-
- com.nimbusds.openid.connect.sdk.assurance.evidences.UtilityBillEvidence
-
- All Implemented Interfaces:
net.minidev.json.JSONAware
@Deprecated public class UtilityBillEvidence extends IdentityEvidence
Deprecated.Utility bill used as identity evidence.Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.4.
-
-
Constructor Summary
Constructors Constructor Description UtilityBillEvidence(String providerName, Address providerAddress, SimpleDate date)
Deprecated.UtilityBillEvidence(String providerName, Address providerAddress, SimpleDate date, DateWithTimeZoneOffset time, IdentityVerificationMethod method, List<Attachment> attachments)
Deprecated.Creates a new utility bill used as identity evidence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.SimpleDate
getUtilityBillDate()
Deprecated.Returns the utility bill date.Address
getUtilityProviderAddress()
Deprecated.Returns the utility provider address details.String
getUtilityProviderName()
Deprecated.The utility provider name.IdentityVerificationMethod
getVerificationMethod()
Deprecated.Returns the utility bill verification method.DateWithTimeZoneOffset
getVerificationTime()
Deprecated.Returns the utility bill verification timestamp.int
hashCode()
Deprecated.static UtilityBillEvidence
parse(net.minidev.json.JSONObject jsonObject)
Deprecated.Parses a utility bill evidence from the specified JSON object.net.minidev.json.JSONObject
toJSONObject()
Deprecated.Returns a JSON object representation of this evidence.-
Methods inherited from class com.nimbusds.openid.connect.sdk.assurance.evidences.IdentityEvidence
ensureType, getAttachments, getEvidenceType, toDocumentEvidence, toElectronicRecordEvidence, toElectronicSignatureEvidence, toIDDocumentEvidence, toJSONString, toQESEvidence, toUtilityBillEvidence, toVouchEvidence
-
-
-
-
Constructor Detail
-
UtilityBillEvidence
@Deprecated public UtilityBillEvidence(String providerName, Address providerAddress, SimpleDate date)
Deprecated.Creates a new utility bill used as identity evidence.- Parameters:
providerName
- The utility provider name,null
if not specified.providerAddress
- The utility provider address details,null
if not specified.date
- The utility bill date,null
if not specified.
-
UtilityBillEvidence
public UtilityBillEvidence(String providerName, Address providerAddress, SimpleDate date, DateWithTimeZoneOffset time, IdentityVerificationMethod method, List<Attachment> attachments)
Deprecated.Creates a new utility bill used as identity evidence.- Parameters:
providerName
- The utility provider name,null
if not specified.providerAddress
- The utility provider address details,null
if not specified.date
- The utility bill date,null
if not specified.time
- The utility bill verification timestamp,null
if not specified.method
- The identity verification method,null
if not specified.attachments
- The optional attachments,null
if not specified.
-
-
Method Detail
-
getUtilityProviderName
public String getUtilityProviderName()
Deprecated.The utility provider name.- Returns:
- The utility provider name,
null
if not specified.
-
getUtilityProviderAddress
public Address getUtilityProviderAddress()
Deprecated.Returns the utility provider address details.- Returns:
- The utility provider address details,
null
if not specified.
-
getUtilityBillDate
public SimpleDate getUtilityBillDate()
Deprecated.Returns the utility bill date.- Returns:
- The utility bill date,
null
if not specified.
-
getVerificationTime
public DateWithTimeZoneOffset getVerificationTime()
Deprecated.Returns the utility bill verification timestamp.- Returns:
- The utility bill verification timestamp,
null
if not specified.
-
getVerificationMethod
public IdentityVerificationMethod getVerificationMethod()
Deprecated.Returns the utility bill verification method.- Returns:
- The utility bill verification method,
null
if not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Deprecated.Description copied from class:IdentityEvidence
Returns a JSON object representation of this evidence.- Overrides:
toJSONObject
in classIdentityEvidence
- Returns:
- The JSON object.
-
parse
public static UtilityBillEvidence parse(net.minidev.json.JSONObject jsonObject) throws ParseException
Deprecated.Parses a utility bill evidence from the specified JSON object.- Parameters:
jsonObject
- The JSON object. Must not benull
.- Returns:
- The utility bill evidence.
- Throws:
ParseException
- If parsing failed.
-
-