Enum CipherAlgorithmType

Definition

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

Enumeration for the crypto cipher algorithm types.

C#
Copy
public enum CipherAlgorithmType
Name Description
AesCbc

The AES-CBC algorithm. Supported parameters:

  • ParameterName.AlgorithmType = AesCbc(mandatory),
  • ParameterName.IV = 16-byte initialization vector(mandatory)
AesCfb

Th AES-CFB algorithm. Supported parameters:

  • ParameterName.AlgorithmType = AesCfb(mandatory),
  • ParameterName.IV = 16-byte initialization vector(mandatory)
AesCtr

The AES-CTR algorithm. Supported parameters:

  • ParameterName.AlgorithmType = AesCtr(mandatory),
  • ParameterName.IV = 16 - byte initialization vector(mandatory)
  • ParameterName.CounterLength = length of counter block in bits (optional, only 128b is supported at the moment)
AesGcm

The AES-GCM algorithm. Supported parameters:

  • ParameterName.AlgorithmType = AesGcm(mandatory),
  • ParameterName.IV = initialization vector(mandatory)
  • ParameterName.TagLength = GCM tag length in bits. One of {32, 64, 96, 104, 112, 120, 128} (optional, if not present the length 128 is used)
  • CKMC_PARAM_ED_AAD = additional authentication data(optional)
RsaOaep

The RSA-OAEP algorithm. Supported parameters:

  • ParameterName.AlgorithmType = RsaOaep(required),
  • ParameterName.Label = label to be associated with the message (optional, not supported at the moment)