The PrivacyDES type exposes the following members.

Constructors

  NameDescription
PrivacyDES
Standard constructor.

Methods

  NameDescription
Decrypt
Decrypt DES encrypted ScopedPdu
Encrypt
Encrypt ScopedPdu using DES encryption protocol
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExtendShortKey
Operation not used by DES. Key length has to be 16 bytes of encryption/decryption operation will fail. When called, shortKey is returned.
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
Get final encrypted length
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
Returns next salt value.
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
_salt
Internal salt value. As per RFC standard, salt value is initialized in the constructor and incremented by 1 for each subsequent packet.

Properties

  NameDescription
CanExtendShortKey
DES implementation does NOT support extending of a short encryption key. Always returns false.
MaximumKeyLength
Return maximum encryption/decryption key length. For DES, returned value is 16
MinimumKeyLength
Returns minimum encryption/decryption key length. For DES, returned value is 16.
Name
Privacy protocol name
PrivacyParametersLength
Returns the length of privacyParameters USM header field. For DES, field length is 8.

See Also