Class AesGcmCipherParameters

    Definition

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

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

    public class AesGcmCipherParameters : AesCipherParameters
    Inheritance
    object
    CipherParameters
    AesCipherParameters
    AesGcmCipherParameters

    Constructors

    View Source

    AesGcmCipherParameters()

    A default constructor.

    Declaration
    public AesGcmCipherParameters()
    Remarks

    The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.

    Properties

    View Source

    AAD

    Additional authentication data (optional).

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

    TagLength

    GCM tag length in bits.

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

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

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    TagLength should be one of {32, 64, 96, 104, 112, 120, 128}.

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