Ed25519PrivateKeyInterface
interface Ed25519PrivateKeyInterface
Inheritors
| Ed25519PrivateKey |
Functions
| Name | Summary |
|---|---|
| publicKey | abstract fun publicKey(): Ed25519PublicKey |
| scheme | abstract fun scheme(): SignatureScheme |
| signPersonalMessage | abstract fun signPersonalMessage(message: PersonalMessage): UserSignature Sign a personal message and return a UserSignature. |
| signTransaction | abstract fun signTransaction(transaction: Transaction): UserSignature Sign a transaction and return a UserSignature. |
| toBech32 | abstract fun toBech32(): String Encode this private key as `flag |
| toBytes | abstract fun toBytes(): ByteArray Serialize this private key to bytes. |
| toDer | abstract fun toDer(): ByteArray Serialize this private key as DER-encoded PKCS#8 |
| toPem | abstract fun toPem(): String Serialize this private key as PEM-encoded PKCS#8 |
| trySign | abstract fun trySign(message: ByteArray): Ed25519Signature |
| trySignSimple | abstract fun trySignSimple(message: ByteArray): SimpleSignature |
| trySignUser | abstract fun trySignUser(message: ByteArray): UserSignature |
| verifyingKey | abstract fun verifyingKey(): Ed25519VerifyingKey |