docs: public static boolean isPemFormat(final File file) throws IOException
  	{
  		boolean result = false;
  		final byte[] keyBytes = Files.readAllBytes(file.toPath());
  		final String privateKeyPem = new String(keyBytes);
  		if (privateKeyPem.indexOf(BEGIN_PRIVATE_KEY_PREFIX) != -1)
  		{
  			result = true;
  			return result;
  		}
  		if (privateKeyPem.indexOf(BEGIN_RSA_PRIVATE_KEY_PREFIX) != -1)
  		{
  			result = true;
  			return result;
  		}
  		return result;
  	}