Click or drag to resize

RSAPKCS1KeyExchangeFormatterCreateKeyExchange(Byte) Method

Creates the encrypted key exchange data from the specified input data.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public override byte[] CreateKeyExchange(
	byte[] rgbData
)

Parameters

rgbData  Byte
The secret information to be passed in the key exchange.

Return Value

Byte
The encrypted key exchange data to be sent to the intended recipient.
Exceptions
ExceptionCondition
CryptographicExceptionrgbData is too big.
CryptographicUnexpectedOperationExceptionThe key is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also