Class MultisigSignature
Serializable raw multisig class.
Inheritance
System.Object
MultisigSignature
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonObject]
public class MultisigSignature
Constructors
| Improve this Doc View SourceMultisigSignature()
Declaration
public MultisigSignature()
MultisigSignature(Int32, Int32, List<MultisigSubsig>)
create a multisig signature.
Declaration
[JsonConstructor]
public MultisigSignature([JsonProperty(PropertyName = "v")] int version, [JsonProperty(PropertyName = "thr")] int threshold, [JsonProperty(PropertyName = "subsig")] List<MultisigSubsig> subsigs = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | version | required |
System.Int32 | threshold | required |
System.Collections.Generic.List<MultisigSubsig> | subsigs | can be empty or null |
Fields
| Improve this Doc View Sourcesubsigs
Declaration
[JsonProperty(PropertyName = "subsig")]
public List<MultisigSubsig> subsigs
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<MultisigSubsig> |
threshold
Declaration
[JsonProperty(PropertyName = "thr")]
public int threshold
Field Value
Type | Description |
---|---|
System.Int32 |
version
Declaration
[JsonProperty(PropertyName = "v")]
public int version
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Verify(Byte[])
Performs signature verification
Declaration
public bool Verify(byte[] message)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | message | raw message to verify |
Returns
Type | Description |
---|---|
System.Boolean | bool |