Class PublicKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
[JsonConverter(typeof(PublicKeyConverter))]
public abstract class PublicKey : Serializable
- Inheritance
-
PublicKey
- Derived
- Inherited Members
Constructors
PublicKey(PublicKeyVariant)
protected PublicKey(PublicKeyVariant type)
Parameters
type
PublicKeyVariant
Fields
Type
[JsonProperty("type")]
public readonly PublicKeyVariant Type
Field Value
Properties
Value
[JsonProperty("value")]
public abstract Hex Value { get; }
Property Value
Methods
Deserialize(Deserializer)
public static PublicKey Deserialize(Deserializer d)
Parameters
Returns
ToByteArray()
public abstract byte[] ToByteArray()
Returns
- byte[]
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
VerifySignature(byte[], Signature)
public abstract bool VerifySignature(byte[] message, Signature signature)
Parameters
Returns
VerifySignature(string, Signature)
public bool VerifySignature(string message, Signature signature)