Compartilhar via


RSAPKCS1KeyExchangeDeformatter.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 ( _
    rgbIn As Byte() _
) As Byte()
[SecuritySafeCriticalAttribute]
public override byte[] DecryptKeyExchange(
    byte[] rgbIn
)

Parameters

  • rgbIn
    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
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.