C# Class bitmessage.network.PrivateKey

Inheritance: Pubkey, ICanBeSent
Afficher le fichier Open project: sharpbitmessage/SharpBitmessage Class Usage Examples

Méthodes publiques

Méthode 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

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

if input 5Kek19qnxAqFsLXKToVMWcbpQryxzwaqtHLnQ9WwrZR8yC8aBck then hex result f1b868e74dd6dd9d13a6bce594e62baf71fa367fc7747bdf019380adde153253

Method Details

DecryptAES256CBC4Msg() public méthode

public DecryptAES256CBC4Msg ( byte data ) : byte[]
data byte
Résultat byte[]

FirstOrDefault() public static méthode

public static FirstOrDefault ( SQLite.SQLiteAsyncConnection conn ) : PrivateKey
conn SQLite.SQLiteAsyncConnection
Résultat PrivateKey

GetAll() public static méthode

public static GetAll ( SQLite.SQLiteAsyncConnection conn ) : IEnumerable
conn SQLite.SQLiteAsyncConnection
Résultat IEnumerable

GetPrivateKey() public static méthode

public static GetPrivateKey ( SQLite.SQLiteAsyncConnection conn, string name ) : PrivateKey
conn SQLite.SQLiteAsyncConnection
name string
Résultat PrivateKey

PrivateKey() public méthode

public PrivateKey ( ) : System
Résultat System

PrivateKey() public méthode

public PrivateKey ( string label, bool eighteenByteRipe = false ) : System
label string
eighteenByteRipe bool
Résultat System

SaveAsync() public méthode

public SaveAsync ( SQLite.SQLiteAsyncConnection db ) : Task
db SQLite.SQLiteAsyncConnection
Résultat Task

Sign() public méthode

public Sign ( byte data ) : byte[]
data byte
Résultat byte[]