tuweni / org.apache.tuweni.crypto.mikuli / PublicKey

PublicKey

class PublicKey (source)

This class represents a BLS12-381 public key.

Functions

aggregate

static fun aggregate(keys: MutableList<PublicKey>): PublicKey

Aggregates list of PublicKey pairs

equals

fun equals(other: Any?): Boolean

fromBytes

static fun fromBytes(bytes: ByteArray): PublicKey

Create a PublicKey from byte array

static fun fromBytes(bytes: Bytes): PublicKey

Create a PublicKey from bytes

hashCode

fun hashCode(): Int

toByteArray

fun toByteArray(): ByteArray

Public key serialization

toBytes

fun toBytes(): Bytes

Public key serialization