canSignFor

abstract fun canSignFor(verifierAddress: String, publicKey: ByteArray): Boolean

Returns whether this adapter can produce an Ed25519 signature for the given verifier-contract address and public-key pair.

Called before the in-memory keypair registry is consulted. When this method returns true, the adapter must be able to fulfil a subsequent signAuthDigest call for the same key without error.

Return

true when the adapter can sign for this (verifierAddress, publicKey) pair.

Parameters

verifierAddress

The C-strkey of the Ed25519 verifier contract identifying the on-chain signer slot.

publicKey

The 32-byte Ed25519 public key identifying the signer slot.