HID OMNIKEY Smart Card Readers' Sample Codes  0.0.0.116
HidGlobal.OK.Readers.SecureSession.ISecureChannel Interface Reference
Inheritance diagram for HidGlobal.OK.Readers.SecureSession.ISecureChannel:
HidGlobal.OK.Readers.SecureSession.SamSecureSession.SamSecureSession HidGlobal.OK.Readers.SecureSession.SecureChannel

Public Member Functions

void Establish (string sessionKey, byte sessionKeySlotNumber)
 Establish secure channel with given key and access wrights defined by key slot. More...
 
void Establish (byte[] sessionKey, byte sessionKeySlotNumber)
 Establish secure channel with given key and access wrights defined by key slot. More...
 
void Terminate ()
 Closes current channel. More...
 
string SendCommand (string command)
 Encrypts and send given command. Returns decrypted response. More...
 
byte [] SendCommand (byte[] command)
 Encrypts and send given command. Returns decrypted response. More...
 

Properties

bool IsSessionActive [get]
 True if secure channel is established. More...
 

Member Function Documentation

◆ Establish() [1/2]

void HidGlobal.OK.Readers.SecureSession.ISecureChannel.Establish ( string  sessionKey,
byte  sessionKeySlotNumber 
)

Establish secure channel with given key and access wrights defined by key slot.

Parameters
sessionKey
sessionKeySlotNumber

Implemented in HidGlobal.OK.Readers.SecureSession.SecureChannel, and HidGlobal.OK.Readers.SecureSession.SamSecureSession.SamSecureSession.

◆ Establish() [2/2]

void HidGlobal.OK.Readers.SecureSession.ISecureChannel.Establish ( byte []  sessionKey,
byte  sessionKeySlotNumber 
)

Establish secure channel with given key and access wrights defined by key slot.

Parameters
sessionKey
sessionKeySlotNumber

Implemented in HidGlobal.OK.Readers.SecureSession.SecureChannel, and HidGlobal.OK.Readers.SecureSession.SamSecureSession.SamSecureSession.

◆ SendCommand() [1/2]

string HidGlobal.OK.Readers.SecureSession.ISecureChannel.SendCommand ( string  command)

Encrypts and send given command. Returns decrypted response.

Parameters
command
Returns

Implemented in HidGlobal.OK.Readers.SecureSession.SecureChannel, and HidGlobal.OK.Readers.SecureSession.SamSecureSession.SamSecureSession.

◆ SendCommand() [2/2]

byte [] HidGlobal.OK.Readers.SecureSession.ISecureChannel.SendCommand ( byte []  command)

Encrypts and send given command. Returns decrypted response.

Parameters
command
Returns

Implemented in HidGlobal.OK.Readers.SecureSession.SecureChannel, and HidGlobal.OK.Readers.SecureSession.SamSecureSession.SamSecureSession.

◆ Terminate()

void HidGlobal.OK.Readers.SecureSession.ISecureChannel.Terminate ( )

Property Documentation

◆ IsSessionActive

bool HidGlobal.OK.Readers.SecureSession.ISecureChannel.IsSessionActive
get

True if secure channel is established.


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