public String toString(){
  StringBuffer buf=new StringBuffer(200);
  buf.append("PKCS9 Attributes: [\n\t");
  ObjectIdentifier oid;
  PKCS9Attribute value;
  boolean first=true;
  for (int i=1; i < PKCS9Attribute.PKCS9_OIDS.length; i++) {
    value=getAttribute(PKCS9Attribute.PKCS9_OIDS[i]);
    if (value == null)     continue;
    if (first)     first=false;
 else     buf.append(";\n\t");
    buf.append(value.toString());
  }
  buf.append("\n\t] (end PKCS9 Attributes)");
  return buf.toString();
}

public String toString ( ) { StringBuffer buf = new StringBuffer ( 200 ) ; buf . append ( "PKCS9 Attributes: [\n\t" ) ; ObjectIdentifier oid ; PKCS9Attribute value ; boolean first = true ; for ( int i = 1 ; i < PKCS9Attribute . PKCS9_OIDS . length ; i ++ ) { value = getAttribute ( PKCS9Attribute . PKCS9_OIDS [ i ] ) ; if ( value == null ) continue ; if ( first ) first = false ; else buf . append ( ";\n\t" ) ; buf . append ( value . toString ( ) ) ; } buf . append ( "\n\t] (end PKCS9 Attributes)" ) ; return buf . toString ( ) ; }
returns the pkcs9 block in a printable string form .
