Skip to main content

MultisigVerifier

Namespace: IotaSdk

public class MultisigVerifier : IMultisigVerifier, System.IDisposable

Inheritance Object → MultisigVerifier
Implements IMultisigVerifier, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

MultisigVerifier(UInt64)​

public MultisigVerifier(ulong pointer)

Parameters​

pointer UInt64

MultisigVerifier()​

public MultisigVerifier()

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

Verify(Byte[], MultisigAggregatedSignature)​

public void Verify(Byte[] message, MultisigAggregatedSignature signature)

Parameters​

message Byte[]

signature MultisigAggregatedSignature

Exceptions​

SdkFfiException

WithAcceptPasskeyInMultisig(Boolean)​

Accept passkey members inside a multisig. Disabled by default.

public 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.

public MultisigVerifier WithRejectPartiallySignedMixedEd25519(bool reject)

Parameters​

reject Boolean

Returns​

MultisigVerifier