Class ValidationMethod
java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.evidences.ValidationMethod
Validation method establishing the authenticity of an evidence, such as a
document, electronic record, vouch, utility bill or electronic signature.
Related specifications:
- OpenID Connect for Identity Assurance 1.0, section 5.1.1.
-
Constructor Summary
ConstructorsConstructorDescriptionValidationMethod(ValidationMethodType type, Policy policy, Procedure procedure, Status status) Creates a new validation method. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the policy.Returns the procedure.Returns the status.getType()Returns the type of this validation method.inthashCode()static ValidationMethodparse(net.minidev.json.JSONObject jsonObject) Parses a validation method from the specified JSON object.net.minidev.json.JSONObjectReturns a JSON object representation of this validation method.
-
Constructor Details
-
ValidationMethod
public ValidationMethod(ValidationMethodType type, Policy policy, Procedure procedure, Status status) Creates a new validation method.- Parameters:
type- The type. Must not benull.policy- The policy,nullif not specified.procedure- The procedure,nullif not specified.status- The status,nullif not specified.
-
-
Method Details
-
getType
Returns the type of this validation method.- Returns:
- The type.
-
equals
-
hashCode
-
toJSONObject
Returns a JSON object representation of this validation method.- Returns:
- The JSON object.
-
parse
Parses a validation method from the specified JSON object.- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The validation method.
- Throws:
ParseException- If parsing failed.
-
getPolicy
Returns the policy.- Returns:
- The policy,
nullif not specified.
-
getProcedure
Returns the procedure.- Returns:
- The procedure,
nullif not specified.
-
getStatus
Returns the status.- Returns:
- The status,
nullif not specified.
-