C# Class LedgerWallet.U2F.U2FClient

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

Méthodes publiques

Méthode Description
Authenticate ( byte challenge, AppId applicationId, KeyHandle keyHandle, CancellationToken cancellationToken = default(CancellationToken) ) : U2FAuthenticationResponse
GetHIDU2F ( ) : IEnumerable
Register ( AppId applicationId, CancellationToken cancellationToken = default(CancellationToken) ) : U2FRegistrationResponse
Register ( byte challenge, AppId applicationId, CancellationToken cancellationToken = default(CancellationToken) ) : U2FRegistrationResponse
U2FClient ( ILedgerTransport transport ) : System

Méthodes protégées

Méthode Description
ExchangeApduNoDataLength ( byte cla, byte ins, byte p1, byte p2, byte data, int &sw ) : byte[]

Private Methods

Méthode Description
ExchangeApdu ( byte ins, byte p1, byte p2, byte data, CancellationToken cancellationToken ) : byte[]

Method Details

Authenticate() public méthode

public Authenticate ( byte challenge, AppId applicationId, KeyHandle keyHandle, CancellationToken cancellationToken = default(CancellationToken) ) : U2FAuthenticationResponse
challenge byte
applicationId AppId
keyHandle KeyHandle
cancellationToken System.Threading.CancellationToken
Résultat U2FAuthenticationResponse

ExchangeApduNoDataLength() protected méthode

protected ExchangeApduNoDataLength ( byte cla, byte ins, byte p1, byte p2, byte data, int &sw ) : byte[]
cla byte
ins byte
p1 byte
p2 byte
data byte
sw int
Résultat byte[]

GetHIDU2F() public static méthode

public static GetHIDU2F ( ) : IEnumerable
Résultat IEnumerable

Register() public méthode

public Register ( AppId applicationId, CancellationToken cancellationToken = default(CancellationToken) ) : U2FRegistrationResponse
applicationId AppId
cancellationToken System.Threading.CancellationToken
Résultat U2FRegistrationResponse

Register() public méthode

public Register ( byte challenge, AppId applicationId, CancellationToken cancellationToken = default(CancellationToken) ) : U2FRegistrationResponse
challenge byte
applicationId AppId
cancellationToken System.Threading.CancellationToken
Résultat U2FRegistrationResponse

U2FClient() public méthode

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