Class PubKey
Inheritance
System.Object
PubKey
Assembly: Netmavryk.dll
Syntax
public class PubKey : object
Properties
|
Improve this Doc
View Source
Address
Declaration
public string Address { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
|
Improve this Doc
View Source
FromBase58(String)
Declaration
public static PubKey FromBase58(string base58)
Parameters
| Type |
Name |
Description |
| System.String |
base58 |
|
Returns
|
Improve this Doc
View Source
FromBase64(String, ECKind)
Declaration
public static PubKey FromBase64(string base64, ECKind kind = default(ECKind))
Parameters
| Type |
Name |
Description |
| System.String |
base64 |
|
| ECKind |
kind |
|
Returns
|
Improve this Doc
View Source
FromBytes(Byte[], ECKind)
Declaration
public static PubKey FromBytes(byte[] bytes, ECKind kind = default(ECKind))
Parameters
| Type |
Name |
Description |
| System.Byte[] |
bytes |
|
| ECKind |
kind |
|
Returns
|
Improve this Doc
View Source
FromHex(String, ECKind)
Declaration
public static PubKey FromHex(string hex, ECKind kind = default(ECKind))
Parameters
| Type |
Name |
Description |
| System.String |
hex |
|
| ECKind |
kind |
|
Returns
|
Improve this Doc
View Source
GetBase58()
Declaration
public string GetBase58()
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetBytes()
Declaration
Returns
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
GetHex()
Declaration
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Verify(Byte[], Byte[])
Declaration
public bool Verify(byte[] data, byte[] signature)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
data |
|
| System.Byte[] |
signature |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Verify(Byte[], String)
Declaration
public bool Verify(byte[] data, string signature)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
data |
|
| System.String |
signature |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Verify(String, String)
Declaration
public bool Verify(string message, string signature)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
signature |
|
Returns
| Type |
Description |
| System.Boolean |
|