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

PublicKey

class PublicKey (source)

This class represents a BLS12-381 public key.

Functions

aggregate

Aggregates list of PublicKey pairs

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

equals

fun equals(other: Any?): Boolean

fromBytes

Create a PublicKey from byte array

static fun fromBytes(bytes: ByteArray!): PublicKey!

Create a PublicKey from bytes

static fun fromBytes(bytes: Bytes!): PublicKey!

hashCode

fun hashCode(): Int

toByteArray

Public key serialization

fun toByteArray(): ByteArray!

toBytes

Public key serialization

fun toBytes(): Bytes!