SpringCard AppleVAS .NET  19.06
Terminal-side implementation of Apple Pass Kit NFC
SpringCard.AppleVas.AppleVasData Class Reference

Encapsulate an Apple VAS message, as it is transmitted by the NFC-enabled iPhone or iPad. More...

Public Member Functions

bool IsTimestampAllowed (int delta=DefaultTimestampDelta)
 Check whether the delta between the computer's current date/time and the timestamp of the message is within an acceptable range. The delta is expressed in seconds.
 
bool IsTimestampAllowed (DateTime reference, int delta=DefaultTimestampDelta)
 Check whether the delta between the specified date/time and the timestamp of the message is within an acceptable range. The delta is expressed in seconds.
 

Static Public Member Functions

static AppleVasData Create (AppleVasConfig config, byte[] rawMessage, out AppleVasError error)
 Try to decode a Message from the raw message provided by the iPhone or iPad.
 
static bool IsTimestampAllowed (DateTime when, DateTime now, int delta=DefaultTimestampDelta)
 Is the timestam allowed ?
 

Public Attributes

const int DefaultTimestampDelta = 100
 Default width (expressed in seconds) of the acceptable timestamp window. See IsTimestampAllowed()
 

Properties

DateTime Timestamp [get]
 Provides the timestamp of the message, i.e. the date/time (in UTC) it has been created on the iPhone or iPad.
 
byte [] Bytes [get]
 Raw content of the message provided by the iPhone or iPad.
 
string HexBytes [get]
 Raw content of the message provided by the iPhone or iPad, expressed in hex.
 
string Base64Bytes [get]
 Raw content of the message provided by the iPhone or iPad, expressed in base64.
 
string Text [get]
 Text translation of the message provided by the iPhone or iPad.
 

Detailed Description

Encapsulate an Apple VAS message, as it is transmitted by the NFC-enabled iPhone or iPad.


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