Click or drag to resize

CryptoAPITransformTransformBlock Method

Computes the transformation for the specified region of the input byte array and copies the resulting transformation to the specified region of the output byte array.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public int TransformBlock(
	byte[] inputBuffer,
	int inputOffset,
	int inputCount,
	byte[] outputBuffer,
	int outputOffset
)

Parameters

inputBuffer  Byte
The input on which to perform the operation on.
inputOffset  Int32
The offset into the input byte array from which to begin using data from.
inputCount  Int32
The number of bytes in the input byte array to use as data.
outputBuffer  Byte
The output to which to write the data to.
outputOffset  Int32
The offset into the output byte array from which to begin writing data from.

Return Value

Int32
The number of bytes written.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe inputBuffer parameter is null. -or- The outputBuffer parameter is null.
ArgumentExceptionThe length of the input buffer is less than the sum of the input offset and the input count.
ArgumentOutOfRangeExceptioninputOffset is out of range. This parameter requires a non-negative number.

Version Information

.NET Compact Framework

Supported in: 3.5
See Also