Class Secp256k1PrivateKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class Secp256k1PrivateKey : PrivateKey, IDisposable
- Inheritance
-
Secp256k1PrivateKey
- Implements
- Inherited Members
Constructors
Secp256k1PrivateKey(byte[])
public Secp256k1PrivateKey(byte[] privateKey)
Parameters
privateKeybyte[]
Secp256k1PrivateKey(string, bool?)
public Secp256k1PrivateKey(string privateKey, bool? strict = null)
Parameters
Methods
Deserialize(Deserializer)
public static Secp256k1PrivateKey Deserialize(Deserializer d)
Parameters
Returns
DisposeCore()
Implemented by subclasses to perform the actual byte scrubbing.
protected override void DisposeCore()
FromDerivationPath(string, string)
public static Secp256k1PrivateKey FromDerivationPath(string path, string mnemonic)
Parameters
Returns
Generate()
public static Secp256k1PrivateKey Generate()
Returns
PublicKey()
public override PublicKey PublicKey()
Returns
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
Sign(byte[])
public override PublicKeySignature Sign(byte[] message)
Parameters
messagebyte[]
Returns
ToByteArray()
public override byte[] ToByteArray()
Returns
- byte[]