Package co.cryptoservice.sdk
Record Class SlhDsaVerifyResult
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.SlhDsaVerifyResult
- Record Components:
algorithm- the algorithmvalid- whether the signature is valid
What
POST /v2/pq/slh-dsa/verify answers: verify with SLH-DSA (FIPS 205).-
Constructor Summary
ConstructorsConstructorDescriptionSlhDsaVerifyResult(String algorithm, boolean valid) Creates an instance of aSlhDsaVerifyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.booleanvalid()Returns the value of thevalidrecord component.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
valid
public boolean valid()Returns the value of thevalidrecord component.- Returns:
- the value of the
validrecord component
-