DlmsSecuritySuiteSettings Class

Encapsulates properties of particular Security Suite.

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 static class DlmsSecuritySuiteSettings
Inheritance
Object    DlmsSecuritySuiteSettings

Methods

CreateEcdhPublicKeyBlob Creates a key blob that will contain a meter public signing key. It may be used to derive symetric key using ECDH algorithm.
CreateEcdsaPrivateKeyBlob Creates a key blob that will contain a private signing key. It may then be used to create ECDSA signature. This key blob cannot be used to verify signature because it does not contain a public key.
GetEcdhKeyDerivationHashAlgorithm Gets hash algorithm of key derivation function in ECDH key agreement.
GetEcdhPrivateKeyLength Returns expected length (in bytes) of private signing key of ECDH algorithm according to the security suite. If ECDH is not supported for specified security suite, exception is thrown.
GetEcdsaHashAlgorithm Gets hash algorithm for ECDSA signing function according to the security suite.
GetEcdsaPrivateSigningKeyLength Returns expected length (in bytes) of private signing key of ECDSA algorithm according to the security suite. If ECDSA is not supported for specified security suite, exception is thrown.
GetEncryptionKeyLength Returns expected encryption key length (in bytes) according to security suite.
GetWrapperKeyLength Returns expected wrapper key length (in bytes) according to security suite.

See Also