AssymetricEncryption.ExchangeKeys Method

Tungsten Suite

AssymetricEncryptionExchangeKeys Method

Calls the function which completes the exchange and sets RemotePublicKey to the result. This function must be implemented by the developer and is contextual to his or her scenario. In all cases however, the return value must be the remote public key upon success, or null to specify a failure.

Namespace:  W.Encryption
Assembly:  Tungsten.Encryption (in Tungsten.Encryption.dll) Version: 2.0.2
Syntax
C#
public bool ExchangeKeys(
	Func<RSAParameters, Nullable<RSAParameters>> del
)

Parameters

del
Type: SystemFuncRSAParameters, NullableRSAParameters
The function to call

Return Value

Type: Boolean
True if RemotePublicKey was assigned a non-null value, otherwise False
See Also