Package co.cryptoservice.sdk
Record Class Iso20022VerifyResult
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.Iso20022VerifyResult
- Record Components:
classicalValid- whether the Ed25519 signature verifiesdigestMatches- whether the payload digest matches the envelopemessageId- the envelope's messageIdpostQuantumValid- whether the ML-DSA signature verifiesvalid- whether the digest and both signatures pass
public record Iso20022VerifyResult(boolean classicalValid, boolean digestMatches, String messageId, boolean postQuantumValid, boolean valid)
extends Record
What
POST /v2/stream/iso20022 answers: verify ISO 20022 post-quantum dual-signature
envelope.-
Constructor Summary
ConstructorsConstructorDescriptionIso20022VerifyResult(boolean classicalValid, boolean digestMatches, String messageId, boolean postQuantumValid, boolean valid) Creates an instance of aIso20022VerifyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theclassicalValidrecord component.booleanReturns the value of thedigestMatchesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themessageIdrecord component.booleanReturns the value of thepostQuantumValidrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.booleanvalid()Returns the value of thevalidrecord component.
-
Constructor Details
-
Iso20022VerifyResult
public Iso20022VerifyResult(boolean classicalValid, boolean digestMatches, String messageId, boolean postQuantumValid, boolean valid) Creates an instance of aIso20022VerifyResultrecord class.- Parameters:
classicalValid- the value for theclassicalValidrecord componentdigestMatches- the value for thedigestMatchesrecord componentmessageId- the value for themessageIdrecord componentpostQuantumValid- the value for thepostQuantumValidrecord componentvalid- the value for thevalidrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
classicalValid
public boolean classicalValid()Returns the value of theclassicalValidrecord component.- Returns:
- the value of the
classicalValidrecord component
-
digestMatches
public boolean digestMatches()Returns the value of thedigestMatchesrecord component.- Returns:
- the value of the
digestMatchesrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
postQuantumValid
public boolean postQuantumValid()Returns the value of thepostQuantumValidrecord component.- Returns:
- the value of the
postQuantumValidrecord component
-
valid
public boolean valid()Returns the value of thevalidrecord component.- Returns:
- the value of the
validrecord component
-