Ed25519Signature
open class Ed25519Signature : Disposable, AutoCloseable, Ed25519SignatureInterface
An ed25519 signature.
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
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 |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toBytes | open override fun toBytes(): ByteArray |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): Ed25519Signature Create this type from BCS encoded bytes. |
| fromBytes | fun fromBytes(bytes: ByteArray): Ed25519Signature |
| fromJson | fun fromJson(json: String): Ed25519Signature Create this type from a JSON encoded string. |
| fromStr | fun fromStr(s: String): Ed25519Signature |
| random | fun random(): Ed25519Signature |