Click or drag to resize

RSAPKCS1KeyExchangeDeformatterSetKey Method

Sets the private key to use for decrypting the secret information.

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 private key.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also