Class CmeSecureLogonStrategy
CME secure logon provides an ability to logon using SHA256 digital signature technique.
This logon feature has been introduced by CME and provides highest security.
Inheritance
System.Object
CmeSecureLogonStrategy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Core.dll
Syntax
public class CmeSecureLogonStrategy : ILogonCustomizationStrategy
Fields
AccessIdParamName
Declaration
public const string AccessIdParamName = "Access ID"
Field Value
Type |
Description |
System.String |
|
Declaration
public const int AppSystemNameTag = 1603
Field Value
Type |
Description |
System.Int32 |
|
AppSystemVendorTag
Declaration
public const int AppSystemVendorTag = 1605
Field Value
Type |
Description |
System.Int32 |
|
CanonicalStringDelimiter
Declaration
public const string CanonicalStringDelimiter = "\n"
Field Value
Type |
Description |
System.String |
|
CreationDateParamName
Declaration
public const string CreationDateParamName = "Creation Date"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly string DateFormat
Field Value
Type |
Description |
System.String |
|
EncodedTextLenTag
Declaration
public const int EncodedTextLenTag = 354
Field Value
Type |
Description |
System.Int32 |
|
EncodedTextTag
Declaration
public const int EncodedTextTag = 355
Field Value
Type |
Description |
System.Int32 |
|
EncryptedPasswordLenTag
Declaration
public const int EncryptedPasswordLenTag = 1401
Field Value
Type |
Description |
System.Int32 |
|
EncryptedPasswordMethodDefaultValue
Declaration
public const string EncryptedPasswordMethodDefaultValue = "CME-1-SHA-256"
Field Value
Type |
Description |
System.String |
|
EncryptedPasswordMethodTag
Declaration
public const int EncryptedPasswordMethodTag = 1400
Field Value
Type |
Description |
System.Int32 |
|
EncryptedPasswordTag
Declaration
public const int EncryptedPasswordTag = 1402
Field Value
Type |
Description |
System.Int32 |
|
EnvironmentParamName
Declaration
public const string EnvironmentParamName = "Environment"
Field Value
Type |
Description |
System.String |
|
ExpirationDateParamName
Declaration
public const string ExpirationDateParamName = "Expiration Date"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly int[] RequiredTagsForCanonicalString
Field Value
Type |
Description |
System.Int32[] |
|
SecretKeyParamName
Declaration
public const string SecretKeyParamName = "Secret Key"
Field Value
Type |
Description |
System.String |
|
SessionIdParamName
Declaration
public const string SessionIdParamName = "Session ID"
Field Value
Type |
Description |
System.String |
|
TradingSystemVersionTag
Declaration
public const int TradingSystemVersionTag = 1604
Field Value
Type |
Description |
System.Int32 |
|
Methods
CalculateHmac(String, String)
Declaration
public virtual string CalculateHmac(string canonicalRequest, string userKey)
Parameters
Type |
Name |
Description |
System.String |
canonicalRequest |
|
System.String |
userKey |
|
Returns
Type |
Description |
System.String |
|
CompleteLogon(FixMessage)
Declaration
public void CompleteLogon(FixMessage logonMessage)
Parameters
CreateCanonicalRequest(FixMessage)
Declaration
public virtual string CreateCanonicalRequest(FixMessage logonMessage)
Parameters
Returns
Type |
Description |
System.String |
|
IsDateExpired(String)
Declaration
public virtual bool IsDateExpired(string expirationDateStr)
Parameters
Type |
Name |
Description |
System.String |
expirationDateStr |
|
Returns
Type |
Description |
System.Boolean |
|
SetSessionParameters(SessionParameters)
Declaration
public void SetSessionParameters(SessionParameters sessionParameters)
Parameters
Implements