os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 [SymmetricCipherInterface]
     2 InterfaceType			=KSymmetricCipherInterface
     3 EncryptKey			=ABCDEFGH
     4 KeyType				=KSymmetricKeyParameter
     5 AlgorithmUid			=KAlgorithmCipherDes
     6 CryptoMode			=KCryptoModeEncrypt
     7 OperationMode			=KOperationModeNone
     8 PaddingMode			=KPaddingModeNone
     9 AlgorithmParams			=NULL
    10 
    11 InterfaceScopeRule1		=KNone
    12 AlgorithmScopeRule1		=KNone
    13 CharacterUidRule1		=KAlgorithmType
    14 CompareOperatorRule1		=EOpEqual
    15 CharacterValueRule1		=KAlgorithmCipherDes
    16 CharacterValueTypeRule1		=ERuleValueInteger
    17 IsOptionaRule1			=Fasle
    18 
    19 ExAlgorithmUid			=KAlgorithmCipherDes
    20 ExImplementationUid		=KTestPlugin01Des_1
    21 
    22 
    23 [AsymmetricCipherInterface]
    24 InterfaceType			=KAsymmetricCipherInterface
    25 AlgorithmUid			=KAlgorithmCipherRsa
    26 CryptoMode			=KCryptoModeEncrypt
    27 PaddingMode			=KPaddingModeNone
    28 AlgorithmParams			=NULL
    29 
    30 InterfaceScopeRule1		=KNone
    31 AlgorithmScopeRule1		=KNone
    32 CharacterUidRule1		=KAlgorithmType
    33 CompareOperatorRule1		=EOpEqual
    34 CharacterValueRule1		=KAlgorithmCipherRsa
    35 CharacterValueTypeRule1		=ERuleValueInteger
    36 IsOptionaRule1			=Fasle
    37 
    38 ExAlgorithmUid			=KAlgorithmCipherRsa
    39 ExImplementationUid		=KTestPlugin02Rsa_1
    40 
    41 
    42 [HashInterface]
    43 InterfaceType			=KHashInterface
    44 AlgorithmUid			=KAlgorithmHashMd5
    45 OperationMode			=KHashMode
    46 AlgorithmParams			=NULL
    47 
    48 InterfaceScopeRule1		=KNone
    49 AlgorithmScopeRule1		=KNone
    50 CharacterUidRule1		=KAlgorithmType
    51 CompareOperatorRule1		=EOpEqual
    52 CharacterValueRule1		=KAlgorithmHashMd5
    53 CharacterValueTypeRule1		=ERuleValueInteger
    54 IsOptionaRule1			=Fasle
    55 
    56 ExAlgorithmUid			=KAlgorithmHashMd5
    57 ExImplementationUid		=KTestPlugin02Md5_1
    58 
    59 
    60 [RandomInterface]
    61 InterfaceType			=KRandomInterface
    62 AlgorithmUid			=KAlgorithmRandom
    63 AlgorithmParams			=NULL
    64 
    65 InterfaceScopeRule1		=KNone
    66 AlgorithmScopeRule1		=KNone
    67 CharacterUidRule1		=KAlgorithmType
    68 CompareOperatorRule1		=EOpEqual
    69 CharacterValueRule1		=KAlgorithmRandom
    70 CharacterValueTypeRule1		=ERuleValueInteger
    71 IsOptionaRule1			=Fasle
    72 
    73 ExAlgorithmUid			=KAlgorithmRandom
    74 ExImplementationUid		=KTestPlugin02Random_1
    75 
    76 
    77 [SignerInterface]
    78 InterfaceType			=KSignerInterface
    79 AlgorithmUid			=KAlgorithmSignerRsa
    80 PaddingMode			=KPaddingModePkcs1_v1_5_Signature
    81 AlgorithmParams			=NULL
    82 
    83 InterfaceScopeRule1		=KNone
    84 AlgorithmScopeRule1		=KNone
    85 CharacterUidRule1		=KAlgorithmType
    86 CompareOperatorRule1		=EOpEqual
    87 CharacterValueRule1		=KAlgorithmSignerRsa
    88 CharacterValueTypeRule1		=ERuleValueInteger
    89 IsOptionaRule1			=Fasle
    90 
    91 ExAlgorithmUid			=KAlgorithmSignerRsa
    92 ExImplementationUid		=KTestPlugin02RsaSigner_1
    93 
    94 
    95 [VerifierInterface]
    96 InterfaceType			=KVerifierInterface
    97 AlgorithmUid			=KAlgorithmVerifierRsa
    98 PaddingMode			=KPaddingModePkcs1_v1_5_Signature
    99 AlgorithmParams			=NULL
   100 
   101 InterfaceScopeRule1		=KNone
   102 AlgorithmScopeRule1		=KNone
   103 CharacterUidRule1		=KAlgorithmType
   104 CompareOperatorRule1		=EOpEqual
   105 CharacterValueRule1		=KAlgorithmVerifierRsa
   106 CharacterValueTypeRule1		=ERuleValueInteger
   107 IsOptionaRule1			=Fasle
   108 
   109 ExAlgorithmUid			=KAlgorithmVerifierRsa
   110 ExImplementationUid		=KTestPlugin01RsaVerifier_1
   111 
   112 
   113 [KeyPairGenInterface]
   114 InterfaceType			=KKeypairGeneratorInterface
   115 AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   116 AlgorithmParams			=NULL
   117 
   118 InterfaceScopeRule1		=KNone
   119 AlgorithmScopeRule1		=KNone
   120 CharacterUidRule1		=KAlgorithmType
   121 CompareOperatorRule1		=EOpEqual
   122 CharacterValueRule1		=KAlgorithmRSAKeyPairGenerator
   123 CharacterValueTypeRule1		=ERuleValueInteger
   124 IsOptionaRule1			=Fasle
   125 
   126 ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   127 ExImplementationUid		=KTestPlugin01RsaKeyGen_1
   128 
   129 
   130 [KeyAgreementInterface]
   131 InterfaceType			=KKeyAgreementInterface
   132 AlgorithmUid			=KAlgorithmKeyAgreementDH
   133 AlgorithmParams			=NULL
   134 
   135 InterfaceScopeRule1		=KNone
   136 AlgorithmScopeRule1		=KNone
   137 CharacterUidRule1		=KAlgorithmType
   138 CompareOperatorRule1		=EOpEqual
   139 CharacterValueRule1		=KAlgorithmKeyAgreementDH
   140 CharacterValueTypeRule1		=ERuleValueInteger
   141 IsOptionaRule1			=Fasle
   142 
   143 ExAlgorithmUid			=KAlgorithmKeyAgreementDH
   144 ExImplementationUid		=KTestPlugin02DHKeyAgree_1