os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini
First public contribution.
1 [SymmetricCipherInterface]
2 InterfaceType =KSymmetricCipherInterface
4 KeyType =KSymmetricKeyParameter
5 AlgorithmUid =KAlgorithmCipherDes
6 CryptoMode =KCryptoModeEncrypt
7 OperationMode =KOperationModeNone
8 PaddingMode =KPaddingModeNone
11 InterfaceScopeRule1 =KNone
12 AlgorithmScopeRule1 =KNone
13 CharacterUidRule1 =KAlgorithmType
14 CompareOperatorRule1 =EOpEqual
15 CharacterValueRule1 =KAlgorithmCipherDes
16 CharacterValueTypeRule1 =ERuleValueInteger
19 ExAlgorithmUid =KAlgorithmCipherDes
20 ExImplementationUid =KTestPlugin01Des_1
23 [AsymmetricCipherInterface]
24 InterfaceType =KAsymmetricCipherInterface
25 AlgorithmUid =KAlgorithmCipherRsa
26 CryptoMode =KCryptoModeEncrypt
27 PaddingMode =KPaddingModeNone
30 InterfaceScopeRule1 =KNone
31 AlgorithmScopeRule1 =KNone
32 CharacterUidRule1 =KAlgorithmType
33 CompareOperatorRule1 =EOpEqual
34 CharacterValueRule1 =KAlgorithmCipherRsa
35 CharacterValueTypeRule1 =ERuleValueInteger
38 ExAlgorithmUid =KAlgorithmCipherRsa
39 ExImplementationUid =KTestPlugin02Rsa_1
43 InterfaceType =KHashInterface
44 AlgorithmUid =KAlgorithmHashMd5
45 OperationMode =KHashMode
48 InterfaceScopeRule1 =KNone
49 AlgorithmScopeRule1 =KNone
50 CharacterUidRule1 =KAlgorithmType
51 CompareOperatorRule1 =EOpEqual
52 CharacterValueRule1 =KAlgorithmHashMd5
53 CharacterValueTypeRule1 =ERuleValueInteger
56 ExAlgorithmUid =KAlgorithmHashMd5
57 ExImplementationUid =KTestPlugin02Md5_1
61 InterfaceType =KRandomInterface
62 AlgorithmUid =KAlgorithmRandom
65 InterfaceScopeRule1 =KNone
66 AlgorithmScopeRule1 =KNone
67 CharacterUidRule1 =KAlgorithmType
68 CompareOperatorRule1 =EOpEqual
69 CharacterValueRule1 =KAlgorithmRandom
70 CharacterValueTypeRule1 =ERuleValueInteger
73 ExAlgorithmUid =KAlgorithmRandom
74 ExImplementationUid =KTestPlugin02Random_1
78 InterfaceType =KSignerInterface
79 AlgorithmUid =KAlgorithmSignerRsa
80 PaddingMode =KPaddingModePkcs1_v1_5_Signature
83 InterfaceScopeRule1 =KNone
84 AlgorithmScopeRule1 =KNone
85 CharacterUidRule1 =KAlgorithmType
86 CompareOperatorRule1 =EOpEqual
87 CharacterValueRule1 =KAlgorithmSignerRsa
88 CharacterValueTypeRule1 =ERuleValueInteger
91 ExAlgorithmUid =KAlgorithmSignerRsa
92 ExImplementationUid =KTestPlugin02RsaSigner_1
96 InterfaceType =KVerifierInterface
97 AlgorithmUid =KAlgorithmVerifierRsa
98 PaddingMode =KPaddingModePkcs1_v1_5_Signature
101 InterfaceScopeRule1 =KNone
102 AlgorithmScopeRule1 =KNone
103 CharacterUidRule1 =KAlgorithmType
104 CompareOperatorRule1 =EOpEqual
105 CharacterValueRule1 =KAlgorithmVerifierRsa
106 CharacterValueTypeRule1 =ERuleValueInteger
107 IsOptionaRule1 =Fasle
109 ExAlgorithmUid =KAlgorithmVerifierRsa
110 ExImplementationUid =KTestPlugin01RsaVerifier_1
113 [KeyPairGenInterface]
114 InterfaceType =KKeypairGeneratorInterface
115 AlgorithmUid =KAlgorithmRSAKeyPairGenerator
116 AlgorithmParams =NULL
118 InterfaceScopeRule1 =KNone
119 AlgorithmScopeRule1 =KNone
120 CharacterUidRule1 =KAlgorithmType
121 CompareOperatorRule1 =EOpEqual
122 CharacterValueRule1 =KAlgorithmRSAKeyPairGenerator
123 CharacterValueTypeRule1 =ERuleValueInteger
124 IsOptionaRule1 =Fasle
126 ExAlgorithmUid =KAlgorithmRSAKeyPairGenerator
127 ExImplementationUid =KTestPlugin01RsaKeyGen_1
130 [KeyAgreementInterface]
131 InterfaceType =KKeyAgreementInterface
132 AlgorithmUid =KAlgorithmKeyAgreementDH
133 AlgorithmParams =NULL
135 InterfaceScopeRule1 =KNone
136 AlgorithmScopeRule1 =KNone
137 CharacterUidRule1 =KAlgorithmType
138 CompareOperatorRule1 =EOpEqual
139 CharacterValueRule1 =KAlgorithmKeyAgreementDH
140 CharacterValueTypeRule1 =ERuleValueInteger
141 IsOptionaRule1 =Fasle
143 ExAlgorithmUid =KAlgorithmKeyAgreementDH
144 ExImplementationUid =KTestPlugin02DHKeyAgree_1