Class AesCtrCipherParameters

Definition

Namespace:
Tizen.Security.SecureRepository.Crypto
Assembly:
Tizen.Security.SecureRepository.dll
API Level:
3

A class for holding parameters for the AES algorithm with the counter mode.

C#
Copy
public class AesCtrCipherParameters : AesCipherParameters
Inheritance
System.Object
AesCtrCipherParameters

Constructors

View Source

AesCtrCipherParameters()

A default constructor.

Declaration
C#
Copy
public AesCtrCipherParameters()
Remarks

The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesCtr.

API Level: 3

Properties

View Source

CounterLength

Length of the counter block in bits.

Declaration
C#
Copy
public long CounterLength { get; set; }
Property Value
Type Description
System.Int64
Remarks

Optional, only 128b is supported at the moment.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

The value should be positive.

API Level: 3