StoredDkgResult

@Serializable
data class StoredDkgResult(val extendedDataBytes: ByteArray, val shareBytes: ByteArray, val combinedPublicKey: ByteArray, val groupId: String, val sessionId: String, val timestamp: Long)

Serializable representation of a DKG result for persistent storage.

Stores the individual components of KmpTdkgFinalizeResult:

  • Extended data bytes (from extended.toBytes())

  • Share bytes (from share.share)

  • Combined public key (from combinedPublicKey.key)

Use kmpTdkgExtendedDataFromBytes to deserialize extended data.

Constructors

Link copied to clipboard
constructor(extendedDataBytes: ByteArray, shareBytes: ByteArray, combinedPublicKey: ByteArray, groupId: String, sessionId: String, timestamp: Long)

Properties

Link copied to clipboard

Combined public key (SEC1 compressed) for quick address derivation

Link copied to clipboard

Extended data bytes from KmpTdkgExtendedData.toBytes()

Link copied to clipboard
Link copied to clipboard

Session ID shared across DKG, presign, and sign (server accumulates state)

Link copied to clipboard

Share bytes from KmpShare.share

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int