.. _file_include_public_anj_compat_crypto_storage.h: File storage.h ============== |exhale_lsh| :ref:`Parent directory ` (``include_public/anj/compat/crypto``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Platform hooks for external cryptographic storage. .. contents:: Contents :local: :backlinks: none Definition (``include_public/anj/compat/crypto/storage.h``) ----------------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_public_anj_compat_crypto_storage.h.rst Detailed Description -------------------- This header declares the API that platform integrators can implement to back Anjay Lite's credential handling with a secure store or HSM. Typical responsibilities include: - initializing and deinitializing a storage context - creating and deleting key/certificate records - writing data in chunks and finalizing records - resolving identifiers into actual key/certificate bytes - (optionally) serializing/deserializing persistence identifiers Which functions are required depends on build-time options such as ``ANJ_WITH_EXTERNAL_CRYPTO_STORAGE`` and ``ANJ_WITH_PERSISTENCE``. Includes -------- - ``anj/crypto.h`` (:ref:`file_include_public_anj_crypto.h`) - ``anj/defs.h`` (:ref:`file_include_public_anj_defs.h`) - ``anj/init.h`` (:ref:`file_include_public_anj_init.h`) Functions --------- - :ref:`exhale_function_storage_8h_1ad8fb3657f81964f1f1c0424144eee12e` - :ref:`exhale_function_storage_8h_1af88e3ac8f1e0d1b5696f4a688c6602f2` - :ref:`exhale_function_storage_8h_1a1bfd6cc138eddef425da40dbc84ae47a` - :ref:`exhale_function_storage_8h_1a77f8b8cf235b372fe697563ea454790d` - :ref:`exhale_function_storage_8h_1a390e9d9b6d33cf0fedcf9582b48868d9` - :ref:`exhale_function_storage_8h_1a303b1d346342b96c58a0cc581f7d08cc` - :ref:`exhale_function_storage_8h_1a400060dde75cb5380070326d1278505c` - :ref:`exhale_function_storage_8h_1a37baa7bfa9b53640188e7cb1bed6d6c1` Defines ------- - :ref:`exhale_define_storage_8h_1a1051a1a9dafb3cc5a656a2a208003869`