Show / Hide Table of Contents

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
System.Object
HandShakeHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SecureExchangesSDK.Helpers
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
Type Name Description
IEndPointConfiguration endPointConfig
IAuthenticationNeeded args
Returns
Type Description
HandShake
Type Parameters
Name Description
T

GenerateHandShakeKey<T>(IEndPointConfiguration, Guid)

Generate an handshake

Declaration
public static HandShake GenerateHandShakeKey<T>(IEndPointConfiguration endPointConfig, Guid serial)
    where T : class
Parameters
Type Name Description
IEndPointConfiguration endPointConfig

The name of the endpoint config

System.Guid serial

The serial of the owner

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, Int32)

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
System.String serverURL
System.String generatedPassword
System.Int32 keySize
Returns
Type Description
System.Guid
In This Article
Back to top Generated by DocFX