C# Class lageant.client.Models.Keystore

Afficher le fichier Open project: bitbeans/lageant

Private Properties

Свойство Type Description
ConvertToByteArray byte[]

Méthodes publiques

Méthode Description
GetKeyById ( byte id ) : Key

Try to retrieve a key by it`s key id.

GetKeyById ( string id ) : Key

Try to retrieve a key by it`s key id.

GetKeyByPrivateKey ( byte privateKey ) : Key

Try to retrieve a key by it`s private key.

GetKeyByPrivateKey ( string privateKey ) : Key

Try to retrieve a key by it`s private key.

GetKeyByPublicKey ( byte publicKey ) : Key

Try to retrieve a key by it`s public key.

GetKeyByPublicKey ( string publicKey ) : Key

Try to retrieve a key by it`s public key.

Private Methods

Méthode Description
ConvertToByteArray ( string hex ) : byte[]

Convert hex into byte array.

Method Details

GetKeyById() public méthode

Try to retrieve a key by it`s key id.
public GetKeyById ( byte id ) : Key
id byte A 8 byte key id.
Résultat Key

GetKeyById() public méthode

Try to retrieve a key by it`s key id.
public GetKeyById ( string id ) : Key
id string A 8 byte key id (as hex).
Résultat Key

GetKeyByPrivateKey() public méthode

Try to retrieve a key by it`s private key.
public GetKeyByPrivateKey ( byte privateKey ) : Key
privateKey byte A 32 byte private key.
Résultat Key

GetKeyByPrivateKey() public méthode

Try to retrieve a key by it`s private key.
public GetKeyByPrivateKey ( string privateKey ) : Key
privateKey string A 32 byte private key (as hex).
Résultat Key

GetKeyByPublicKey() public méthode

Try to retrieve a key by it`s public key.
public GetKeyByPublicKey ( byte publicKey ) : Key
publicKey byte A 32 byte public key.
Résultat Key

GetKeyByPublicKey() public méthode

Try to retrieve a key by it`s public key.
public GetKeyByPublicKey ( string publicKey ) : Key
publicKey string A 32 byte public key (as hex).
Résultat Key