DecryptKeyExchange Method
Collapse the table of content
Expand the table of content

RSAOAEPKeyExchangeDeformatter.DecryptKeyExchange Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Extracts secret information from the encrypted key exchange data.

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

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft