crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_extended.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 17:48:59 +0300
branchRCL_3
changeset 53 030c4fbc13d7
parent 8 35751d3474b7
permissions -rw-r--r--
Revision: 201015 Kit: 201015

[ExtendedAllChars1]
InterfaceType			=KSymmetricCipherInterface
EncryptKey			=ABCDEFGH
KeyType				=KSymmetricKeyParameter
AlgorithmUid			=KAlgorithmCipherDes
CryptoMode			=KCryptoModeEncrypt
OperationMode			=KOperationModeNone
PaddingMode			=KPaddingModeNone
AlgorithmParams			=NULL

InterfaceScopeRule1		=KSymmetricCipherInterface
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType1
CompareOperatorRule1		=EOpEqual
CharacterValueRule1		=1234
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KAlgorithmCipherDes
CharacterUidRule2		=KExtendCharType2
CompareOperatorRule2		=EOpEqual
CharacterValueRule2		=5678
CharacterValueTypeRule2		=ERuleValueInteger
IsOptionaRule2			=False

InterfaceScopeRule3		=KSymmetricCipherInterface
AlgorithmScopeRule3		=KAlgorithmCipherDes
CharacterUidRule3		=KExtendCharType3
CompareOperatorRule3		=EOpEqual
CharacterValueRule3		=HAPPYDAYS
CharacterValueTypeRule3		=ERuleValueDes8
IsOptionaRule3			=False

ExAlgorithmUid			=KAlgorithmCipherDes
ExImplementationUid		=KTestPlugin02Des_1

//****************************************************************************
//****************************************************************************

[ExtendedAllChars2]
InterfaceType			=KKeypairGeneratorInterface
AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
AlgorithmParams			=NULL

InterfaceScopeRule1		=KKeypairGeneratorInterface
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType1
CompareOperatorRule1		=EOpEqual
CharacterValueRule1		=9999
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KAlgorithmRSAKeyPairGenerator
CharacterUidRule2		=KExtendCharType2
CompareOperatorRule2		=EOpEqual
CharacterValueRule2		=1010
CharacterValueTypeRule2		=ERuleValueInteger
IsOptionaRule2			=False

InterfaceScopeRule3		=KKeypairGeneratorInterface
AlgorithmScopeRule3		=KAlgorithmRSAKeyPairGenerator
CharacterUidRule3		=KExtendCharType3
CompareOperatorRule3		=EOpEqual
CharacterValueRule3		=SYMBIANTESTCHARACTERISTIC
CharacterValueTypeRule3		=ERuleValueDes8
IsOptionaRule3			=False

ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
ExImplementationUid		=KTestPlugin01RsaKeyGen_1

//****************************************************************************
//****************************************************************************

[ExtendedAscend]
InterfaceType			=KSymmetricCipherInterface
EncryptKey			=ABCDEFGH
KeyType				=KSymmetricKeyParameter
AlgorithmUid			=KAlgorithmCipherDes
CryptoMode			=KCryptoModeEncrypt
OperationMode			=KOperationModeNone
PaddingMode			=KPaddingModeNone
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType1
CompareOperatorRule1		=EOpAscendingSort
CharacterValueRule1		=NULL
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KNone
CharacterUidRule2		=KExtendCharType3
CompareOperatorRule2		=EOpAscendingSort
CharacterValueRule2		=NULL
CharacterValueTypeRule2		=ERuleValueDes8
IsOptionaRule2			=False

ExAlgorithmUid			=KAlgorithmCipherDes
ExImplementationUid		=KTestPlugin02Des_1

//****************************************************************************
//****************************************************************************

[ExtendedDescend]
InterfaceType			=KKeypairGeneratorInterface
AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType1
CompareOperatorRule1		=EOpDescendingSort
CharacterValueRule1		=NULL
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KNone
CharacterUidRule2		=KExtendCharType3
CompareOperatorRule2		=EOpDescendingSort
CharacterValueRule2		=NULL
CharacterValueTypeRule2		=ERuleValueDes8
IsOptionaRule2			=False

ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
ExImplementationUid		=KTestPlugin01RsaKeyGen_1

//****************************************************************************
//****************************************************************************

[ExtendedGreaterThan]
InterfaceType			=KSymmetricCipherInterface
EncryptKey			=ABCDEFGH
KeyType				=KSymmetricKeyParameter
AlgorithmUid			=KAlgorithmCipherDes
CryptoMode			=KCryptoModeEncrypt
OperationMode			=KOperationModeNone
PaddingMode			=KPaddingModeNone
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType2
CompareOperatorRule1		=EOpGreaterThan
CharacterValueRule1		=1010
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

ExAlgorithmUid			=KAlgorithmCipherDes
ExImplementationUid		=KTestPlugin02Des_1

//****************************************************************************
//****************************************************************************

[ExtendedGreaterThanOrEqual]
InterfaceType			=KKeypairGeneratorInterface
AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType2
CompareOperatorRule1		=EOpGreaterThanOrEqual
CharacterValueRule1		=1010
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KNone
CharacterUidRule2		=KExtendCharType3
CompareOperatorRule2		=EOpEqual
CharacterValueRule2		=SYMBIANTESTCHARACTERISTIC
CharacterValueTypeRule2		=ERuleValueDes8
IsOptionaRule2			=True

ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
ExImplementationUid		=KTestPlugin01RsaKeyGen_1

//****************************************************************************
//****************************************************************************

[ExtendedLessThan]
InterfaceType			=KKeypairGeneratorInterface
AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType2
CompareOperatorRule1		=EOpLessThan
CharacterValueRule1		=5000
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
ExImplementationUid		=KTestPlugin01RsaKeyGen_1

//****************************************************************************
//****************************************************************************

[ExtendedLessThanOrEqual]
InterfaceType			=KSymmetricCipherInterface
EncryptKey			=ABCDEFGH
KeyType				=KSymmetricKeyParameter
AlgorithmUid			=KAlgorithmCipherDes
CryptoMode			=KCryptoModeEncrypt
OperationMode			=KOperationModeNone
PaddingMode			=KPaddingModeNone
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType2
CompareOperatorRule1		=EOpLessThanOrEqual
CharacterValueRule1		=5678
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KNone
CharacterUidRule2		=KExtendCharType3
CompareOperatorRule2		=EOpNotEqual
CharacterValueRule2		=SYMBIANTESTCHARACTERISTIC
CharacterValueTypeRule2		=ERuleValueDes8
IsOptionaRule2			=True

ExAlgorithmUid			=KAlgorithmCipherDes
ExImplementationUid		=KTestPlugin02Des_1

//****************************************************************************
//****************************************************************************

[ExtendedInvalid1]
InterfaceType			=KSymmetricCipherInterface
EncryptKey			=ABCDEFGH
KeyType				=KSymmetricKeyParameter
AlgorithmUid			=KAlgorithmCipherDes
CryptoMode			=KCryptoModeEncrypt
OperationMode			=KOperationModeNone
PaddingMode			=KPaddingModeNone
AlgorithmParams			=NULL

InterfaceScopeRule1		=KSymmetricCipherInterface
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType2
CompareOperatorRule1		=EOpEqual
CharacterValueRule1		=5678
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KNone
AlgorithmScopeRule2		=KAlgorithmCipherDes
CharacterUidRule2		=KExtendCharType3
CompareOperatorRule2		=EOpNotEqual
CharacterValueRule2		=HAPPYDAYS
CharacterValueTypeRule2		=ERuleValueDes8
IsOptionaRule2			=False

//****************************************************************************
//****************************************************************************

[ExtendedInvalid2]
InterfaceType			=KKeypairGeneratorInterface
AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
AlgorithmParams			=NULL

InterfaceScopeRule1		=KNone
AlgorithmScopeRule1		=KNone
CharacterUidRule1		=KExtendCharType1
CompareOperatorRule1		=EOpLessThan
CharacterValueRule1		=1236
CharacterValueTypeRule1		=ERuleValueInteger
IsOptionaRule1			=False

InterfaceScopeRule2		=KSymmetricCipherInterface
AlgorithmScopeRule2		=KAlgorithmCipherDes
CharacterUidRule2		=KExtendCharType2
CompareOperatorRule2		=EOpGreaterThan
CharacterValueRule2		=5679
CharacterValueTypeRule2		=ERuleValueInteger
IsOptionaRule2			=False