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)

'Declaration
Public Delegate Function GetSymmetricEncryptionKey ( _
	context As StreamingContext, _
	<OutAttribute> ByRef key As Byte(), _
	<OutAttribute> ByRef iv As Byte() _
) As Boolean
/** @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


Show:
© 2015 Microsoft