crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_extended.ini
changeset 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_extended.ini	Thu Sep 10 14:01:51 2009 +0300
@@ -0,0 +1,285 @@
+[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