os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,144 @@
1.4 +[SymmetricCipherInterface]
1.5 +InterfaceType =KSymmetricCipherInterface
1.6 +EncryptKey =ABCDEFGH
1.7 +KeyType =KSymmetricKeyParameter
1.8 +AlgorithmUid =KAlgorithmCipherDes
1.9 +CryptoMode =KCryptoModeEncrypt
1.10 +OperationMode =KOperationModeNone
1.11 +PaddingMode =KPaddingModeNone
1.12 +AlgorithmParams =NULL
1.13 +
1.14 +InterfaceScopeRule1 =KNone
1.15 +AlgorithmScopeRule1 =KNone
1.16 +CharacterUidRule1 =KAlgorithmType
1.17 +CompareOperatorRule1 =EOpEqual
1.18 +CharacterValueRule1 =KAlgorithmCipherDes
1.19 +CharacterValueTypeRule1 =ERuleValueInteger
1.20 +IsOptionaRule1 =Fasle
1.21 +
1.22 +ExAlgorithmUid =KAlgorithmCipherDes
1.23 +ExImplementationUid =KTestPlugin01Des_1
1.24 +
1.25 +
1.26 +[AsymmetricCipherInterface]
1.27 +InterfaceType =KAsymmetricCipherInterface
1.28 +AlgorithmUid =KAlgorithmCipherRsa
1.29 +CryptoMode =KCryptoModeEncrypt
1.30 +PaddingMode =KPaddingModeNone
1.31 +AlgorithmParams =NULL
1.32 +
1.33 +InterfaceScopeRule1 =KNone
1.34 +AlgorithmScopeRule1 =KNone
1.35 +CharacterUidRule1 =KAlgorithmType
1.36 +CompareOperatorRule1 =EOpEqual
1.37 +CharacterValueRule1 =KAlgorithmCipherRsa
1.38 +CharacterValueTypeRule1 =ERuleValueInteger
1.39 +IsOptionaRule1 =Fasle
1.40 +
1.41 +ExAlgorithmUid =KAlgorithmCipherRsa
1.42 +ExImplementationUid =KTestPlugin02Rsa_1
1.43 +
1.44 +
1.45 +[HashInterface]
1.46 +InterfaceType =KHashInterface
1.47 +AlgorithmUid =KAlgorithmHashMd5
1.48 +OperationMode =KHashMode
1.49 +AlgorithmParams =NULL
1.50 +
1.51 +InterfaceScopeRule1 =KNone
1.52 +AlgorithmScopeRule1 =KNone
1.53 +CharacterUidRule1 =KAlgorithmType
1.54 +CompareOperatorRule1 =EOpEqual
1.55 +CharacterValueRule1 =KAlgorithmHashMd5
1.56 +CharacterValueTypeRule1 =ERuleValueInteger
1.57 +IsOptionaRule1 =Fasle
1.58 +
1.59 +ExAlgorithmUid =KAlgorithmHashMd5
1.60 +ExImplementationUid =KTestPlugin02Md5_1
1.61 +
1.62 +
1.63 +[RandomInterface]
1.64 +InterfaceType =KRandomInterface
1.65 +AlgorithmUid =KAlgorithmRandom
1.66 +AlgorithmParams =NULL
1.67 +
1.68 +InterfaceScopeRule1 =KNone
1.69 +AlgorithmScopeRule1 =KNone
1.70 +CharacterUidRule1 =KAlgorithmType
1.71 +CompareOperatorRule1 =EOpEqual
1.72 +CharacterValueRule1 =KAlgorithmRandom
1.73 +CharacterValueTypeRule1 =ERuleValueInteger
1.74 +IsOptionaRule1 =Fasle
1.75 +
1.76 +ExAlgorithmUid =KAlgorithmRandom
1.77 +ExImplementationUid =KTestPlugin02Random_1
1.78 +
1.79 +
1.80 +[SignerInterface]
1.81 +InterfaceType =KSignerInterface
1.82 +AlgorithmUid =KAlgorithmSignerRsa
1.83 +PaddingMode =KPaddingModePkcs1_v1_5_Signature
1.84 +AlgorithmParams =NULL
1.85 +
1.86 +InterfaceScopeRule1 =KNone
1.87 +AlgorithmScopeRule1 =KNone
1.88 +CharacterUidRule1 =KAlgorithmType
1.89 +CompareOperatorRule1 =EOpEqual
1.90 +CharacterValueRule1 =KAlgorithmSignerRsa
1.91 +CharacterValueTypeRule1 =ERuleValueInteger
1.92 +IsOptionaRule1 =Fasle
1.93 +
1.94 +ExAlgorithmUid =KAlgorithmSignerRsa
1.95 +ExImplementationUid =KTestPlugin02RsaSigner_1
1.96 +
1.97 +
1.98 +[VerifierInterface]
1.99 +InterfaceType =KVerifierInterface
1.100 +AlgorithmUid =KAlgorithmVerifierRsa
1.101 +PaddingMode =KPaddingModePkcs1_v1_5_Signature
1.102 +AlgorithmParams =NULL
1.103 +
1.104 +InterfaceScopeRule1 =KNone
1.105 +AlgorithmScopeRule1 =KNone
1.106 +CharacterUidRule1 =KAlgorithmType
1.107 +CompareOperatorRule1 =EOpEqual
1.108 +CharacterValueRule1 =KAlgorithmVerifierRsa
1.109 +CharacterValueTypeRule1 =ERuleValueInteger
1.110 +IsOptionaRule1 =Fasle
1.111 +
1.112 +ExAlgorithmUid =KAlgorithmVerifierRsa
1.113 +ExImplementationUid =KTestPlugin01RsaVerifier_1
1.114 +
1.115 +
1.116 +[KeyPairGenInterface]
1.117 +InterfaceType =KKeypairGeneratorInterface
1.118 +AlgorithmUid =KAlgorithmRSAKeyPairGenerator
1.119 +AlgorithmParams =NULL
1.120 +
1.121 +InterfaceScopeRule1 =KNone
1.122 +AlgorithmScopeRule1 =KNone
1.123 +CharacterUidRule1 =KAlgorithmType
1.124 +CompareOperatorRule1 =EOpEqual
1.125 +CharacterValueRule1 =KAlgorithmRSAKeyPairGenerator
1.126 +CharacterValueTypeRule1 =ERuleValueInteger
1.127 +IsOptionaRule1 =Fasle
1.128 +
1.129 +ExAlgorithmUid =KAlgorithmRSAKeyPairGenerator
1.130 +ExImplementationUid =KTestPlugin01RsaKeyGen_1
1.131 +
1.132 +
1.133 +[KeyAgreementInterface]
1.134 +InterfaceType =KKeyAgreementInterface
1.135 +AlgorithmUid =KAlgorithmKeyAgreementDH
1.136 +AlgorithmParams =NULL
1.137 +
1.138 +InterfaceScopeRule1 =KNone
1.139 +AlgorithmScopeRule1 =KNone
1.140 +CharacterUidRule1 =KAlgorithmType
1.141 +CompareOperatorRule1 =EOpEqual
1.142 +CharacterValueRule1 =KAlgorithmKeyAgreementDH
1.143 +CharacterValueTypeRule1 =ERuleValueInteger
1.144 +IsOptionaRule1 =Fasle
1.145 +
1.146 +ExAlgorithmUid =KAlgorithmKeyAgreementDH
1.147 +ExImplementationUid =KTestPlugin02DHKeyAgree_1