C# Класс lageant.client.Models.Keystore

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ConvertToByteArray byte[]

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ConvertToByteArray ( string hex ) : byte[]

Convert hex into byte array.

Описание методов

GetKeyById() публичный Метод

Try to retrieve a key by it`s key id.
public GetKeyById ( byte id ) : Key
id byte A 8 byte key id.
Результат Key

GetKeyById() публичный Метод

Try to retrieve a key by it`s key id.
public GetKeyById ( string id ) : Key
id string A 8 byte key id (as hex).
Результат Key

GetKeyByPrivateKey() публичный Метод

Try to retrieve a key by it`s private key.
public GetKeyByPrivateKey ( byte privateKey ) : Key
privateKey byte A 32 byte private key.
Результат Key

GetKeyByPrivateKey() публичный Метод

Try to retrieve a key by it`s private key.
public GetKeyByPrivateKey ( string privateKey ) : Key
privateKey string A 32 byte private key (as hex).
Результат Key

GetKeyByPublicKey() публичный Метод

Try to retrieve a key by it`s public key.
public GetKeyByPublicKey ( byte publicKey ) : Key
publicKey byte A 32 byte public key.
Результат Key

GetKeyByPublicKey() публичный Метод

Try to retrieve a key by it`s public key.
public GetKeyByPublicKey ( string publicKey ) : Key
publicKey string A 32 byte public key (as hex).
Результат Key