docs: public static KeyPair getKeyPair(final File encryptedPrivateKeyFile, final String password)
  		throws FileNotFoundException, IOException, PEMException
  	{
  		PEMParser pemParser = new PEMParser(new FileReader(encryptedPrivateKeyFile));
  		Object pemObject = pemParser.readObject();
  		pemParser.close();
  
  		JcaPEMKeyConverter keyConverter = new JcaPEMKeyConverter()
  			.setProvider(SecurityProvider.BC.name());
  		KeyPair keyPair;
  		if (pemObject instanceof PEMEncryptedKeyPair)
  		{
  			PEMDecryptorProvider decryptorProvider = new JcePEMDecryptorProviderBuilder()
  				.setProvider(SecurityProvider.BC.name()).build(password.toCharArray());
  			keyPair = keyConverter
  				.getKeyPair(((PEMEncryptedKeyPair)pemObject).decryptKeyPair(decryptorProvider));
  		}
  		else
  		{
  			keyPair = keyConverter.getKeyPair((PEMKeyPair)pemObject);
  		}
  		return keyPair;
  	}