Class AesCtrCipherParameters

Definition

Namespace:
Tizen.Security.SecureRepository.Crypto
Assembly:
Tizen.Security.SecureRepository.dll

Holds parameters for the AES algorithm with the counter mode.

C#
Copy
public class AesCtrCipherParameters : AesCipherParameters
Inheritance
object
AesCtrCipherParameters

Constructors

View Source

AesCtrCipherParameters()

Initializes an instance of AesCtrCipherParameters class.

Declaration
C#
Copy
public AesCtrCipherParameters()
Remarks

CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesCtr.

Properties

View Source

CounterLength

Gets and sets the length of the counter block in bits.

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

Length of the counter block in bits. Optional, only 128b is supported at the moment.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Thrown when value is not positive.