Class MalformedMessage
- Namespace
- Lextm.SharpSnmpLib.Messaging
- Assembly
- SharpSnmpLib.dll
Malformed message for v3 due to decryption failures or wrong user names.
public sealed class MalformedMessage : ISnmpMessage
- Inheritance
-
MalformedMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
MalformedMessage(int, OctetString, ISnmpData)
Initializes a new instance of the MalformedMessage class.
public MalformedMessage(int messageId, OctetString user, ISnmpData data)
Parameters
messageId
intThe message id.
user
OctetStringThe user.
data
ISnmpDataThe data encrypted.
Properties
EncryptedScope
Encrypted scope data.
public ISnmpData EncryptedScope { get; set; }
Property Value
- ISnmpData
The original scope data from packet, which remains encrypted.
Header
Gets the header.
public Header Header { get; }
Property Value
Parameters
Gets the parameters.
public SecurityParameters Parameters { get; }
Property Value
- SecurityParameters
The parameters.
Privacy
Gets the privacy provider.
public IPrivacyProvider Privacy { get; }
Property Value
- IPrivacyProvider
The privacy provider.
Scope
Gets the scope.
public Scope Scope { get; }
Property Value
- Scope
The fake scope, which is used to avoid exceptions in message handling.
Version
Gets the version.
public VersionCode Version { get; }
Property Value
- VersionCode
The version.
Methods
ToBytes()
Converts to the bytes.
public byte[] ToBytes()
Returns
- byte[]
ToString()
Returns a string that represents this instance.
public override string ToString()