The IPrivacyProtocol type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Decrypt(array<Byte>[]()[], Int32, Int32, array<Byte>[]()[], Int32, Int32, array<Byte>[]()[])
Decrypt ScopedPdu BER encoded byte array.
Encrypt(array<Byte>[]()[], Int32, Int32, array<Byte>[]()[], Int32, Int32, array<Byte>[]()[]%)
Encrypt ScopedPdu data BER encoded in a byte array.
ExtendShortKey(array<Byte>[]()[], array<Byte>[]()[], array<Byte>[]()[], IAuthenticationDigest)
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(Int32)
Calculates and returns length of the buffer that is the result of the encryption method.
PasswordToKey(array<Byte>[]()[], array<Byte>[]()[], IAuthenticationDigest)
Convert privacy password into encryption key using packet authentication hash.

See Also