public String dump(byte[] der) throws Asn1Exception, IOException {
  try {
    ASN1Primitive derObject=ASN1Primitive.fromByteArray(der);
    if (derObject.getEncoded().length < der.length) {
      throw new Asn1Exception(res.getString("NoAsn1DumpObject.exception.message"));
    }
    return dump(derObject);
  }
 catch (  IOException ex) {
    throw new Asn1Exception(res.getString("NoAsn1DumpObject.exception.message"),ex);
  }
}

public String dump ( byte [ ] der ) throws Asn1Exception , IOException { try { ASN1Primitive derObject = ASN1Primitive . fromByteArray ( der ) ; if ( derObject . getEncoded ( ) . length < der . length ) { throw new Asn1Exception ( res . getString ( "NoAsn1DumpObject.exception.message" ) ) ; } return dump ( derObject ) ; } catch ( IOException ex ) { throw new Asn1Exception ( res . getString ( "NoAsn1DumpObject.exception.message" ) , ex ) ; } }
get dump of the supplied der encoded asn . 1 object .
