Class Ed25519PublicKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class Ed25519PublicKey : PublicKey, IVerifyingKey
- Inheritance
-
Ed25519PublicKey
- Implements
-
- Inherited Members
-
Constructors
Ed25519PublicKey(byte[])
public Ed25519PublicKey(byte[] publicKey)
Parameters
publicKey
byte[]
Ed25519PublicKey(string)
public Ed25519PublicKey(string publicKey)
Parameters
publicKey
string
Properties
Value
public override Hex Value { get; }
Property Value
- Hex
Methods
AuthKey()
public AuthenticationKey AuthKey()
Returns
- AuthenticationKey
Deserialize(Deserializer)
public static Ed25519PublicKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- Ed25519PublicKey
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer
ToByteArray()
public override byte[] ToByteArray()
Returns
- byte[]
VerifySignature(byte[], Signature)
public override bool VerifySignature(byte[] message, Signature signature)
Parameters
message
byte[]
signature
Signature
Returns
- bool