| 1204 | } |
| 1205 | |
| 1206 | SpecificPlugins getSpecific(const PathName& keyType) |
| 1207 | { |
| 1208 | unsigned pos = getPos(keyType); |
| 1209 | if (pos == ~0u) |
| 1210 | { |
| 1211 | fb_assert(false); |
| 1212 | fatal_exception::raise("Error using CryptKeyTypeManager"); |
| 1213 | } |
| 1214 | |
| 1215 | return SpecificPlugins(knownTypes[pos]); |
| 1216 | } |
| 1217 | |
| 1218 | private: |
| 1219 | ObjectsArray<CryptKeyType> knownTypes; |
no test coverage detected