The PrivacyAES128 type exposes the following members.

Constructors

  NameDescription
PrivacyAES128
Standard constructor. Initializes the base PrivacyAES class with key size 16 bytes (128-bit).

Methods

  NameDescription
Decrypt
Decrypt ScopedPdu BER encoded byte array.
(Inherited from PrivacyAES.)
Encrypt
Encrypt ScopedPdu data BER encoded in a byte array.
(Inherited from PrivacyAES.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExtendShortKey
Some protocols support a method to extend the encryption or decryption key when supplied key is too short.
(Inherited from PrivacyAES.)
FieldGetter (Inherited from Object.)
FieldSetter (Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEncryptedLength
Calculates and returns length of the buffer that is the result of the encryption method.
(Inherited from PrivacyAES.)
GetFieldInfo (Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
NextSalt
Get next salt Int64 value. Used internally to encrypt data.
(Inherited from PrivacyAES.)
PasswordToKey
Convert privacy password into encryption key using packet authentication hash.
(Inherited from PrivacyAES.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_keyBytes
AES protocol key bytes. Valid values are 16 (for AES128), 24 (AES192) or 32 (AES256).
(Inherited from PrivacyAES.)
_salt
Salt value
(Inherited from PrivacyAES.)

Properties

  NameDescription
CanExtendShortKey
AES implementation supports extending of a short encryption key. Always returns true.
(Inherited from PrivacyAES.)
MaximumKeyLength
Get maximum encryption/decryption key length required by the protocol.
(Inherited from PrivacyAES.)
MinimumKeyLength
Get minimum encryption/decryption key length required by the protocol.
(Inherited from PrivacyAES.)
Name
Returns privacy protocol name "AES128"
(Overrides PrivacyAES..::.Name.)
PrivacyParametersLength
Get length of the privacy parameters byte array that is generated by the encryption method and used by the decryption method.
(Inherited from PrivacyAES.)

See Also