Table of Contents

Class Secp256k1PrivateKey

Namespace
Aptos
Assembly
Aptos.dll
public class Secp256k1PrivateKey : PrivateKey
Inheritance
Secp256k1PrivateKey
Inherited Members

Constructors

Secp256k1PrivateKey(byte[])

public Secp256k1PrivateKey(byte[] privateKey)

Parameters

privateKey byte[]

Secp256k1PrivateKey(string, bool?)

public Secp256k1PrivateKey(string privateKey, bool? strict = null)

Parameters

privateKey string
strict bool?

Methods

Deserialize(Deserializer)

public static Secp256k1PrivateKey Deserialize(Deserializer d)

Parameters

d Deserializer

Returns

Secp256k1PrivateKey

FromDerivationPath(string, string)

public static Secp256k1PrivateKey FromDerivationPath(string path, string mnemonic)

Parameters

path string
mnemonic string

Returns

Secp256k1PrivateKey

Generate()

public static Secp256k1PrivateKey Generate()

Returns

Secp256k1PrivateKey

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[]