public String toString(){
  if (info == null || algId == null || signature == null)   return "";
  StringBuilder sb=new StringBuilder();
  sb.append("[\n");
  sb.append(info.toString() + "\n");
  sb.append("  Algorithm: [" + algId.toString() + "]\n");
  HexDumpEncoder encoder=new HexDumpEncoder();
  sb.append("  Signature:\n" + encoder.encodeBuffer(signature));
  sb.append("\n]");
  return sb.toString();
}

public String toString ( ) { if ( info == null || algId == null || signature == null ) return "" ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( "[\n" ) ; sb . append ( info . toString ( ) + "\n" ) ; sb . append ( "  Algorithm: [" + algId . toString ( ) + "]\n" ) ; HexDumpEncoder encoder = new HexDumpEncoder ( ) ; sb . append ( "  Signature:\n" + encoder . encodeBuffer ( signature ) ) ; sb . append ( "\n]" ) ; return sb . toString ( ) ; }
returns a printable representation of the certificate . this does not contain all the information available to distinguish this from any other certificate . the certificate must be fully constructed before this function may be called .
