#include <cryptospi/ruleselector.h>
| class CryptoSpi::CSelectionRuleContent : public CBase |
| Public Member Functions | |
|---|---|
| ~CSelectionRuleContent() | |
| TUid | GetAlgorithmScope() |
| const CCryptoParam * | GetCharacteristicValue() |
| TUid | GetInterfaceScope() |
| TInt | GetOperator() |
| TBool | IsOptionalRule() |
| IMPORT_C CSelectionRuleContent * | NewL(TUid, TUid, CCryptoParam *, TRuleOperator, TBool) |
A single plugin selection rule definition
| TUid | GetAlgorithmScope | ( | ) |
Get the Algorithm Scope of this rule
Returns: the Algorithm Scope Uid of this rule
| const CCryptoParam * | GetCharacteristicValue | ( | ) |
Get the value of the rule of this characteristic
Returns: The value of the rule of this characteristic
| TUid | GetInterfaceScope | ( | ) |
Get the Interface Scope of this rule
Returns: the Interface Scope Uid of this rule
| IMPORT_C CSelectionRuleContent * | NewL | ( | TUid | aInterfaceScope, |
| TUid | aAlgorithmScope, | |||
| CCryptoParam * | aCharacteristicValue, | |||
| TRuleOperator | aOperator, | |||
| TBool | aIsOptional | |||
| ) | [static] | |||
Create a selection rule content instance; the supported characteristic uid's are defined in plugincharacteristics.h; the supported operators are defined in ruleselector.h
| Parameter | Description |
|---|---|
| aInterfaceScope | The Interface scope of this rule |
| aAlgorithmScope | The Algorithm scope of this rule |
| aCharacteristicValue | The value of the rule of this characteristic |
| aOperator | The operator of the rule |
| aIsOptional | Whether this rule is optional or mandatory |
Returns: A pointer to a CSelectionRuleContent instance