Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetSymmetricEncryptionKey Delegate

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

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

public delegate bool GetSymmetricEncryptionKey(
	StreamingContext context,
	out byte[] key,
	out byte[] iv
)

Parameters

context
Type: System.Runtime.Serialization.StreamingContext

The streaming context, which contains the serialization context.

key
Type: System.Byte[]

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

iv
Type: System.Byte[]

An array of bytes that represents the returned initialization vector.

Return Value

Type: System.Boolean

Currently returns true if the call was successful.

Return to top
Show: