SpringCard PC/SC Helpers for .NET  18.10.10
High-level access to a few current cards and to advanced coupler features
SpringCard.PCSC.CardHelpers.Apple.VAS.AppleVasController Class Reference

This object runs the transaction with the Apple VAS-enabled NFC card (i.e. an iPhone or iPad running in card emulation mode) More...

Public Member Functions

 AppleVasController (AppleVasMerchant merchant)
 Create an Apple VAS controller for the given Merchant.
 
 AppleVasController (List< AppleVasMerchant > merchants)
 Create an Apple VAS controller for more than one Merchant.
 
bool DoTransaction (ICardApduTransmitter cardChannel, out AppleVasMessage message)
 Run the Apple VAS transaction.
 

Static Public Member Functions

static bool SelectOSE (ICardApduTransmitter cardChannel)
 Send the SelectOSE APDU to the the card, and check that the status word is 9000 and the FCI is OK.
 
static byte [] GetVasData (ICardApduTransmitter cardChannel, AppleVasMerchant merchant)
 Send the GetVasData APDU to the the card for the given Merchant, and check that the status word is 9000.
 
static bool ExtractVasDataResponse (byte[] responseBuffer, out byte[] rawMessage)
 Process the response to GetVasData() and retrieve the raw message.
 
static bool SelfTest (bool throwException=true)
 

Detailed Description

This object runs the transaction with the Apple VAS-enabled NFC card (i.e. an iPhone or iPad running in card emulation mode)


The documentation for this class was generated from the following file: