docs: public static X509Certificate readCertificate(final byte[] decoded) throws CertificateException
  	{
  		final CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509");
  		final InputStream inputStream = new ByteArrayInputStream(decoded);
  		final X509Certificate certificate = (X509Certificate)certificateFactory
  			.generateCertificate(inputStream);
  		return certificate;
  	}