The PrivacyAES type exposes the following members.

Constructors

  NameDescription
PrivacyAES
Standard constructor.

Methods

  NameDescription
Decrypt
Decrypt ScopedPdu BER encoded byte array.
Encrypt
Encrypt ScopedPdu data BER encoded in a byte array.
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.
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.
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.
PasswordToKey
Convert privacy password into encryption key using packet authentication hash.
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).
_salt
Salt value

Properties

  NameDescription
CanExtendShortKey
AES implementation supports extending of a short encryption key. Always returns true.
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"
PrivacyParametersLength
Get length of the privacy parameters byte array that is generated by the encryption method and used by the decryption method.

See Also