|
| CompanionDirectDevice (string DeviceId) |
| Instantiate a device through the service given its ID. More...
|
|
override bool | Open () |
| Open a connection to the device. More...
|
|
override void | Close () |
| Close the connection with the device. More...
|
|
override void | Release () |
| Release all resources associated to the device. More...
|
|
override bool | Active () |
| Is the connection open? More...
|
|
override bool | Exchange (byte cla, byte cmd, byte[] send_data, out byte sta, out byte[] out_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
override bool | Exchange (byte cla, byte[] send, out byte[] recv, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
virtual void | Dispose () |
| Dispose of the device object. More...
|
|
bool | Exchange (byte cla, byte[] send, out byte[] recv) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (CLA cla, byte[] send, out byte[] recv, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (CLA cla, byte[] send, out byte[] recv) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (byte cla, byte[] send, ExchangeOptions options) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (byte cla, byte[] send) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (CLA cla, byte[] send, ExchangeOptions options) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (CLA cla, byte[] send) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data, out byte sta, out byte[] out_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data, out byte sta, out byte[] out_data) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (byte cla, byte cmd, byte[] send_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (byte cla, byte cmd, byte[] send_data) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data) |
| Send a command to the device (and wait for its response, but the response is discarded). More...
|
|
bool | Exchange (byte cla, byte cmd, byte[] send_data, out byte[] recv_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (byte cla, byte cmd, byte[] send_data, out byte[] recv_data) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data, out byte[] recv_data, ExchangeOptions options) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Exchange (CLA cla, byte cmd, byte[] send_data, out byte[] recv_data) |
| Send a command to the device (and wait for its response). More...
|
|
bool | Ping () |
| Ping the device to verify that the connection stays active. More...
|
|
virtual string | GetVendorName () |
| Get the device's Vendor Name. More...
|
|
virtual string | GetProductName () |
| Get the device's Product Name. More...
|
|
virtual string | GetSerialNumber () |
| Get the device's Serial Number. More...
|
|
virtual string | GetPnpId () |
| Get the device's Plug'N'Play ID. More...
|
|
virtual string | GetVersion () |
| Get the device's Firmware Version. More...
|
|
virtual string | GetRevision () |
| Get the device's Firmware Revision. More...
|
|
virtual string | GetBuildUser () |
| Get the user that has built the device's Firmware. More...
|
|
virtual string | GetBuildDateTime () |
| Get the date and time of building the device's Firmware. More...
|
|
virtual string | GetFirmwareName () |
| Get the name of the device's Firmware. More...
|
|
virtual string | GetUniqueId () |
| Get the device's Unique ID. More...
|
|
virtual string | GetConfigurationId () |
| Get the GUID of the configuration. More...
|
|
virtual string | GetHardwareReference () |
| Get the device's Hardware Reference. More...
|
|
virtual string | GetHardwareCharacteristics () |
| Get the device's Hardware Characteristics. More...
|
|
virtual string | GetOriginalVendorName () |
| Get the device's original Vendor Name. More...
|
|
virtual string | GetOriginalProductName () |
| Get the device's original Product Name. More...
|
|
virtual string | GetDetectedProductVariant () |
| Get the device's Product Variant. More...
|
|
bool | AuthenticateAes (KeySelect keySelect, byte[] keyValue) |
| Get authenticated onto the SpringCore device (https://docs.springcard.com/books/SpringCore/Host_interfaces/Logical/Direct_Protocol/Secure_Communication) More...
|
|
bool | ChangeKeyAes (KeySelect keySelect, byte[] keyValue) |
| Change a key (https://docs.springcard.com/books/SpringCore/Host_interfaces/Logical/Direct_Protocol/PROTOCOL_class/CHANGE_KEY) More...
|
|
bool | ResetAuthentication () |
| Clear the authenticate state (forget the session keys) More...
|
|
bool | AuthenticateFactory (string privateKeyFile=null) |
|
|
static string | ApiUrl () |
| Actual URL of the service. More...
|
|
static bool | ServiceIsRunning () |
| Is the service running? More...
|
|
static List< string > | GetDeviceList () |
| Retrieve the list of devices from the service. More...
|
|
static List< string > | GetList (ListMode listMode) |
| List the available devices. More...
|
|
static DirectDevice | CreateNoDevice () |
| Instantiate a dummy device (for test only). More...
|
|
static DirectDevice | Create (string devicePath, BlockingCollection< DirectDevice.IncomingEvent > eventQueue=null) |
| Instantiate a device, given a devicePath returned by GetList. More...
|
|
static DirectDevice | Create (ListMode listMode, int deviceIndex, BlockingCollection< DirectDevice.IncomingEvent > eventQueue=null) |
| Instantiate a device, given an (assumed) index in the list of devices. More...
|
|
static DirectDevice | Create (List< string > devicePaths, int deviceIndex, BlockingCollection< DirectDevice.IncomingEvent > eventQueue=null) |
| Instantiate a device, given an index and the list of devices. More...
|
|
static byte[] | CreateFactoryChallengeResponse (string privateKeyFile, byte[] challenge) |
| Create a signature for the challenge, using the specified private key file (.pem format) More...
|
|
static byte[] | CreateFactoryChallengeResponse (byte[] challenge) |
| Create a signature for the challenge, using the SpringCoreAuthenticateFactory.private.pem private key (if present in the execution path) More...
|
|
static byte[] | CreateSignature (AsymmetricCipherKeyPair privateKey, byte[] message) |
| Create a signature, using the SpringCoreAuthenticitySeal.private.pem private key (if present in the execution path) More...
|
|
static bool | IsSealValid (string publicKeyFile, byte[] subject, byte[] seal) |
| Verify that the device's seal is genuine, using the specified public key file (.pem format) More...
|
|
static bool | IsSealValid (byte[] subject, byte[] seal) |
| Verify that the device's seal is genuine, using the SpringCoreAuthenticitySeal.pem public key (if present in the execution path) More...
|
|
static byte[] | CreateSeal (string privateKeyFile, byte[] subject) |
| Create a seal for the device, using the specified private key file (.pem format) More...
|
|
static byte[] | CreateSeal (byte[] subject) |
| Create a seal for the device, using the SpringCoreAuthenticitySeal.private.pem private key (if present in the execution path) More...
|
|
Access to a SpringCore device through the Companion service.