Click or drag to resize

RSAPKCS1KeyExchangeFormatterSetKey Method

Sets the public key to use for encrypting the key exchange data.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public override void SetKey(
	AsymmetricAlgorithm key
)

Parameters

key  AsymmetricAlgorithm
The instance of the Crestron.SimplSharp.Cryptography.RSA algorithm that holds the public key.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also