Botan 3.0.0
Crypto and TLS for C&
|
Common attributes of all objects. More...
#include <p11_object.h>
Public Member Functions | |
template<typename TAlloc > | |
void | add_binary (AttributeType attribute, const std::vector< uint8_t, TAlloc > &binary) |
void | add_binary (AttributeType attribute, const uint8_t *value, size_t length) |
void | add_bool (AttributeType attribute, bool value) |
void | add_class (ObjectClass object_class) |
void | add_string (AttributeType attribute, std::string_view value) |
const std::vector< Attribute > & | attributes () const |
size_t | count () const |
Attribute * | data () const |
ObjectClass | object_class () const |
ObjectProperties (ObjectClass object_class) | |
Common attributes of all objects.
Definition at line 168 of file p11_object.h.
Botan::PKCS11::ObjectProperties::ObjectProperties | ( | ObjectClass | object_class | ) |
object_class | the object class of the object |
Definition at line 132 of file p11_object.cpp.
|
inlineinherited |
Add a binary attribute (e.g. CKA_ID / AttributeType::Id).
attribute | attribute type |
binary | binary attribute value to add |
Definition at line 90 of file p11_object.h.
|
inherited |
Add a binary attribute (e.g. CKA_ID / AttributeType::Id).
attribute | attribute type |
value | binary attribute value to add |
length | size of the binary attribute value in bytes |
Definition at line 33 of file p11_object.cpp.
Referenced by Botan::PKCS11::Object::search().
|
inherited |
Add a bool attribute (e.g. CKA_SENSITIVE / AttributeType::Sensitive).
attribute | attribute type |
value | boolean value to add |
Definition at line 39 of file p11_object.cpp.
References Botan::PKCS11::False, and Botan::PKCS11::True.
|
inherited |
Add a class attribute (CKA_CLASS / AttributeType::Class).
object_class | class attribute to add |
Definition at line 19 of file p11_object.cpp.
References Botan::PKCS11::Class.
Referenced by Botan::PKCS11::AttributeContainer::AttributeContainer().
|
inherited |
Add a string attribute (e.g. CKA_LABEL / AttributeType::Label).
attribute | attribute type |
value | string value to add |
Definition at line 27 of file p11_object.cpp.
Referenced by Botan::PKCS11::Object::search().
|
inlineinherited |
Definition at line 46 of file p11_object.h.
Referenced by Botan::PKCS11::Object::search().
|
inlineinherited |
Definition at line 58 of file p11_object.h.
Referenced by Botan::PKCS11::Object::copy(), and Botan::PKCS11::Object::Object().
|
inlineinherited |
Definition at line 52 of file p11_object.h.
Referenced by Botan::PKCS11::Object::copy(), and Botan::PKCS11::Object::Object().
|
inline |
Definition at line 175 of file p11_object.h.