API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.DLL.SafeGate.Crypto Class Reference

That singleton class contains method to encrypt /decrypt messages. Result of an encryption is an instance of the class CCypherMessage. More...

Public Member Functions

 Crypto ()
 Initializes a new instance of the Crypto class. More...
 
void GeneratePublicKey ()
 Generates the public key. More...
 
void GeneratePrivateKey ()
 Generates the private key. More...
 
CCypherMessage Encrypt (string message)
 Encrypts the specified message. More...
 
string Decrypt (CCypherMessage cypherMessage)
 Decrypts the specified cypher message. More...
 
void createLicense ()
 

Static Public Member Functions

static Crypto GetInstance ()
 Gets the instance. More...
 

Properties

bool KeyWasFound [get]
 A flag that indicates if the system can found the public key. More...
 

Detailed Description

That singleton class contains method to encrypt /decrypt messages. Result of an encryption is an instance of the class CCypherMessage.

Constructor & Destructor Documentation

Kinova.DLL.SafeGate.Crypto.Crypto ( )

Initializes a new instance of the Crypto class.

Member Function Documentation

string Kinova.DLL.SafeGate.Crypto.Decrypt ( CCypherMessage  cypherMessage)

Decrypts the specified cypher message.

Parameters
cypherMessageThe cypher message.
Returns
The clear message.
CCypherMessage Kinova.DLL.SafeGate.Crypto.Encrypt ( string  message)

Encrypts the specified message.

Parameters
messageThe message.
Returns
void Kinova.DLL.SafeGate.Crypto.GeneratePrivateKey ( )

Generates the private key.

void Kinova.DLL.SafeGate.Crypto.GeneratePublicKey ( )

Generates the public key.

static Crypto Kinova.DLL.SafeGate.Crypto.GetInstance ( )
static

Gets the instance.

Returns

Property Documentation

bool Kinova.DLL.SafeGate.Crypto.KeyWasFound
get

A flag that indicates if the system can found the public key.


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