@Override
    public int doEndTag() throws JspException {

        try (final ASN1InputStream decoder = new ASN1InputStream(value)){
            ASN1Primitive primitive = decoder.readObject();
            while (primitive != null && !(primitive instanceof ASN1Null)) {
                pageContext.getOut().write(doPrimitive(primitive));
                primitive = decoder.readObject();
            }
        } catch (Exception ex) {
            throw new JspException(ex.getMessage());
        }

        return super.doEndTag();
    }
Creates a table that represents an ASN.1 encoded DER value.

This tag creates a HTML table, that consists of one or two columns and an unspecified number of rows. Each cell
can contain a nested table (of similar format).
xmppserver/src/main/java/org/jivesoftware/admin/ASN1DERTag.java