SpringCard Smart Readers library for .NET  19.9.20
Communicate and manage SpringCard Smart Reader devices
SpringCard.SmartReader.OSDP.OSDPSecureChannel Class Reference

Public Types

enum  SecureChannelRole { Controller, Device }
 

Public Member Functions

 OSDPSecureChannel (SecureChannelRole role=SecureChannelRole.Controller)
 
byte [] GetCHLNG ()
 
void HandleCHLNG (byte[] payload)
 
byte [] GetCCRYPT (byte[] clientId, byte[] key)
 
bool HandleCCRYPT (byte[] payload, byte KeyIndex, OSDPControlPanel ControlPanel, out byte[] ClientId)
 
bool HandleCCRYPT (byte[] payload, byte[] KeyValue, bool useKeyDiversification, out byte[] ClientId)
 
byte [] GetSCRYPT ()
 
bool HandleSCRYPT (byte[] payload)
 
byte [] GetRMACI ()
 
bool HandleRMACI (byte[] payload)
 
byte [] EncipherSend (byte[] inData)
 
byte [] DecipherReceive (byte[] inData)
 
byte [] ComputeRMACI (byte[] block)
 
byte [] ComputeCMACSend (byte[] buffer, int length)
 
byte [] ComputeCMACReceive (byte[] buffer, int length)
 
byte [] ComputeCMAC (byte[] buffer, int length, byte[] iv)
 

Static Public Member Functions

static void SelfTest ()
 

Static Public Attributes

static bool Debug = false
 
static bool UseTestRandoms = false
 

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