activemq-cpp-3.9.5
|
#include <src/main/decaf/security/ProviderService.h>
Public Member Functions | |
ProviderService (const Provider *provider, const std::string &type, const std::string &algorithm) | |
virtual | ~ProviderService () |
std::string | getType () const |
Gets the type of service this ProviderService instance supports. | |
std::string | getAlgorithm () const |
Gets the algorithm name that this ProviderService supplies for its service type. | |
const Provider * | getProvider () const |
Returns a pointer to the Provider that owns this ProviderService. | |
virtual SecuritySpi * | newInstance ()=0 |
Return a new instance of the implementation described by this service. | |
std::string | toString () const |
Return a String representation of this service. | |
decaf::security::ProviderService::ProviderService | ( | const Provider * | provider, |
const std::string & | type, | ||
const std::string & | algorithm ) |
|
virtual |
|
inline |
Gets the algorithm name that this ProviderService supplies for its service type.
Referenced by toString().
Returns a pointer to the Provider that owns this ProviderService.
The returned pointer is owned by the Security framework an should not be deleted by the caller at any time.
|
inline |
Gets the type of service this ProviderService instance supports.
Referenced by toString().
|
pure virtual |
Return a new instance of the implementation described by this service.
The security provider framework uses this method to construct implementations. Applications will typically not need to call it.
Implemented in decaf::internal::security::provider::DefaultMessageDigestProviderService, and decaf::internal::security::provider::DefaultSecureRandomProviderService.
|
inline |
Return a String representation of this service.
The format of this string is always, "type.algorithm"
References getAlgorithm(), and getType().