C# Class bitmessage.network.PrivateKey

Inheritance: Pubkey, ICanBeSent
Mostra file Open project: sharpbitmessage/SharpBitmessage Class Usage Examples

Public Methods

Method Description
DecryptAES256CBC4Msg ( byte data ) : byte[]
FirstOrDefault ( SQLite.SQLiteAsyncConnection conn ) : PrivateKey
GetAll ( SQLite.SQLiteAsyncConnection conn ) : IEnumerable
GetPrivateKey ( SQLite.SQLiteAsyncConnection conn, string name ) : PrivateKey
PrivateKey ( ) : System
PrivateKey ( string label, bool eighteenByteRipe = false ) : System
SaveAsync ( SQLite.SQLiteAsyncConnection db ) : Task
Sign ( byte data ) : byte[]

Private Methods

Method Description
PrivateKey2Wif ( byte privateKey ) : string
SendAsync ( Bitmessage bitmessage ) : void
Wif2PrivateKey ( string wif ) : byte[]

if input 5Kek19qnxAqFsLXKToVMWcbpQryxzwaqtHLnQ9WwrZR8yC8aBck then hex result f1b868e74dd6dd9d13a6bce594e62baf71fa367fc7747bdf019380adde153253

Method Details

DecryptAES256CBC4Msg() public method

public DecryptAES256CBC4Msg ( byte data ) : byte[]
data byte
return byte[]

FirstOrDefault() public static method

public static FirstOrDefault ( SQLite.SQLiteAsyncConnection conn ) : PrivateKey
conn SQLite.SQLiteAsyncConnection
return PrivateKey

GetAll() public static method

public static GetAll ( SQLite.SQLiteAsyncConnection conn ) : IEnumerable
conn SQLite.SQLiteAsyncConnection
return IEnumerable

GetPrivateKey() public static method

public static GetPrivateKey ( SQLite.SQLiteAsyncConnection conn, string name ) : PrivateKey
conn SQLite.SQLiteAsyncConnection
name string
return PrivateKey

PrivateKey() public method

public PrivateKey ( ) : System
return System

PrivateKey() public method

public PrivateKey ( string label, bool eighteenByteRipe = false ) : System
label string
eighteenByteRipe bool
return System

SaveAsync() public method

public SaveAsync ( SQLite.SQLiteAsyncConnection db ) : Task
db SQLite.SQLiteAsyncConnection
return Task

Sign() public method

public Sign ( byte data ) : byte[]
data byte
return byte[]