public String dump(X509Ext extension) throws Asn1Exception, IOException {
  try {
    ASN1OctetString octetString=ASN1OctetString.getInstance(extension.getValue());
    byte[] octets=octetString.getOctets();
    return dump(octets);
  }
 catch (  IOException ex) {
    throw new Asn1Exception(res.getString("NoAsn1DumpObject.exception.message"),ex);
  }
}

public String dump ( X509Ext extension ) throws Asn1Exception , IOException { try { ASN1OctetString octetString = ASN1OctetString . getInstance ( extension . getValue ( ) ) ; byte [ ] octets = octetString . getOctets ( ) ; return dump ( octets ) ; } catch ( IOException ex ) { throw new Asn1Exception ( res . getString ( "NoAsn1DumpObject.exception.message" ) , ex ) ; } }
get dump of the supplied x . 509 extension .
