code: public static PublicKey readPublicKey(final byte[] publicKeyBytes)
  		throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException
  	{
  		return readPublicKey(publicKeyBytes, KeyPairGeneratorAlgorithm.RSA.getAlgorithm());
  	}
docs: Read public key.
  
  @param publicKeyBytes
  the public key bytes
  @return the public key
  @throws NoSuchAlgorithmException
  is thrown if instantiation of the cypher object fails.
  @throws InvalidKeySpecException
  is thrown if generation of the SecretKey object fails.
  @throws NoSuchProviderException
  is thrown if the specified provider is not registered in the security provider
  list.