Ed25519PublicKey
open class Ed25519PublicKey : Disposable, AutoCloseable, Ed25519PublicKeyInterface
An ed25519 public key.
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| deriveAddress | open override fun deriveAddress(): Address Derive an Address from this Public Key |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| hashCode | open override fun hashCode(): Int |
| scheme | open override fun scheme(): SignatureScheme Returns the signature scheme for this public key. |
| 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. |
| toFlaggedBytes | open override fun toFlaggedBytes(): ByteArray Returns the bytes with signature scheme flag prepended. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): Ed25519PublicKey Create this type from BCS encoded bytes. |
| fromBytes | fun fromBytes(bytes: ByteArray): Ed25519PublicKey |
| fromJson | fun fromJson(json: String): Ed25519PublicKey Create this type from a JSON encoded string. |
| fromStr | fun fromStr(s: String): Ed25519PublicKey |
| random | fun random(): Ed25519PublicKey |