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
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| hashCode | open override fun hashCode(): Int |
| toBytes | open override fun toBytes(): ByteArray |
Companion object functions
| Name | Summary |
|---|---|
| fromBytes | fun fromBytes(bytes: ByteArray): Bls12381Signature |
| fromStr | fun fromStr(s: String): Bls12381Signature |
| random | fun random(): Bls12381Signature |