Package co.cryptoservice.sdk
Record Class OpaqueRegisterFinishResult
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.OpaqueRegisterFinishResult
- Record Components:
credentialIdentifier- the identifier, as the request gave itstatus- always registered
What
POST /v2/opaque/register/finish answers: finish OPAQUE credential registration.-
Constructor Summary
ConstructorsConstructorDescriptionOpaqueRegisterFinishResult(String credentialIdentifier, String status) Creates an instance of aOpaqueRegisterFinishResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecredentialIdentifierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
OpaqueRegisterFinishResult
Creates an instance of aOpaqueRegisterFinishResultrecord class.- Parameters:
credentialIdentifier- the value for thecredentialIdentifierrecord componentstatus- the value for thestatusrecord component
-
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
credentialIdentifier
Returns the value of thecredentialIdentifierrecord component.- Returns:
- the value of the
credentialIdentifierrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-