class Akenti::Provider |
A Provider object is a reference-count pointer that wraps a ProviderImpl object.
![]() | Provider (ProviderImpl* impl = NULL) Constructs a Provider given a ProviderImpl object. |
![]() | ~Provider () Destroys this object. |
![]() | setProvider (const Provider& prov) Installs a Provider. |
![]() | getProvider () Returns the installed providerThis call will fail if a provider has not been installed. |
A Provider object is a reference-count pointer that wraps a ProviderImpl object. It provides applications, albeit indirectly, with objects that implement security algorithms such as MessageDigest, Base64encoding and Signature. At start-up a Provider is instantiated from a selected ProviderImpl, e.g. OpenSSLProviderImpl, and installed as the single static provider. Any attempt to reinstall a provider will fail. As a result, the code can call static methods to perform various security algorithms, but there is still some flexibilty as to what implementations to use for these algorithms.
Alphabetic index HTML hierarchy of classes or Java