Class SingleKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class SingleKey : Serializable, IVerifyingKey
- Inheritance
-
SingleKey
- Implements
-
- Inherited Members
-
Constructors
SingleKey(PublicKey)
public SingleKey(PublicKey publicKey)
Parameters
publicKey
PublicKey
Fields
PublicKey
public readonly PublicKey PublicKey
Field Value
- PublicKey
Methods
AuthKey()
public AuthenticationKey AuthKey()
Returns
- AuthenticationKey
Deserialize(Deserializer)
public static SingleKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- SingleKey
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