C# Class LedgerWallet.LedgerClientBase

Afficher le fichier Open project: LedgerHQ/ledger-dotnet-api

Méthodes publiques

Свойство Type Description
OK int[]

Méthodes publiques

Méthode Description
LedgerClientBase ( ILedgerTransport transport ) : System

Méthodes protégées

Méthode Description
CheckSW ( int acceptedSW, int sw ) : void
Exchange ( byte apdu, int &sw ) : byte[]
ExchangeApdu ( byte cla, byte ins, byte p1, byte p2, byte data, int acceptedSW ) : byte[]
ExchangeApdu ( byte cla, byte ins, byte p1, byte p2, int length, int acceptedSW ) : byte[]
ExchangeApdu ( byte apdu, int acceptedSW ) : byte[]
ExchangeApduSplit ( byte cla, byte ins, byte p1, byte p2, byte data, int acceptedSW ) : byte[]
ExchangeApduSplit2 ( byte cla, byte ins, byte p1, byte p2, byte data, byte data2, int acceptedSW ) : byte[]
GetErrorMessage ( LedgerWalletStatus status ) : string
Throw ( int sw ) : void

Method Details

CheckSW() protected méthode

protected CheckSW ( int acceptedSW, int sw ) : void
acceptedSW int
sw int
Résultat void

Exchange() protected méthode

protected Exchange ( byte apdu, int &sw ) : byte[]
apdu byte
sw int
Résultat byte[]

ExchangeApdu() protected méthode

protected ExchangeApdu ( byte cla, byte ins, byte p1, byte p2, byte data, int acceptedSW ) : byte[]
cla byte
ins byte
p1 byte
p2 byte
data byte
acceptedSW int
Résultat byte[]

ExchangeApdu() protected méthode

protected ExchangeApdu ( byte cla, byte ins, byte p1, byte p2, int length, int acceptedSW ) : byte[]
cla byte
ins byte
p1 byte
p2 byte
length int
acceptedSW int
Résultat byte[]

ExchangeApdu() protected méthode

protected ExchangeApdu ( byte apdu, int acceptedSW ) : byte[]
apdu byte
acceptedSW int
Résultat byte[]

ExchangeApduSplit() protected méthode

protected ExchangeApduSplit ( byte cla, byte ins, byte p1, byte p2, byte data, int acceptedSW ) : byte[]
cla byte
ins byte
p1 byte
p2 byte
data byte
acceptedSW int
Résultat byte[]

ExchangeApduSplit2() protected méthode

protected ExchangeApduSplit2 ( byte cla, byte ins, byte p1, byte p2, byte data, byte data2, int acceptedSW ) : byte[]
cla byte
ins byte
p1 byte
p2 byte
data byte
data2 byte
acceptedSW int
Résultat byte[]

GetErrorMessage() protected méthode

protected GetErrorMessage ( LedgerWalletStatus status ) : string
status LedgerWalletStatus
Résultat string

LedgerClientBase() public méthode

public LedgerClientBase ( ILedgerTransport transport ) : System
transport ILedgerTransport
Résultat System

Throw() protected méthode

protected Throw ( int sw ) : void
sw int
Résultat void

Property Details

OK public_oe static_oe property

public static int[] OK
Résultat int[]