class PublicKey
(source)
A Box public key.
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun equals(other: Any?): Boolean |
|
static fun forSignaturePublicKey(publicKey: PublicKey): PublicKey
Transforms the Ed25519 signature public key to a Curve25519 public key. See https://libsodium.gitbook.io/doc/advanced/ed25519-curve25519 |
|
static fun fromBytes(bytes: Bytes): PublicKey static fun fromBytes(bytes: ByteArray): PublicKey
Create a PublicKey from an array of bytes. The byte array must be of length |
|
fun hashCode(): Int |
|
static fun length(): Int
Obtain the length of the key in bytes (32). |