CryptoSpi::CSelectionRuleContent Class Reference

#include <cryptospi/ruleselector.h>

Link against: cryptospi.lib

class CryptoSpi::CSelectionRuleContent : public CBase

Inherits from

  • CryptoSpi::CSelectionRuleContent

    Detailed Description

    A single plugin selection rule definition

    Constructor & Destructor Documentation

    ~CSelectionRuleContent ( )

    IMPORT_C~CSelectionRuleContent()

    Destructor

    Member Function Documentation

    GetAlgorithmScope ( )

    TUid GetAlgorithmScope()

    Get the Algorithm Scope of this rule

    Returns: the Algorithm Scope Uid of this rule

    GetCharacteristicValue ( )

    const CCryptoParam *GetCharacteristicValue()

    Get the value of the rule of this characteristic

    Returns: The value of the rule of this characteristic

    GetInterfaceScope ( )

    TUid GetInterfaceScope()

    Get the Interface Scope of this rule

    Returns: the Interface Scope Uid of this rule

    GetOperator ( )

    TInt GetOperator()

    Get the Rule operator

    Returns: The Rule operator

    IsOptionalRule ( )

    TBool IsOptionalRule()

    returns whether the rule is optional

    Returns: Whether the rule is optional

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

    IMPORT_C CSelectionRuleContent *NewL(TUidaInterfaceScope,
    TUidaAlgorithmScope,
    CCryptoParam *aCharacteristicValue,
    TRuleOperatoraOperator,
    TBoolaIsOptional
    )[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

    ParameterDescription
    aInterfaceScopeThe Interface scope of this rule
    aAlgorithmScopeThe Algorithm scope of this rule
    aCharacteristicValueThe value of the rule of this characteristic
    aOperatorThe operator of the rule
    aIsOptionalWhether this rule is optional or mandatory

    Returns: A pointer to a CSelectionRuleContent instance