code: public static void writeInPemFormat(final X509Certificate certificate,
  		final @NonNull OutputStream outputStream) throws IOException, CertificateEncodingException
  	{
  		write(certificate, outputStream, KeyFileFormat.PEM);
  	}
docs: Write the given {@link X509Certificate} into the given {@link OutputStream} in the *.pem
  format.
  
  @param certificate
  the certificate
  @param outputStream
  the output stream to write in
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws CertificateEncodingException
  is thrown if an encoding error occurs.