C# Class Gurux.DLMS.Secure.GXSecure

Mostra file Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
GenerateChallenge ( Authentication authentication ) : byte[]

Generates challenge.

Secure ( GXDLMSSettings settings, GXICipher cipher, UInt32 ic, byte data, byte secret ) : byte[]

Chipher text.

Private Methods

Method Description
GXSecure ( ) : System

Constructor.

Method Details

GenerateChallenge() public static method

Generates challenge.
public static GenerateChallenge ( Authentication authentication ) : byte[]
authentication Authentication ///Used authentication. ///
return byte[]

Secure() public static method

Chipher text.
public static Secure ( GXDLMSSettings settings, GXICipher cipher, UInt32 ic, byte data, byte secret ) : byte[]
settings GXDLMSSettings ///DLMS settings. ///
cipher GXICipher ///Cipher. ///
ic System.UInt32 ///Invocation counter. ///
data byte ///Text to chipher. ///
secret byte ///Secret. ///
return byte[]