The PrivacyDES type exposes the following members.

Constructors

  NameDescription
Public methodPrivacyDES
Standard constructor.

Methods

  NameDescription
Public methodDecrypt
Decrypt DES encrypted ScopedPdu
Public methodEncrypt
Encrypt ScopedPdu using DES encryption protocol
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtendShortKey
Operation not used by DES. Key length has to be 16 bytes of encryption/decryption operation will fail. When called, shortKey is returned.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEncryptedLength
Get final encrypted length
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNextSalt
Returns next salt value.
Public methodPasswordToKey
Convert privacy password into encryption key using packet authentication hash.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Protected field_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
Public propertyCanExtendShortKey
DES implementation does NOT support extending of a short encryption key. Always returns false.
Public propertyMaximumKeyLength
Return maximum encryption/decryption key length. For DES, returned value is 16
Public propertyMinimumKeyLength
Returns minimum encryption/decryption key length. For DES, returned value is 16.
Public propertyName
Privacy protocol name
Public propertyPrivacyParametersLength
Returns the length of privacyParameters USM header field. For DES, field length is 8.

See Also