Skip to main content
Interface
interface EmailSigner : Signer

Properties

signerData

abstract val signerData: SignerData
The admin signer data associated with this signer. Contains signer-specific information (email, public key, etc.)

Functions

getEncoding

abstract suspend fun getEncoding(): String
The encoding format for signatures.

getKeyType

abstract suspend fun getKeyType(): String
The cryptographic key type used for signing.

initialize

abstract suspend fun initialize(service: CrossmintService?)
Initializes the signer with necessary service context. Must be called before sign() operations.

locator

open fun locator(): String

processMessage

abstract fun processMessage(message: String): String
Allows platform-specific preprocessing of the message before signing.

sign

abstract suspend fun sign(message: String): Result<String, SignerError>
Signs a message and returns the signature.