Constructor SnmpV3SecurityConfig
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
SnmpV3SecurityConfig(string)
Initializes a new instance using No Authentication and No Privacy.
public SnmpV3SecurityConfig(string username)
Parameters
username
stringThe username.
Exceptions
- ArgumentNullException
When the username is null.
SnmpV3SecurityConfig(string, string, SnmpV3AuthenticationAlgorithm)
Initializes a new instance using Authentication No Privacy.
public SnmpV3SecurityConfig(string username, string authenticationKey, SnmpV3AuthenticationAlgorithm authenticationAlgorithm)
Parameters
username
stringThe username.
authenticationKey
stringThe Authentication key.
authenticationAlgorithm
SnmpV3AuthenticationAlgorithmThe Authentication Algorithm.
Exceptions
- ArgumentNullException
When username, authenticationKey is null.
- IncorrectDataException
When None or DefinedInCredentialsLibrary is selected as authentication algorithm.
SnmpV3SecurityConfig(string, string, SnmpV3AuthenticationAlgorithm, string, SnmpV3EncryptionAlgorithm)
Initializes a new instance using Authentication and Privacy.
public SnmpV3SecurityConfig(string username, string authenticationKey, SnmpV3AuthenticationAlgorithm authenticationProtocol, string encryptionKey, SnmpV3EncryptionAlgorithm encryptionAlgorithm)
Parameters
username
stringThe username.
authenticationKey
stringThe authentication key.
authenticationProtocol
SnmpV3AuthenticationAlgorithmThe authentication algorithm.
encryptionKey
stringThe encryptionKey.
encryptionAlgorithm
SnmpV3EncryptionAlgorithmThe encryption algorithm.
Exceptions
- ArgumentNullException
When username, authenticationKey or encryptionKey is null.
- IncorrectDataException
When None or DefinedInCredentialsLibrary is selected as authentication algorithm or encryption algorithm.
SnmpV3SecurityConfig()
Default empty constructor.
public SnmpV3SecurityConfig()