docs: public static PrivateKey readPemPrivateKey(File keyFile, String password) throws IOException
  	{
  		Security.addProvider(new BouncyCastleProvider());
  		try (PEMParser pemParser = new PEMParser(
  			new InputStreamReader(new FileInputStream(keyFile))))
  		{
  			PEMEncryptedKeyPair encryptedKeyPair = (PEMEncryptedKeyPair)pemParser.readObject();
  			PEMDecryptorProvider decryptorProvider = new JcePEMDecryptorProviderBuilder()
  				.build(password.toCharArray());
  			PEMKeyPair pemKeyPair = encryptedKeyPair.decryptKeyPair(decryptorProvider);
  
  			JcaPEMKeyConverter converter = new JcaPEMKeyConverter()
  				.setProvider(SecurityProvider.BC.name());
  			return converter.getPrivateKey(pemKeyPair.getPrivateKeyInfo());
  		}
  	}