AES privacy protocol implementation class. This class implements 128, 192 and 256-bit key versions
of the privacy protocol.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class PrivacyAES : IPrivacyProtocol
Public Class PrivacyAES _ Implements IPrivacyProtocol
public ref class PrivacyAES : IPrivacyProtocol
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PrivacyAES(Int32) |
Standard constructor.
| |
| CanExtendShortKey |
AES implementation supports extending of a short encryption key. Always returns true.
| |
| Decrypt(array<Byte>[]()[], Int32, Int32, array<Byte>[]()[], Int32, Int32, array<Byte>[]()[]) |
Decrypt ScopedPdu BER encoded byte array.
| |
| Encrypt(array<Byte>[]()[], Int32, Int32, array<Byte>[]()[], Int32, Int32, array<Byte>[]()[]%) |
Encrypt ScopedPdu data BER encoded in a byte array.
| |
| Equals(Object) | (Inherited from Object.) | |
| ExtendShortKey(array<Byte>[]()[], array<Byte>[]()[], array<Byte>[]()[], IAuthenticationDigest) |
Some protocols support a method to extend the encryption or decryption key when supplied key
is too short.
| |
| GetEncryptedLength(Int32) |
Calculates and returns length of the buffer that is the result of the encryption method.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MaximumKeyLength |
Get maximum encryption/decryption key length required by the protocol.
| |
| MinimumKeyLength |
Get minimum encryption/decryption key length required by the protocol.
| |
| Name |
Privacy protocol name. Returns string "AES"
| |
| PasswordToKey(array<Byte>[]()[], array<Byte>[]()[], IAuthenticationDigest) |
Convert privacy password into encryption key using packet authentication hash.
| |
| PrivacyParametersLength |
Get length of the privacy parameters byte array that is generated by the encryption method and used by the
decryption method.
| |
| ToString()()() | (Inherited from Object.) |