DlmsSecuritySuiteSettingsGetEcdhPrivateKeyLength Method

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.

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 int GetEcdhPrivateKeyLength(
	byte securitySuiteId
)

Parameters

securitySuiteId  Byte
Target security suite. It must correspond to the key. It can be different to current security settings which is used for communication.

Return Value

Int32

Exceptions

See Also