File storage.h
↰ Parent directory (include_public/anj/compat/crypto)
Platform hooks for external cryptographic storage.
Definition (include_public/anj/compat/crypto/storage.h)
Detailed Description
ExperimentalThis is an experimental crypto storage API. This API can change in the future versions without any notice.
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(File crypto.h)anj/defs.h(File defs.h)anj/init.h(File init.h)