diff -r 675a964f4eb5 -r 35751d3474b7 crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini Thu Sep 10 14:01:51 2009 +0300 @@ -0,0 +1,144 @@ +[SymmetricCipherInterface] +InterfaceType =KSymmetricCipherInterface +EncryptKey =ABCDEFGH +KeyType =KSymmetricKeyParameter +AlgorithmUid =KAlgorithmCipherDes +CryptoMode =KCryptoModeEncrypt +OperationMode =KOperationModeNone +PaddingMode =KPaddingModeNone +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmCipherDes +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmCipherDes +ExImplementationUid =KTestPlugin01Des_1 + + +[AsymmetricCipherInterface] +InterfaceType =KAsymmetricCipherInterface +AlgorithmUid =KAlgorithmCipherRsa +CryptoMode =KCryptoModeEncrypt +PaddingMode =KPaddingModeNone +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmCipherRsa +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmCipherRsa +ExImplementationUid =KTestPlugin02Rsa_1 + + +[HashInterface] +InterfaceType =KHashInterface +AlgorithmUid =KAlgorithmHashMd5 +OperationMode =KHashMode +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmHashMd5 +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmHashMd5 +ExImplementationUid =KTestPlugin02Md5_1 + + +[RandomInterface] +InterfaceType =KRandomInterface +AlgorithmUid =KAlgorithmRandom +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmRandom +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmRandom +ExImplementationUid =KTestPlugin02Random_1 + + +[SignerInterface] +InterfaceType =KSignerInterface +AlgorithmUid =KAlgorithmSignerRsa +PaddingMode =KPaddingModePkcs1_v1_5_Signature +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmSignerRsa +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmSignerRsa +ExImplementationUid =KTestPlugin02RsaSigner_1 + + +[VerifierInterface] +InterfaceType =KVerifierInterface +AlgorithmUid =KAlgorithmVerifierRsa +PaddingMode =KPaddingModePkcs1_v1_5_Signature +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmVerifierRsa +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmVerifierRsa +ExImplementationUid =KTestPlugin01RsaVerifier_1 + + +[KeyPairGenInterface] +InterfaceType =KKeypairGeneratorInterface +AlgorithmUid =KAlgorithmRSAKeyPairGenerator +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmRSAKeyPairGenerator +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmRSAKeyPairGenerator +ExImplementationUid =KTestPlugin01RsaKeyGen_1 + + +[KeyAgreementInterface] +InterfaceType =KKeyAgreementInterface +AlgorithmUid =KAlgorithmKeyAgreementDH +AlgorithmParams =NULL + +InterfaceScopeRule1 =KNone +AlgorithmScopeRule1 =KNone +CharacterUidRule1 =KAlgorithmType +CompareOperatorRule1 =EOpEqual +CharacterValueRule1 =KAlgorithmKeyAgreementDH +CharacterValueTypeRule1 =ERuleValueInteger +IsOptionaRule1 =Fasle + +ExAlgorithmUid =KAlgorithmKeyAgreementDH +ExImplementationUid =KTestPlugin02DHKeyAgree_1