Returns the class corresponding to the given cipher type name.
- Parameters
cipher_type (str) – The name of the OpenSSH private key cipher type.
- Return type
Type[Cipher]
- Returns
The subclass of Cipher corresponding to the cipher type
name.
- Raises
KeyError – There is no subclass of Cipher corresponding to
the given cipher type name.