Class ElectronicRecordDetails
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.ElectronicRecordDetails
Electronic record details.
Related specifications:
- OpenID Connect for Identity Assurance 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionElectronicRecordDetails(ElectronicRecordType type, PersonalNumber personalNumber, DateWithTimeZoneOffset createdAt, SimpleDate dateOfExpiry, ElectronicRecordSource source) Creates a new electronic record details instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the time of creation.Returns the date of expiry.Returns the personal number.Returns the electronic record source.getType()Returns the electronic record type.inthashCode()static ElectronicRecordDetailsparse(net.minidev.json.JSONObject jsonObject) Parses an electronic record details instance from the specified JSON object.net.minidev.json.JSONObjectReturns a JSON object representation of this electronic record details instance.
-
Constructor Details
-
ElectronicRecordDetails
public ElectronicRecordDetails(ElectronicRecordType type, PersonalNumber personalNumber, DateWithTimeZoneOffset createdAt, SimpleDate dateOfExpiry, ElectronicRecordSource source) Creates a new electronic record details instance.- Parameters:
type- The electronic record type. Must not benull.personalNumber- The personal number,nullif not specified.createdAt- The time of creation,nullif not specified.dateOfExpiry- The date of expiry,nullif not specified.source- The electronic record source,nullif not specified.
-
-
Method Details
-
getType
Returns the electronic record type.- Returns:
- The electronic record type.
-
getPersonalNumber
Returns the personal number.- Returns:
- The personal number,
nullif not specified.
-
getCreatedAt
Returns the time of creation.- Returns:
- The time of creation,
nullif not specified.
-
getDateOfExpiry
Returns the date of expiry.- Returns:
- The date of expiry,
nullif not specified.
-
getSource
Returns the electronic record source.- Returns:
- The electronic record source,
nullif not specified.
-
toJSONObject
Returns a JSON object representation of this electronic record details instance.- Returns:
- The JSON object.
-
equals
-
hashCode
-
parse
public static ElectronicRecordDetails parse(net.minidev.json.JSONObject jsonObject) throws ParseException Parses an electronic record details instance from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The electronic record details instance.
- Throws:
ParseException- If parsing failed.
-