XBee C# library API reference

Show / Hide Table of Contents

Class CounterModeCryptoTransform

Inheritance
System.Object
CounterModeCryptoTransform
Implements
System.Security.Cryptography.ICryptoTransform
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.Utils
Assembly: XBeeLibrary.Core.dll
Syntax
public class CounterModeCryptoTransform : ICryptoTransform, IDisposable

Constructors

CounterModeCryptoTransform(SymmetricAlgorithm, Byte[], Byte[])

Declaration
public CounterModeCryptoTransform(SymmetricAlgorithm symmetricAlgorithm, byte[] key, byte[] counter)
Parameters
Type Name Description
System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm
System.Byte[] key
System.Byte[] counter

Properties

CanReuseTransform

Declaration
public bool CanReuseTransform { get; }
Property Value
Type Description
System.Boolean

CanTransformMultipleBlocks

Declaration
public bool CanTransformMultipleBlocks { get; }
Property Value
Type Description
System.Boolean

InputBlockSize

Declaration
public int InputBlockSize { get; }
Property Value
Type Description
System.Int32

OutputBlockSize

Declaration
public int OutputBlockSize { get; }
Property Value
Type Description
System.Int32

Methods

DecrementCounter()

Declaration
public void DecrementCounter()

Dispose()

Declaration
public void Dispose()

TransformBlock(Byte[], Int32, Int32, Byte[], Int32)

Declaration
public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Parameters
Type Name Description
System.Byte[] inputBuffer
System.Int32 inputOffset
System.Int32 inputCount
System.Byte[] outputBuffer
System.Int32 outputOffset
Returns
Type Description
System.Int32

TransformFinalBlock(Byte[], Int32, Int32)

Declaration
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
Parameters
Type Name Description
System.Byte[] inputBuffer
System.Int32 inputOffset
System.Int32 inputCount
Returns
Type Description
System.Byte[]

Implements

System.Security.Cryptography.ICryptoTransform
System.IDisposable
Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.