public String toString(){
  if (keyUsages == null)   return "";
  String usage="  ";
  boolean first=true;
  for (  ObjectIdentifier oid : keyUsages) {
    if (!first) {
      usage+="\n  ";
    }
    String result=map.get(oid);
    if (result != null) {
      usage+=result;
    }
 else {
      usage+=oid.toString();
    }
    first=false;
  }
  return super.toString() + "ExtendedKeyUsages [\n" + usage+ "\n]\n";
}

public String toString ( ) { if ( keyUsages == null ) return "" ; String usage = "  " ; boolean first = true ; for ( ObjectIdentifier oid : keyUsages ) { if ( ! first ) { usage += "\n  " ; } String result = map . get ( oid ) ; if ( result != null ) { usage += result ; } else { usage += oid . toString ( ) ; } first = false ; } return super . toString ( ) + "ExtendedKeyUsages [\n" + usage + "\n]\n" ; }
return the extension as user readable string .
