Class Ed25519PrivateKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class Ed25519PrivateKey : PrivateKey
- Inheritance
-
Ed25519PrivateKey
- Inherited Members
-
Constructors
Ed25519PrivateKey(byte[])
public Ed25519PrivateKey(byte[] privateKey)
Parameters
privateKey
byte[]
Ed25519PrivateKey(string, bool?)
public Ed25519PrivateKey(string privateKey, bool? strict = null)
Parameters
privateKey
string
strict
bool?
Methods
Deserialize(Deserializer)
public static Ed25519PrivateKey Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- Ed25519PrivateKey
FromDerivationPath(string, string)
public static Ed25519PrivateKey FromDerivationPath(string path, string mnemonic)
Parameters
path
string
mnemonic
string
Returns
- Ed25519PrivateKey
Generate()
public static Ed25519PrivateKey Generate()
Returns
- Ed25519PrivateKey
PublicKey()
public override PublicKey PublicKey()
Returns
- PublicKey
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer
Sign(byte[])
public override PublicKeySignature Sign(byte[] message)
Parameters
message
byte[]
Returns
- PublicKeySignature
ToByteArray()
public override byte[] ToByteArray()
Returns
- byte[]