Key policies#
Typedefs#
Encoding of permitted usage on a key.
Encoding of permitted usage on a key.
Macros#
Whether the key may be exported.
Whether the key may be copied.
Whether the key may be used to encrypt a message.
Whether the key may be used to decrypt a message.
Whether the key may be used to sign a message.
Whether the key may be used to verify a message.
Whether the key may be used to sign a message.
Whether the key may be used to verify a message signature.
Whether the key may be used to derive other keys or produce a password hash.
Whether the key may be used to verify the result of a key derivation, including password hashing.
Whether the key may be exported.
Whether the key may be copied.
Whether the key may be used to encrypt a message.
Whether the key may be used to decrypt a message.
Whether the key may be used to sign a message.
Whether the key may be used to verify a message.
Whether the key may be used to sign a message.
Whether the key may be used to verify a message signature.
Whether the key may be used to derive other keys or produce a password hash.
Whether the key may be used to verify the result of a key derivation, including password hashing.
Typedef Documentation#
psa_key_usage_t#
typedef uint32_t psa_key_usage_t
Encoding of permitted usage on a key.
Values of this type are generally constructed as bitwise-ors of macros called PSA_KEY_USAGE_xxx
.
Note
Values of this type are encoded in the persistent key store. Any changes to existing values will require bumping the storage format version and providing a translation when reading the old format.