Class HandShakeHelper
This helper is used to created an handshake between client and Secure Exchanges server.
This helper will created a secure chanel of communication, and will also created a client 256 bits key knowed only by the client
Inheritance
HandShakeHelper
Assembly: SecureExchangesSDK.dll
Syntax
public static class HandShakeHelper
Methods
GenerateHandShakeKey<T>(IEndPointConfiguration, IAuthenticationNeeded)
Declaration
public static HandShake GenerateHandShakeKey<T>(IEndPointConfiguration endPointConfig, IAuthenticationNeeded args) where T : class
Parameters
Returns
Type Parameters
GenerateHandShakeKey<T>(IEndPointConfiguration, Guid)
Declaration
public static HandShake GenerateHandShakeKey<T>(IEndPointConfiguration endPointConfig, Guid serial) where T : class
Parameters
Returns
| Type |
Description |
| HandShake |
A secure Handshake
|
Type Parameters
| Name |
Description |
| T |
The service reference type of Secure Exchanges or SEMS
|
InitializePasswordServerExchanges(string, out string, int)
Initialize Password server exchanges between two server
Declaration
[Obsolete("Not use anymore")]
public static Guid InitializePasswordServerExchanges(string serverURL, out string generatedPassword, int keySize = 1024)
Parameters
| Type |
Name |
Description |
| string |
serverURL |
|
| string |
generatedPassword |
|
| int |
keySize |
|
Returns