Table of Contents

Class Secp256k1PublicKey

Namespace
Aptos
Assembly
Aptos.dll
public class Secp256k1PublicKey : PublicKey
Inheritance
Secp256k1PublicKey
Inherited Members

Constructors

Secp256k1PublicKey(byte[])

public Secp256k1PublicKey(byte[] publicKey)

Parameters

publicKey byte[]

Secp256k1PublicKey(string)

public Secp256k1PublicKey(string publicKey)

Parameters

publicKey string

Properties

Value

public override Hex Value { get; }

Property Value

Hex

Methods

Deserialize(Deserializer)

public static Secp256k1PublicKey Deserialize(Deserializer d)

Parameters

d Deserializer

Returns

Secp256k1PublicKey

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