CryptoAPITransformTransformFinalBlock Method |
Computes the transformation for the specified region of the specified byte array.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic byte[] TransformFinalBlock(
byte[] inputBuffer,
int inputOffset,
int inputCount
)
Parameters
- inputBuffer Byte
- The input on which to perform the operation on.
- inputOffset Int32
- The offset into the byte array from which to begin using data from.
- inputCount Int32
- The number of bytes in the byte array to use as data.
Return Value
ByteThe computed transformation.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | The inputBuffer parameter is null. |
| ArgumentException |
The inputOffset parameter is less than zero. -or- The inputCount parameter
is less than zero. -or- The length of the input buffer is less than the
sum of the input offset and the input count.
|
| CryptographicException | The Crestron.SimplSharp.Cryptography.PaddingMode.PKCS7 padding is invalid. |
| ArgumentOutOfRangeException | The inputOffset parameter is out of range. This parameter requires a non-negative number. |
Version Information
.NET Compact Framework
Supported in: 3.5
See Also