Skip to main content

SimpleKeypairInterface

interface SimpleKeypairInterface

Inheritors

SimpleKeypair

Functions

NameSummary
publicKeyabstract fun publicKey(): PublicKey
schemeabstract fun scheme(): SignatureScheme
signPersonalMessageabstract fun signPersonalMessage(message: PersonalMessage): UserSignature
Sign a personal message and return a UserSignature.
signTransactionabstract fun signTransaction(transaction: Transaction): UserSignature
Sign a transaction and return a UserSignature.
toBech32abstract fun toBech32(): String
Encode a SimpleKeypair as `flag
toBytesabstract fun toBytes(): ByteArray
Encode a SimpleKeypair as `flag
toDerabstract fun toDer(): ByteArray
Serialize this private key as DER-encoded PKCS#8
toPemabstract fun toPem(): String
Serialize this private key as DER-encoded PKCS#8
trySignabstract fun trySign(message: ByteArray): SimpleSignature
trySignUserabstract fun trySignUser(message: ByteArray): UserSignature
verifyingKeyabstract fun verifyingKey(): SimpleVerifyingKey