DlmsDataSecuritySettings Class

Holds settings of DLMS Data access security and Data transport security.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public class DlmsDataSecuritySettings
Inheritance
Object    DlmsDataSecuritySettings

Constructors

DlmsDataSecuritySettings Initializes a new instance of DlmsDataSecuritySettings.

Properties

AK Authentication key.
AKStr AK as hexadecimal string.
AuthentizeMeterinHls Gets or sets if meter should be authentized in 4th step in HLS.
AuthentizeRequest Gets or sets if requests will be authentized.
AuthentizeResponse Gets or sets if responses will be authentized.
Broadcast Indicates if GBEK bit should be set in security header when global encryption key is used.
CipheringType Specifies which key is used for ciphering.
ClientSigningCertificate Certificate containing client public signng key. Used to be sent to meter for verifying ECDSA signature. Certificate is stored in DER format.
ClientSigningCertificateStr ClientSigningCertificate as a hexadecimal string.
ClientSysTitle Unique identifier of the client device.
CtoS Value of challenge in case of HLS, transmitted by the client.
DataAccessSecurityLevel Level of data access security.
EKdedicated Key used for dedicated ciphering.
EKdedicatedStr EKdedicated as hexadecimal string.
EKglobal Key used for global ciphering.
EKglobalStr EKglobal as hexadecimal string.
EncryptAARQ Gets or sets if AARQ will be encrypted.
EncryptRequest Gets or sets if requests will be encrypted.
EncryptResponse Gets or sets if responses will be encrypted.
ExchangeCertificates Whether to exhchange certificates while authenticating in HighLevelSecurityEcdsa.
FrameCounterValue Initial value of frame counter. This value is changing during the communication to let it store after communication is done.
GenerateCtoS Whether to generate CtoS automatically in SetupKeys.
GenerateDedicatedKey Whether to generate EKdedicated automatically in SetupKeys.
LLSPassword Password for Low level data access security. It is used also as HLS_Secret for HLS6.
MeterSigningCa CA certificate of meter signing certificate. Used to verify meter certificate. Certificate is stored in DER format.
MeterSigningCaStr MeterSigningCa as a hexadecimal string.
MeterSigningCertificate Certificate containing meter public signng key. Used to verify ECDSA signature. Certificate is stored in DER format. It may be obtained from a meter by parsing AARE (dynamic HLS7).
MeterSigningCertificateStr MeterSigningCertificate as a hexadecimal string.
PrivateSigningKey Signing key for ECDSA signature.
PrivateSigningKeyStr PrivateSigningKey as hexadecimal string.
SecuritySuiteId Determines the cryptographic algorithm(s) used for message security.
ServerSysTitle Unique identifier of the server device (meter). It is obtained from a meter by parsing AARE.
ServerSysTitleStr ServerSysTitle as hexadecimal string.
StoC Value of challenge in case of HLS, transmitted by the server. It is filled by parsing AARE.

Methods

AcceptableForBroadcast Compares this settings with a template to check if they can be used for broadcast.
EqualsDetermines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
GetDataAccessSecurityDescription Gets desciption for enum value.
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Import Loads settings from instance passed as the parameter.
SetupKeys Sets necessary keys for the current security settings.

See Also