Class AesGcmCipherParameters

    Definition

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

    Holds parameters for the AES algorithm with the GCM mode.

    public class AesGcmCipherParameters : AesCipherParameters
    Inheritance
    object
    CipherParameters
    AesCipherParameters
    AesGcmCipherParameters

    Constructors

    View Source

    AesGcmCipherParameters()

    Initializes an instance of AesGcmCipherParameters class.

    Declaration
    public AesGcmCipherParameters()
    Remarks

    CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.

    Properties

    View Source

    AAD

    Gets and sets additional authentication data.

    Declaration
    public byte[] AAD { get; set; }
    Property Value
    Type Description
    byte[]

    Additional authentication data (optional).

    View Source

    TagLength

    Gets and sets GCM tag length.

    Declaration
    public long TagLength { get; set; }
    Property Value
    Type Description
    long

    GCM tag length in bits. One of {32, 64, 96, 104, 112, 120, 128} (optional), if not present the length 128 is used.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Thrown when TagLength is not one of {32, 64, 96, 104, 112, 120, 128}.

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