Skip to main content

UserSignatureVerifierInterface

interface UserSignatureVerifierInterface

Verifier that will verify all UserSignature variants

Inheritors​

UserSignatureVerifier

Functions​

NameSummary
verifyabstract fun verify(message: ByteArray, signature: UserSignature)
withMultisigVerifierabstract fun withMultisigVerifier(multisigVerifier: MultisigVerifier): UserSignatureVerifier
Replaces the verifier used for multisig signatures, including the setting from with_reject_partially_signed_mixed_ed25519. Copies the current settings of multisig_verifier; later changes to it are not picked up.
withPasskeyVerifierabstract fun withPasskeyVerifier(passkeyVerifier: PasskeyVerifier): UserSignatureVerifier
The verifier used for direct passkey signatures. Passkey members of a multisig are checked by the multisig verifier instead. Copies the current settings of passkey_verifier; later changes to it, such as with_address, are not picked up.
withRejectPartiallySignedMixedEd25519abstract fun withRejectPartiallySignedMixedEd25519(reject: Boolean): UserSignatureVerifier
Reject partially signed multisigs whose committee mixes Ed25519 with other key schemes. Such a multisig is still accepted when every member has signed.