Export (0) Print
Expand All

RSAOAEPKeyExchangeDeformatter.DecryptKeyExchange Method

Extracts secret information from the encrypted key exchange data.

[Visual Basic]
Overrides Public Function DecryptKeyExchange( _
   ByVal rgbData() As Byte _
) As Byte()
[C#]
public override byte[] DecryptKeyExchange(
 byte[] rgbData
);
[C++]
public: unsigned char DecryptKeyExchange(
 unsigned char rgbData __gc[]
)  __gc[];
[JScript]
public override function DecryptKeyExchange(
   rgbData : Byte[]
) : Byte[];

Parameters

rgbData
The key exchange data within which the secret information is hidden.

Return Value

The secret information derived from the key exchange data.

Exceptions

Exception Type Condition
CryptographicException The key exchange data verification has failed.

Remarks

You must specify a key before calling this method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

RSAOAEPKeyExchangeDeformatter Class | RSAOAEPKeyExchangeDeformatter Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2014 Microsoft