C# Class LedgerWallet.LedgerClientBase

Mostrar archivo Open project: LedgerHQ/ledger-dotnet-api

Public Properties

Property Type Description
OK int[]

Public Methods

Method Description
LedgerClientBase ( ILedgerTransport transport ) : System

Protected Methods

Method 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 method

protected CheckSW ( int acceptedSW, int sw ) : void
acceptedSW int
sw int
return void

Exchange() protected method

protected Exchange ( byte apdu, int &sw ) : byte[]
apdu byte
sw int
return byte[]

ExchangeApdu() protected method

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
return byte[]

ExchangeApdu() protected method

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
return byte[]

ExchangeApdu() protected method

protected ExchangeApdu ( byte apdu, int acceptedSW ) : byte[]
apdu byte
acceptedSW int
return byte[]

ExchangeApduSplit() protected method

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
return byte[]

ExchangeApduSplit2() protected method

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
return byte[]

GetErrorMessage() protected method

protected GetErrorMessage ( LedgerWalletStatus status ) : string
status LedgerWalletStatus
return string

LedgerClientBase() public method

public LedgerClientBase ( ILedgerTransport transport ) : System
transport ILedgerTransport
return System

Throw() protected method

protected Throw ( int sw ) : void
sw int
return void

Property Details

OK public_oe static_oe property

public static int[] OK
return int[]