code: public static String toBase64(final PublicKey publicKey)
  	{
  		final byte[] encoded = publicKey.getEncoded();
  		return Base64.encodeBase64String(encoded);
  	}
docs: Transform the given {@link PublicKey} to a base64 encoded {@link String} value.
  
  @param publicKey
  the public key
  @return the base64 encoded {@link String} value.