docs: public static Key readKey(InputStream keyStream) {
  		final PemObject object = readPemObject(keyStream);
  		final String type = object.getType();
  		if (StrUtil.isNotBlank(type) && type.endsWith("PRIVATE KEY")) {
  			return KeyUtil.generateRSAPrivateKey(object.getContent());
  		} else {
  			return KeyUtil.readX509Certificate(keyStream).getPublicKey();
  		}
  	}