Show / Hide Table of Contents

Class K256KeyPair

Inheritance
object
K256KeyPair
Implements
IXrplKeyPair
Namespace: Xrpl.Keypairs.K256
Assembly: Xrpl.Keypairs.dll
Syntax
public class K256KeyPair : IXrplKeyPair

Constructors

| Edit this page View Source

K256KeyPair(BigInteger, bool)

Declaration
public K256KeyPair(BigInteger priv, bool nodeKey = false)
Parameters
Type Name Description
BigInteger priv
bool nodeKey

Methods

| Edit this page View Source

Id()

Declaration
public string Id()
Returns
Type Description
string
| Edit this page View Source

Pk()

Declaration
public string Pk()
Returns
Type Description
string
| Edit this page View Source

Sign(byte[], byte[])

Declaration
public static byte[] Sign(byte[] message, byte[] privateKey)
Parameters
Type Name Description
byte[] message
byte[] privateKey
Returns
Type Description
byte[]
| Edit this page View Source

Verify(byte[], byte[], byte[])

Declaration
public static bool Verify(byte[] signature, byte[] message, byte[] publicKey)
Parameters
Type Name Description
byte[] signature
byte[] message
byte[] publicKey
Returns
Type Description
bool

Implements

IXrplKeyPair

Extension Methods

KeyPairExtensions.PubKeyHash(IXrplKeyPair)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX