Condividi tramite


GetSymmetricEncryptionKey Delegate

Definition

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

public delegate bool GetSymmetricEncryptionKey(StreamingContext context, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % key, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % iv);
public delegate bool GetSymmetricEncryptionKey(StreamingContext context, out byte[] key, out byte[] iv);
type GetSymmetricEncryptionKey = delegate of StreamingContext * Byte[] * Byte[] -> bool
Public Delegate Function GetSymmetricEncryptionKey(context As StreamingContext, ByRef key As Byte(), ByRef iv As Byte()) As Boolean 

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