AsymmetricKeyExchangeDeformatter::DecryptKeyExchange Method (array<Byte>^)

 

When overridden in a derived class, extracts secret information from the encrypted key exchange data.

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

public:
virtual array<unsigned char>^ DecryptKeyExchange(
	array<unsigned char>^ rgb
) abstract

Parameters

rgb
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.

You must specify a key before calling an implementation of this method.

The following code example demonstrates how to override the DecryptKeyExchange method to create an encrypted key exchange for the specified input data. This code example is part of a larger example provided for the AsymmetricKeyExchangeDeformatter class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 7.1
Return to top
Show: