Anjay Lite
|
Cryptographic data descriptors used by Security Object and networking. More...
Go to the source code of this file.
Data Structures | |
struct | anj_crypto_security_info_buffer_t |
struct | anj_crypto_security_info_external_t |
struct | anj_crypto_security_info_t |
Cryptographic data descriptors used by Security Object and networking.
Defines enums and structures for representing credentials such as certificates, private keys, and PSK identity/keys. Data may be provided inline in memory buffers or, if enabled, via opaque external references (e.g. keystore identifiers).
These types are typically used when configuring Security Object Instances or transport security backends.
Specifies where cryptographic data is obtained from.
Enumerator | |
---|---|
ANJ_CRYPTO_DATA_SOURCE_EMPTY | No data set. |
ANJ_CRYPTO_DATA_SOURCE_BUFFER | Data is provided inline in the structure. The anj_crypto_security_info_buffer_t::data field must point to a valid memory region of size anj_crypto_security_info_buffer_t::data_size. |
ANJ_CRYPTO_DATA_SOURCE_EXTERNAL | Data is provided as an opaque external identifier (e.g., file path, alias in a keystore). |