Skip to main content

IMultisigVerifier

Namespace: IotaSdk

public interface IMultisigVerifier

Attributes NullableContextAttribute

Methods​

Verify(Byte[], MultisigAggregatedSignature)​

void Verify(Byte[] message, MultisigAggregatedSignature signature)

Parameters​

message Byte[]

signature MultisigAggregatedSignature

Exceptions​

SdkFfiException

WithAcceptPasskeyInMultisig(Boolean)​

Accept passkey members inside a multisig. Disabled by default.

MultisigVerifier WithAcceptPasskeyInMultisig(bool accept)

Parameters​

accept Boolean

Returns​

MultisigVerifier

WithRejectPartiallySignedMixedEd25519(Boolean)​

Reject partially signed multisigs whose committee mixes Ed25519 with other key schemes. Such a multisig is still accepted when every member has signed. MultisigAggregator::finish applies the same rule through its verifier.

Enabled by default. The network accepted such multisigs before protocol version 39 (node release 1.35), so disabling it accepts them again, but a partially signed one can then not be told apart from one forged through a committee whose address collides with the signer's.

MultisigVerifier WithRejectPartiallySignedMixedEd25519(bool reject)

Parameters​

reject Boolean

Returns​

MultisigVerifier