Tizen Native API  7.0
YACA

The YACA (Yet Another Crypto Api) provides a crypto functions such as key management, data integrity, data en/decryption and low-level RSA operations. Key management provides APIs for generating secured key,importing a key trying to match it to the key_type specified and exporting a key to arbitrary format. Data Integrity provides Advanced/Simple API for the integrity handling - HMAC, CMAC, message digests and digital signature. Data en/decryption provides Advanced/Simple APIs for en/decrypting and sealing/opening a data. RSA module provides advanced APIs for low-level encryption/decryption operations with asymmetric RSA keys.

Overview

APIDescription
YACA Encryption Provides APIs for encryption/decryption operations with symmetric keys and sealing/opening operations with asymmetric keys.
YACA Integrity Provides APIs for creating/verifying a signature, calculating HMAC/CMAC and calculating a message digest.
YACA Key Management Provides APIs for key handling operations such as generating, importing, and exporting a key and deriving a key from password.
YACA Simple Crypto Provides simple APIs for cryptographic operations.
YACA Low-level RSA Provides APIs for low-level RSA operations.

The yaca provides a crypto function such as key management, integrity handling and data en/decryption. Key management provides APIs for generating secured key, importing a key trying to match it to the key type specified and exporting a key to arbitrary format. Data Integrity provides Advanced/Simple API for the integrity handling - HMAC, CMAC, message digest and digital signature. Data en/decryption provides Advanced/Simple APIs for en/decrypting a data and creating a IV. RSA module provides advanced APIs for low-level encryption/decryption operations with asymmetric RSA keys.

The yaca provides 4 types of API.

  • key management APIs : These APIs provides generating key using random number or password, importing a key trying to match it to the key_type specified and exporting a key to arbitrary format.
  • data en/decryption APIs : These APIs provides Advanced/Simple API for the data encryption.
  • integrity APIs : These APIs provides creating a signature using asymmetric private key, verifying a signature using asymmetric public key, calculating a HMAC/CMAC of given message using symmetric key and calculating message digests of given message without key.
  • low-level RSA API : These APIs allow for low-level encryption/decryption operations with asymmetric RSA keys.