Class K256KeyPair
Inheritance
System.Object
K256KeyPair
Assembly: Xrpl.Keypairs.dll
Syntax
public class K256KeyPair : object, IXrplKeyPair
Constructors
|
Improve this Doc
View Source
K256KeyPair(BigInteger, Boolean)
Declaration
public K256KeyPair(BigInteger priv, bool nodeKey = false)
Parameters
Type |
Name |
Description |
BigInteger |
priv |
|
System.Boolean |
nodeKey |
|
Methods
|
Improve this Doc
View Source
Id()
Declaration
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Pk()
Declaration
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Sign(Byte[], Byte[])
Declaration
public static byte[] Sign(byte[] message, byte[] privateKey)
Parameters
Type |
Name |
Description |
System.Byte[] |
message |
|
System.Byte[] |
privateKey |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Verify(Byte[], Byte[], Byte[])
Declaration
public static bool Verify(byte[] signature, byte[] message, byte[] publicKey)
Parameters
Type |
Name |
Description |
System.Byte[] |
signature |
|
System.Byte[] |
message |
|
System.Byte[] |
publicKey |
|
Returns
Type |
Description |
System.Boolean |
|
Implements