Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RSAOAEPKeyExchangeDeformatter.DecryptKeyExchange Method

Extracts secret information from the encrypted key exchange data.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib.Extensions (in mscorlib.Extensions.dll)

[SecuritySafeCriticalAttribute]
public override byte[] DecryptKeyExchange(
	byte[] rgbData
)

Parameters

rgbData
Type: System.Byte[]
The key exchange data within which the secret information is hidden.

Return Value

Type: System.Byte[]
The secret information derived from the key exchange data.

ExceptionCondition
CryptographicException

The key exchange data verification has failed.

CryptographicUnexpectedOperationException

The key is missing.

You must specify a key before calling this method.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2015 Microsoft