|
Botan
2.13.0
Crypto and TLS for C++11
|
Manages calls to C_FindObjects* functions (C_FindObjectsInit -> C_FindObjects -> C_FindObjectsFinal) More...
#include <p11_object.h>
Public Member Functions | |
| std::vector< ObjectHandle > | find (std::uint32_t max_count=100) const |
| void | finish () |
| Finishes the search operation manually to allow a new ObjectFinder to exist. More... | |
| Module & | module () const |
| ObjectFinder (Session &session, const std::vector< Attribute > &search_template) | |
| ObjectFinder (const ObjectFinder &other)=default | |
| ObjectFinder (ObjectFinder &&other)=default | |
| ObjectFinder & | operator= (const ObjectFinder &other)=delete |
| ObjectFinder & | operator= (ObjectFinder &&other)=delete |
| ~ObjectFinder () noexcept | |
| Terminates a search for token and session objects (calls C_FindObjectsFinal) More... | |
Manages calls to C_FindObjects* functions (C_FindObjectsInit -> C_FindObjects -> C_FindObjectsFinal)
Definition at line 127 of file p11_object.h.
| Botan::PKCS11::ObjectFinder::ObjectFinder | ( | Session & | session, |
| const std::vector< Attribute > & | search_template | ||
| ) |
Initializes a search for token and session objects that match a template (calls C_FindObjectsInit)
| session | the session to use for the search |
| search_template | the search_template as a vector of Attribute |
Definition at line 87 of file p11_object.cpp.
References Botan::PKCS11::LowLevel::C_FindObjectsInit(), and module().
|
default |
|
default |
|
noexcept |
Terminates a search for token and session objects (calls C_FindObjectsFinal)
Definition at line 95 of file p11_object.cpp.
References Botan::PKCS11::LowLevel::C_FindObjectsFinal(), and module().
| std::vector< ObjectHandle > Botan::PKCS11::ObjectFinder::find | ( | std::uint32_t | max_count = 100 | ) | const |
Starts or continues a search for token and session objects that match a template, obtaining additional object handles (calls C_FindObjects)
| max_count | maximum amount of object handles to retrieve. Default = 100 |
ObjectHandle Definition at line 110 of file p11_object.cpp.
References Botan::PKCS11::LowLevel::C_FindObjects(), and module().
Referenced by Botan::PKCS11::Object::search().
| void Botan::PKCS11::ObjectFinder::finish | ( | ) |
Finishes the search operation manually to allow a new ObjectFinder to exist.
Definition at line 122 of file p11_object.cpp.
References Botan::PKCS11::LowLevel::C_FindObjectsFinal(), and module().
|
inline |
ObjectFinder belongs to Definition at line 157 of file p11_object.h.
Referenced by find(), finish(), ObjectFinder(), and ~ObjectFinder().
|
delete |
|
delete |
1.8.9.1