|
CryptoFramework
|
An "entry point" in CryptoFramework. More...
#include <CryptoFramework.hpp>
Static Public Member Functions | |
| static bool | IsCspAvailable (CspType csp) |
| Is CSP available? More... | |
| static std::shared_ptr< ICsp > | GetCspInstance (CspType csp) |
| Get CSP instance. More... | |
An "entry point" in CryptoFramework.
This static class is used to start working with CryptoFramework. It checks CSPs availability and provides their instances.
Get CSP instance.
Returns CSP instance with ICsp interface if available.
| csp | CSP type to get instance of. |
| std::runtime_error | If prompted CSP is not available. |
|
static |
Is CSP available?
Checks if given CSP type is available.
| csp | CSP type to check. |