C# Class Gurux.DLMS.Secure.GXSecure

Afficher le fichier Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Méthodes publiques

Méthode Description
GenerateChallenge ( Authentication authentication ) : byte[]

Generates challenge.

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

Chipher text.

Private Methods

Méthode Description
GXSecure ( ) : System

Constructor.

Method Details

GenerateChallenge() public static méthode

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

Secure() public static méthode

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. ///
Résultat byte[]