An API for resolving keys and certificates based on application criteria.
More...
#include <xmltooling/security/CredentialResolver.h>
|
virtual const Credential * | resolve (const CredentialCriteria *criteria=0) const =0 |
| Returns a single Credential according to the supplied criteria.
|
|
virtual std::vector< constCredential * >::size_type | resolve (std::vector< const Credential * > &results, const CredentialCriteria *criteria=0) const =0 |
| Returns all matching Credentials according to the supplied criteria.
|
|
virtual Lockable * | lock ()=0 |
| Lock the associated object for exclusive access.
|
|
virtual void | unlock ()=0 |
| Unlock the associated object from exclusive access.
|
|
An API for resolving keys and certificates based on application criteria.
◆ resolve() [1/2]
Returns a single Credential according to the supplied criteria.
- Parameters
-
- Returns
- a Credential, or nullptr if none could be found
◆ resolve() [2/2]
virtual std::vector< constCredential * >::size_type xmltooling::CredentialResolver::resolve |
( |
std::vector< const Credential * > & | results, |
|
|
const CredentialCriteria * | criteria = 0 ) const |
|
pure virtual |
Returns all matching Credentials according to the supplied criteria.
- Parameters
-
- Returns
- number of credentials found
The documentation for this class was generated from the following file: