GetSymmetricEncryptionKey Delegate

Definition

Declare a delegate which returns the encryption key and initialization vector for symmetric encryption algorithm.

C++
public delegate bool GetSymmetricEncryptionKey(StreamingContext context, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % key, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % iv);

Parameters

context
StreamingContext

The streaming context, which contains the serialization context.

key
Byte[]

Symmetric encryption key.

iv
Byte[]

Symmetric encryption initialization vector.

Return Value

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0