CryptoSpi::CCryptoSpiStateApi Class Reference
#include
<cryptospi/cryptospistateapi.h>
Link against: cryptospi.lib
class CryptoSpi::CCryptoSpiStateApi |
Detailed Description
The class provides the APIs to set and unset the rule-based selector.
Member Function Documentation
EnumerateCharacteristicsL ( RPointerArray< CCharacteristicsAndPluginName > &, TInt32, TBool )
Enumerate the all characteristics in the system
- leave
- ... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.
Parameter | Description | aCharacteristics | the array of characteristic dll list. |
aInterface | the uid of the interface, 0 means that enumerating characteristics for all the interfaces |
aExtended | if extended characteristic needs to be retrieved. |
SetSelector ( MPluginSelector * )
Set the rule-based selector for the current thread. Once the rule-based selector is set, it will be used by the crypto factory to select appropriate plugin implementation. The owner of the selector is the user, and the ownership is not transferd.
Parameter | Description | aSelector | The plugin selector to use |
UnsetSelector ( )
IMPORT_C void | UnsetSelector | ( | ) | [static] |
The function unsets the selector for the current thread, so that the legacy selector will be used to select plugins.