CryptoSpi::CSelectionRuleContent Class Reference

class CryptoSpi::CSelectionRuleContent : public CBase

A single plugin selection rule definition

Inherits from

  • CryptoSpi::CSelectionRuleContent

Constructor & Destructor Documentation

CSelectionRuleContent(TUid, TUid, CCryptoParam *, TRuleOperator, TBool)

CSelectionRuleContent ( TUid aInterfaceScope,
TUid aAlgorithmScope,
CCryptoParam * aCharacteristicValue,
TRuleOperator aOperator,
TBool aIsOptional
) [private]

Constructor

Parameters

TUid aInterfaceScope
TUid aAlgorithmScope
CCryptoParam * aCharacteristicValue
TRuleOperator aOperator
TBool aIsOptional

~CSelectionRuleContent()

IMPORT_C ~CSelectionRuleContent ( )

Destructor

Member Functions Documentation

GetAlgorithmScope()

TUid GetAlgorithmScope ( )

Get the Algorithm Scope of this rule

GetCharacteristicValue()

const CCryptoParam * GetCharacteristicValue ( )

Get the value of the rule of this characteristic

GetInterfaceScope()

TUid GetInterfaceScope ( )

Get the Interface Scope of this rule

GetOperator()

TInt GetOperator ( )

Get the Rule operator

IsOptionalRule()

TBool IsOptionalRule ( )

returns whether the rule is optional

NewL(TUid, TUid, CCryptoParam *, TRuleOperator, TBool)

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

Parameters

TUid aInterfaceScope The Interface scope of this rule
TUid aAlgorithmScope The Algorithm scope of this rule
CCryptoParam * aCharacteristicValue The value of the rule of this characteristic
TRuleOperator aOperator The operator of the rule
TBool aIsOptional Whether this rule is optional or mandatory

Member Data Documentation

TUid iAlgorithmScope

TUid iAlgorithmScope [private]

const CCryptoParam * iCharacteristicValue

const CCryptoParam * iCharacteristicValue [private]

The value of the rule of this characteristic

TUid iInterfaceScope

TUid iInterfaceScope [private]

The scopes of this rule

TBool iIsOptional

TBool iIsOptional [private]

if the rule on this characteristic is optional

TRuleOperator iOperator

TRuleOperator iOperator [private]

The Operator of the Characteristic