The IPrivacyProtocol type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Decrypt |
Decrypt ScopedPdu BER encoded byte array.
| |
| Encrypt |
Encrypt ScopedPdu data BER encoded in a byte array.
| |
| ExtendShortKey |
Some protocols support a method to extend the an encryption or decryption key when supplied key
is too short. Currently this method is only supported by the SHA and TripleDES privacy protocols.
NOT TESTED!
| |
| GetEncryptedLength |
Calculates and returns length of the buffer that is the result of the encryption method.
| |
| PasswordToKey |
Convert privacy password into encryption key using packet authentication hash.
|
Properties
| Name | Description | |
|---|---|---|
| CanExtendShortKey |
Returns true if derived class supports key extension, otherwise false.
| |
| 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
| |
| PrivacyParametersLength |
Get length of the privacy parameters byte array that is generated by the encryption method and used by the
decryption method.
|