GetSymmetricEncryptionKey Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.