MultiKey

class MultiKey(val pks: List<PublicKey>, val signaturesRequired: Int) : AbstractMultiKey

Constructors

Link copied to clipboard
constructor(pks: List<PublicKey>, signaturesRequired: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val publicKeys: List<AnyPublicKey>
Link copied to clipboard

Functions

Link copied to clipboard
open override fun authKey(): AuthenticationKey

Get the authentication key associated with this public key

Link copied to clipboard
open override fun getSigsRequired(): Int

Gets the number of signatures required for this multi-key set.

Link copied to clipboard
open override fun toBcs(): ByteArray

Get the BCS bytes

Link copied to clipboard
open override fun toByteArray(): ByteArray

Get the raw public key bytes

Link copied to clipboard
open override fun verifySignature(message: HexInput, signature: Signature): Boolean

Verifies that the private key associated with this public key signed the message with the given signature.