AES 128-bit key size privacy protocol implementation class.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class PrivacyAES128 : PrivacyAES
Public Class PrivacyAES128 _ Inherits PrivacyAES
public ref class PrivacyAES128 : public PrivacyAES
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PrivacyAES128()()() |
Standard constructor. Initializes the base PrivacyAES class with key size 16 bytes (128-bit).
| |
| 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 |
Returns privacy protocol name "AES128"
(Overrides PrivacyAES..::.Name.) | |
| 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.) |