次の方法で共有


RSAOAEPKeyExchangeDeformatter.DecryptKeyExchange Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Extracts secret information from the encrypted key exchange data.

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Overrides Function DecryptKeyExchange ( _
    rgbData As Byte() _
) As Byte()
[SecuritySafeCriticalAttribute]
public override byte[] DecryptKeyExchange(
    byte[] rgbData
)

Parameters

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

Return Value

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

Exceptions

Exception Condition
CryptographicException

The key exchange data verification has failed.

CryptographicUnexpectedOperationException

The key is missing.

Remarks

You must specify a key before calling this method.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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