Ed25519PublicKey
open class Ed25519PublicKey : Disposable, AutoCloseable, Ed25519PublicKeyInterface
An ed25519 public key.
BCS
The BCS serialized form for this type is defined by the following ABNF:
ed25519-public-key = 32OCTET
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. |
| toBytes | open override fun toBytes(): ByteArray |
| toFlaggedBytes | open override fun toFlaggedBytes(): ByteArray Returns the bytes with signature scheme flag prepended. |
Companion object functions
| Name | Summary |
|---|---|
| fromBytes | fun fromBytes(bytes: ByteArray): Ed25519PublicKey |
| fromStr | fun fromStr(s: String): Ed25519PublicKey |
| random | fun random(): Ed25519PublicKey |