Skip to main content

Bls12381Signature

open class Bls12381Signature : Disposable, AutoCloseable, Bls12381SignatureInterface

A bls12381 min-sig signature.

BCS

The BCS serialized form for this type is defined by the following ABNF:

bls12381-signature = 48OCTET

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
toBytesopen override fun toBytes(): ByteArray

Companion object functions

NameSummary
fromBytesfun fromBytes(bytes: ByteArray): Bls12381Signature
fromStrfun fromStr(s: String): Bls12381Signature
randomfun random(): Bls12381Signature