Class MultiKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class MultiKey : Serializable, IVerifyingKey
- Inheritance
-
MultiKey
- Implements
-
- Inherited Members
-
Constructors
MultiKey(List<PublicKey>, byte)
public MultiKey(List<PublicKey> publicKeys, byte signaturesRequired)
Parameters
publicKeys
List<PublicKey>
signaturesRequired
byte
Fields
PublicKeys
public readonly List<PublicKey> PublicKeys
Field Value
- List<PublicKey>
SignaturesRequired
public readonly byte SignaturesRequired
Field Value
- byte
Methods
AuthKey()
public AuthenticationKey AuthKey()
Returns
- AuthenticationKey
BitCount(byte)
public static int BitCount(byte b)
Parameters
b
byte
Returns
- int
CreateBitmap(int[])
public static byte[] CreateBitmap(int[] bits)
Parameters
bits
int[]
Returns
- byte[]
Deserialize(Deserializer)
public static MultiKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- MultiKey
GetIndex(PublicKey)
public int GetIndex(PublicKey publicKey)
Parameters
publicKey
PublicKey
Returns
- int
GetSimulationSignature(MultiKey)
public static MultiKeySignature GetSimulationSignature(MultiKey multiKey)
Parameters
multiKey
MultiKey
Returns
- MultiKeySignature
GetSimulationSignature(int)
public static MultiKeySignature GetSimulationSignature(int keysCount)
Parameters
keysCount
int
Returns
- MultiKeySignature
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer
VerifySignature(byte[], Signature)
public bool VerifySignature(byte[] message, Signature signature)
Parameters
message
byte[]
signature
Signature
Returns
- bool
VerifySignature(string, Signature)
public bool VerifySignature(string message, Signature signature)
Parameters
message
string
signature
Signature
Returns
- bool