Package co.cryptoservice.sdk
Record Class StreamSignResult
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.StreamSignResult
- Record Components:
count- number of signaturessignatures- the signatures
What
POST /v2/stream/sign answers: batch sign messages with sub-millisecond throughput.-
Constructor Summary
ConstructorsConstructorDescriptionStreamSignResult(int count, List<StreamSignature> signatures) Creates an instance of aStreamSignResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord 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 thesignaturesrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
StreamSignResult
Creates an instance of aStreamSignResultrecord class.- Parameters:
count- the value for thecountrecord componentsignatures- the value for thesignaturesrecord 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 '=='. -
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
signatures
Returns the value of thesignaturesrecord component.- Returns:
- the value of the
signaturesrecord component
-