Class AesCtrCipherParameters

    Definition

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

    Holds parameters for the AES algorithm with the counter mode.

    public class AesCtrCipherParameters : AesCipherParameters
    Inheritance
    object
    CipherParameters
    AesCipherParameters
    AesCtrCipherParameters

    Constructors

    View Source

    AesCtrCipherParameters()

    Initializes an instance of AesCtrCipherParameters class.

    Declaration
    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
    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.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX