docs: public static PublicKey readPublicKey(final byte[] publicKeyBytes, final String algorithm)
  		throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException
  	{
  		final X509EncodedKeySpec keySpec = new X509EncodedKeySpec(publicKeyBytes);
  		final KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
  		final PublicKey publicKey = keyFactory.generatePublic(keySpec);
  		return publicKey;
  	}