Expand Minimize

GetSymmetricEncryptionKey Delegate

Represents a method that is used in PSCredential to return the encryption key and initialization vector for a symmetric encryption algorithm.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As New GetSymmetricEncryptionKey(AddressOf HandlerMethod)

public delegate bool GetSymmetricEncryptionKey (
	StreamingContext context,
	out byte[] key,
	out byte[] iv
)
/** @delegate */
public delegate boolean GetSymmetricEncryptionKey (
	StreamingContext context, 
	/** @attribute OutAttribute() */ /** @ref */ byte[] key, 
	/** @attribute OutAttribute() */ /** @ref */ byte[] iv
)

Parameters

context

The streaming context, which contains the serialization context.

key

An array of bytes that represents the returned symmetric encryption key.

iv

An array of bytes that represents the returned initialization vector.

Return Value

A Boolean: true if the method succeeded; otherwise, false.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft