public static String dumpAsString ( Object obj ) { if ( obj instanceof DERObject ) { return _dumpAsString ( "" , ( DERObject ) obj ) ; } else if ( obj instanceof DEREncodable ) { return _dumpAsString ( "" , ( ( DEREncodable ) obj ) . getDERObject ( ) ) ; } return "unknown object type " + obj . toString ( ) ; }
dump out a DER object as a formatted string