public abstract class com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase extends com.sun.org.apache.xml.internal.security.c14n.CanonicalizerSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase
super_class: com.sun.org.apache.xml.internal.security.c14n.CanonicalizerSpi
{
public static final java.lang.String XML;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "xml"
public static final java.lang.String XMLNS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "xmlns"
public static final java.lang.String XMLNS_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/xmlns/"
public static final java.lang.String XML_LANG_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/XML/1998/namespace"
protected static final com.sun.org.apache.xml.internal.security.c14n.helper.AttrCompare COMPARE;
descriptor: Lcom/sun/org/apache/xml/internal/security/c14n/helper/AttrCompare;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static final byte[] END_PI;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] BEGIN_PI;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] END_COMM;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] BEGIN_COMM;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] XA;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] X9;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] QUOT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] XD;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] GT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] LT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] END_TAG;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] AMP;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] EQUALS_STR;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final int NODE_BEFORE_DOCUMENT_ELEMENT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: -1
protected static final int NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final int NODE_AFTER_DOCUMENT_ELEMENT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.util.List<com.sun.org.apache.xml.internal.security.signature.NodeFilter> nodeFilter;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/signature/NodeFilter;>;
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Set<org.w3c.dom.Node> xpathNodeSet;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Lorg/w3c/dom/Node;>;
private org.w3c.dom.Node excludeNode;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
private java.io.OutputStream writer;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Attr nullNode;
descriptor: Lorg/w3c/dom/Attr;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.sun.org.apache.xml.internal.security.c14n.helper.AttrCompare
dup
invokespecial com.sun.org.apache.xml.internal.security.c14n.helper.AttrCompare.<init>:()V
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.COMPARE:Lcom/sun/org/apache/xml/internal/security/c14n/helper/AttrCompare;
1: iconst_2
newarray 8
dup
iconst_0
bipush 63
bastore
dup
iconst_1
bipush 62
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_PI:[B
2: iconst_2
newarray 8
dup
iconst_0
bipush 60
bastore
dup
iconst_1
bipush 63
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.BEGIN_PI:[B
3: iconst_3
newarray 8
dup
iconst_0
bipush 45
bastore
dup
iconst_1
bipush 45
bastore
dup
iconst_2
bipush 62
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_COMM:[B
4: iconst_4
newarray 8
dup
iconst_0
bipush 60
bastore
dup
iconst_1
bipush 33
bastore
dup
iconst_2
bipush 45
bastore
dup
iconst_3
bipush 45
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.BEGIN_COMM:[B
5: iconst_5
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 35
bastore
dup
iconst_2
bipush 120
bastore
dup
iconst_3
bipush 65
bastore
dup
iconst_4
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XA:[B
6: iconst_5
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 35
bastore
dup
iconst_2
bipush 120
bastore
dup
iconst_3
bipush 57
bastore
dup
iconst_4
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.X9:[B
7: bipush 6
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 113
bastore
dup
iconst_2
bipush 117
bastore
dup
iconst_3
bipush 111
bastore
dup
iconst_4
bipush 116
bastore
dup
iconst_5
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.QUOT:[B
8: iconst_5
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 35
bastore
dup
iconst_2
bipush 120
bastore
dup
iconst_3
bipush 68
bastore
dup
iconst_4
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
9: iconst_4
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 103
bastore
dup
iconst_2
bipush 116
bastore
dup
iconst_3
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.GT:[B
10: iconst_4
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 108
bastore
dup
iconst_2
bipush 116
bastore
dup
iconst_3
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.LT:[B
11: iconst_2
newarray 8
dup
iconst_0
bipush 60
bastore
dup
iconst_1
bipush 47
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_TAG:[B
12: iconst_5
newarray 8
dup
iconst_0
bipush 38
bastore
dup
iconst_1
bipush 97
bastore
dup
iconst_2
bipush 109
bastore
dup
iconst_3
bipush 112
bastore
dup
iconst_4
bipush 59
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.AMP:[B
13: iconst_2
newarray 8
dup
iconst_0
bipush 61
bastore
dup
iconst_1
bipush 34
bastore
putstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.EQUALS_STR:[B
14: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizerSpi.<init>:()V
1: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
2: aload 0
iload 1
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.includeComments:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 4 1 includeComments Z
MethodParameters:
Name Flags
includeComments
public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeSubTree:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 1 1 rootNode Lorg/w3c/dom/Node;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
rootNode
public byte[] engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node>);
descriptor: (Ljava/util/Set;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
1: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getOwnerDocument:(Ljava/util/Set;)Lorg/w3c/dom/Document;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeXPathNodeSetInternal:(Lorg/w3c/dom/Node;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 2 1 xpathNodeSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
Signature: (Ljava/util/Set<Lorg/w3c/dom/Node;>;)[B
MethodParameters:
Name Flags
xpathNodeSet
public byte[] engineCanonicalize(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isExcludeComments:()Z
ifeq 2
1: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.includeComments:Z
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifeq 5
3: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getBytes:()[B
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalize:([B)[B
4: areturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isElement:()Z
ifeq 8
6: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getExcludeNode:()Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeSubTree:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)[B
7: areturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNodeSet:()Z
ifeq 16
9: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeFilters:()Ljava/util/List;
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
10: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.circumventBugIfNeeded:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
11: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
ifnull 14
12: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeXPathNodeSetInternal:(Lorg/w3c/dom/Node;)[B
13: areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeSet:()Ljava/util/Set;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.engineCanonicalizeXPathNodeSet:(Ljava/util/Set;)[B
15: areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
17: StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 2
start local 2 18: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 19: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 20: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 21: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 2
start local 2 22: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 23 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
18 19 2 ex Ljavax/xml/parsers/ParserConfigurationException;
20 21 2 ex Ljava/io/IOException;
22 23 2 ex Lorg/xml/sax/SAXException;
Exception table:
from to target type
0 4 17 Class javax.xml.parsers.ParserConfigurationException
5 7 17 Class javax.xml.parsers.ParserConfigurationException
8 13 17 Class javax.xml.parsers.ParserConfigurationException
14 15 17 Class javax.xml.parsers.ParserConfigurationException
0 4 19 Class java.io.IOException
5 7 19 Class java.io.IOException
8 13 19 Class java.io.IOException
14 15 19 Class java.io.IOException
0 4 21 Class org.xml.sax.SAXException
5 7 21 Class org.xml.sax.SAXException
8 13 21 Class org.xml.sax.SAXException
14 15 21 Class org.xml.sax.SAXException
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
input
public void setWriter(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 2 1 writer Ljava/io/OutputStream;
MethodParameters:
Name Flags
writer
protected java.io.OutputStream getWriter();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
protected byte[] engineCanonicalizeSubTree(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.excludeNode:Lorg/w3c/dom/Node;
1: new com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable
dup
invokespecial com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.<init>:()V
astore 3
start local 3 2: iconst_m1
istore 4
start local 4 3: aload 1
ifnull 6
iconst_1
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 6
4: aload 0
aload 1
checkcast org.w3c.dom.Element
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.getParentNameSpaces:(Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
5: iconst_0
istore 4
6: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable int
StackMap stack:
aload 0
aload 1
aload 3
aload 1
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.canonicalizeSubTree:(Lorg/w3c/dom/Node;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Lorg/w3c/dom/Node;I)V
7: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
8: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
instanceof java.io.ByteArrayOutputStream
ifeq 16
9: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 5
start local 5 10: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.reset:Z
ifeq 13
11: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.reset:()V
12: goto 14
13: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
14: StackMap locals:
StackMap stack:
aload 5
15: areturn
end local 5 16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
instanceof com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
ifeq 24
17: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.toByteArray:()[B
astore 5
start local 5 18: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.reset:Z
ifeq 21
19: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.reset:()V
20: goto 22
21: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
22: StackMap locals:
StackMap stack:
aload 5
23: areturn
end local 5 24: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
25: aconst_null
areturn
end local 4 end local 3 26: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase org.w3c.dom.Node org.w3c.dom.Node
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 27: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 3
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 28: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 29: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 3
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 30 1 rootNode Lorg/w3c/dom/Node;
0 30 2 excludeNode Lorg/w3c/dom/Node;
2 26 3 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
3 26 4 nodeLevel I
10 16 5 result [B
18 24 5 result [B
27 28 3 ex Ljava/io/UnsupportedEncodingException;
29 30 3 ex Ljava/io/IOException;
Exception table:
from to target type
1 15 26 Class java.io.UnsupportedEncodingException
16 23 26 Class java.io.UnsupportedEncodingException
24 25 26 Class java.io.UnsupportedEncodingException
1 15 28 Class java.io.IOException
16 23 28 Class java.io.IOException
24 25 28 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
rootNode
excludeNode
protected final void canonicalizeSubTree(org.w3c.dom.Node, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable, org.w3c.dom.Node, int);
descriptor: (Lorg/w3c/dom/Node;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Lorg/w3c/dom/Node;I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisibleInt:(Lorg/w3c/dom/Node;)I
iconst_m1
if_icmpne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
astore 7
start local 7 5: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.excludeNode:Lorg/w3c/dom/Node;
astore 8
start local 8 6: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.includeComments:Z
istore 9
start local 9 7: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 10
start local 10 8: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase org.w3c.dom.Node com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable org.w3c.dom.Node int org.w3c.dom.Node org.w3c.dom.Node java.io.OutputStream org.w3c.dom.Node int java.util.Map
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 1 - 12
1: 22
2: 9
3: 20
4: 20
5: 43
6: 9
7: 18
8: 15
9: 12
10: 43
11: 12
12: 9
default: 43
}
9: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "empty"
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "illegal node type during traversal"
aastore
11: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePush:()V
13: aload 1
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
14: goto 55
15: StackMap locals:
StackMap stack:
iload 9
ifeq 55
16: aload 0
aload 1
checkcast org.w3c.dom.Comment
aload 7
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputCommentToWriter:(Lorg/w3c/dom/Comment;Ljava/io/OutputStream;I)V
17: goto 55
18: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.w3c.dom.ProcessingInstruction
aload 7
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputPItoWriter:(Lorg/w3c/dom/ProcessingInstruction;Ljava/io/OutputStream;I)V
19: goto 55
20: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
aload 7
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputTextToWriter:(Ljava/lang/String;Ljava/io/OutputStream;)V
21: goto 55
22: StackMap locals:
StackMap stack:
iconst_0
istore 4
23: aload 1
aload 8
if_acmpne 25
24: goto 55
25: StackMap locals:
StackMap stack:
aload 1
checkcast org.w3c.dom.Element
astore 11
start local 11 26: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePush:()V
27: aload 7
bipush 60
invokevirtual java.io.OutputStream.write:(I)V
28: aload 11
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
astore 12
start local 12 29: aload 12
aload 7
aload 10
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
30: aload 0
aload 11
aload 2
aload 10
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputAttributesSubtree:(Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
31: aload 7
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
32: aload 1
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
33: aload 5
ifnonnull 41
34: aload 7
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_TAG:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
35: aload 12
aload 7
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeStringToUtf8:(Ljava/lang/String;Ljava/io/OutputStream;)V
36: aload 7
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
37: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePop:()V
38: aload 6
ifnull 55
39: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
40: goto 55
41: StackMap locals: org.w3c.dom.Element java.lang.String
StackMap stack:
aload 11
astore 6
42: goto 55
end local 12 end local 11 43: StackMap locals:
StackMap stack:
goto 55
44: StackMap locals:
StackMap stack:
aload 7
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_TAG:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
45: aload 6
checkcast org.w3c.dom.Element
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
aload 7
aload 10
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
46: aload 7
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
47: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePop:()V
48: aload 6
aload 3
if_acmpne 50
49: return
50: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
51: aload 6
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 6
52: aload 6
ifnull 53
iconst_1
aload 6
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpeq 55
53: StackMap locals:
StackMap stack:
iconst_1
istore 4
54: aconst_null
astore 6
55: StackMap locals:
StackMap stack:
aload 5
ifnonnull 56
aload 6
ifnonnull 44
56: StackMap locals:
StackMap stack:
aload 5
ifnonnull 58
57: return
58: StackMap locals:
StackMap stack:
aload 5
astore 1
59: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
60: goto 8
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 61 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 61 1 currentNode Lorg/w3c/dom/Node;
0 61 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
0 61 3 endnode Lorg/w3c/dom/Node;
0 61 4 documentLevel I
3 61 5 sibling Lorg/w3c/dom/Node;
4 61 6 parentNode Lorg/w3c/dom/Node;
5 61 7 writer Ljava/io/OutputStream;
6 61 8 excludeNode Lorg/w3c/dom/Node;
7 61 9 includeComments Z
8 61 10 cache Ljava/util/Map<Ljava/lang/String;[B>;
26 43 11 currentElement Lorg/w3c/dom/Element;
29 43 12 name Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, java.io.IOException
MethodParameters:
Name Flags
currentNode
ns
endnode
documentLevel
private byte[] engineCanonicalizeXPathNodeSetInternal(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.canonicalizeXPathNodeSet:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V
1: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
instanceof java.io.ByteArrayOutputStream
ifeq 10
3: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 2
start local 2 4: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.reset:Z
ifeq 7
5: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
invokevirtual java.io.ByteArrayOutputStream.reset:()V
6: goto 8
7: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
8: StackMap locals:
StackMap stack:
aload 2
9: areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
instanceof com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
ifeq 18
11: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.toByteArray:()[B
astore 2
start local 2 12: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.reset:Z
ifeq 15
13: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
checkcast com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.reset:()V
14: goto 16
15: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
16: StackMap locals:
StackMap stack:
aload 2
17: areturn
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
19: aconst_null
areturn
20: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 2
start local 2 21: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 22: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 23: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 24 1 doc Lorg/w3c/dom/Node;
4 10 2 sol [B
12 18 2 result [B
21 22 2 ex Ljava/io/UnsupportedEncodingException;
23 24 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 9 20 Class java.io.UnsupportedEncodingException
10 17 20 Class java.io.UnsupportedEncodingException
18 19 20 Class java.io.UnsupportedEncodingException
0 9 22 Class java.io.IOException
10 17 22 Class java.io.IOException
18 19 22 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
doc
protected final void canonicalizeXPathNodeSet(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisibleInt:(Lorg/w3c/dom/Node;)I
iconst_m1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: new com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable
dup
invokespecial com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.<init>:()V
astore 4
start local 4 4: aload 1
ifnull 6
iconst_1
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 6
5: aload 0
aload 1
checkcast org.w3c.dom.Element
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.getParentNameSpaces:(Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
6: StackMap locals: int com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable
StackMap stack:
aload 1
ifnonnull 8
7: return
8: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 9: aconst_null
astore 6
start local 6 10: iconst_m1
istore 7
start local 7 11: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 8
start local 8 12: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase org.w3c.dom.Node org.w3c.dom.Node int com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable org.w3c.dom.Node org.w3c.dom.Node int java.util.Map
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 1 - 12
1: 36
2: 13
3: 25
4: 25
5: 70
6: 13
7: 22
8: 19
9: 16
10: 70
11: 16
12: 13
default: 70
}
13: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "empty"
14: iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "illegal node type during traversal"
aastore
15: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
16: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePush:()V
17: aload 1
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
18: goto 85
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.includeComments:Z
ifeq 85
aload 0
aload 1
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getLevel:()I
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisibleDO:(Lorg/w3c/dom/Node;I)I
iconst_1
if_icmpne 85
20: aload 0
aload 1
checkcast org.w3c.dom.Comment
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
iload 7
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputCommentToWriter:(Lorg/w3c/dom/Comment;Ljava/io/OutputStream;I)V
21: goto 85
22: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisible:(Lorg/w3c/dom/Node;)Z
ifeq 85
23: aload 0
aload 1
checkcast org.w3c.dom.ProcessingInstruction
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
iload 7
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputPItoWriter:(Lorg/w3c/dom/ProcessingInstruction;Ljava/io/OutputStream;I)V
24: goto 85
25: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisible:(Lorg/w3c/dom/Node;)Z
ifeq 85
26: aload 1
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputTextToWriter:(Ljava/lang/String;Ljava/io/OutputStream;)V
27: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 9
start local 9 28: goto 33
29: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 9
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputTextToWriter:(Ljava/lang/String;Ljava/io/OutputStream;)V
30: aload 9
astore 1
31: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
32: aload 9
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 9
33: StackMap locals:
StackMap stack:
aload 9
ifnull 85
aload 9
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpeq 29
34: aload 9
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_4
if_icmpeq 29
end local 9 35: goto 85
36: StackMap locals:
StackMap stack:
iconst_0
istore 7
37: aload 1
checkcast org.w3c.dom.Element
astore 9
start local 9 38: aconst_null
astore 10
start local 10 39: aload 0
aload 1
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getLevel:()I
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisibleDO:(Lorg/w3c/dom/Node;I)I
istore 11
start local 11 40: iload 11
iconst_m1
if_icmpne 43
41: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
42: goto 85
43: StackMap locals: org.w3c.dom.Element java.lang.String int
StackMap stack:
iload 11
iconst_1
if_icmpne 44
iconst_1
goto 45
StackMap locals:
StackMap stack:
44: iconst_0
StackMap locals:
StackMap stack: int
45: istore 3
46: iload 3
ifeq 52
47: aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePush:()V
48: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
bipush 60
invokevirtual java.io.OutputStream.write:(I)V
49: aload 9
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
astore 10
50: aload 10
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
aload 8
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
51: goto 53
52: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.push:()V
53: StackMap locals:
StackMap stack:
aload 0
aload 9
aload 4
aload 8
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.outputAttributes:(Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
54: iload 3
ifeq 56
55: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
56: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
57: aload 5
ifnonnull 68
58: iload 3
ifeq 64
59: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_TAG:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
60: aload 10
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
aload 8
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
61: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
62: aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePop:()V
63: goto 65
64: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.pop:()V
65: StackMap locals:
StackMap stack:
aload 6
ifnull 85
66: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
67: goto 85
68: StackMap locals:
StackMap stack:
aload 9
astore 6
69: goto 85
end local 11 end local 10 end local 9 70: StackMap locals:
StackMap stack:
goto 85
71: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.isVisible:(Lorg/w3c/dom/Node;)Z
ifeq 77
72: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_TAG:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
73: aload 6
checkcast org.w3c.dom.Element
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
aload 8
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
74: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.writer:Ljava/io/OutputStream;
bipush 62
invokevirtual java.io.OutputStream.write:(I)V
75: aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.outputNodePop:()V
76: goto 78
77: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.pop:()V
78: StackMap locals:
StackMap stack:
aload 6
aload 2
if_acmpne 80
79: return
80: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
81: aload 6
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 6
82: aload 6
ifnull 83
iconst_1
aload 6
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpeq 85
83: StackMap locals:
StackMap stack:
aconst_null
astore 6
84: iconst_1
istore 7
85: StackMap locals:
StackMap stack:
aload 5
ifnonnull 86
aload 6
ifnonnull 71
86: StackMap locals:
StackMap stack:
aload 5
ifnonnull 88
87: return
88: StackMap locals:
StackMap stack:
aload 5
astore 1
89: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
90: goto 12
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 91 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 91 1 currentNode Lorg/w3c/dom/Node;
0 91 2 endnode Lorg/w3c/dom/Node;
3 91 3 currentNodeIsVisible Z
4 91 4 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
9 91 5 sibling Lorg/w3c/dom/Node;
10 91 6 parentNode Lorg/w3c/dom/Node;
11 91 7 documentLevel I
12 91 8 cache Ljava/util/Map<Ljava/lang/String;[B>;
28 35 9 nextSibling Lorg/w3c/dom/Node;
38 70 9 currentElement Lorg/w3c/dom/Element;
39 70 10 name Ljava/lang/String;
40 70 11 i I
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, java.io.IOException
MethodParameters:
Name Flags
currentNode
endnode
protected int isVisibleDO(org.w3c.dom.Node, int);
descriptor: (Lorg/w3c/dom/Node;I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
ifnull 7
1: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.signature.NodeFilter
aload 1
iload 2
invokeinterface com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeIncludeDO:(Lorg/w3c/dom/Node;I)I
istore 4
start local 4 4: iload 4
iconst_1
if_icmpeq 6
5: iload 4
ireturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
ifnull 9
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 10 1 currentNode Lorg/w3c/dom/Node;
0 10 2 level I
2 7 3 it Ljava/util/Iterator<Lcom/sun/org/apache/xml/internal/security/signature/NodeFilter;>;
4 6 4 i I
MethodParameters:
Name Flags
currentNode
level
protected int isVisibleInt(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
ifnull 7
1: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 6
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.signature.NodeFilter
aload 1
invokeinterface com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeInclude:(Lorg/w3c/dom/Node;)I
istore 3
start local 3 4: iload 3
iconst_1
if_icmpeq 6
5: iload 3
ireturn
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
ifnull 9
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 10 1 currentNode Lorg/w3c/dom/Node;
2 7 2 it Ljava/util/Iterator<Lcom/sun/org/apache/xml/internal/security/signature/NodeFilter;>;
4 6 3 i I
MethodParameters:
Name Flags
currentNode
protected boolean isVisible(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
ifnull 6
1: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nodeFilter:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.signature.NodeFilter
aload 1
invokeinterface com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeInclude:(Lorg/w3c/dom/Node;)I
iconst_1
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
ifnull 8
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.xpathNodeSet:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 9 1 currentNode Lorg/w3c/dom/Node;
2 6 2 it Ljava/util/Iterator<Lcom/sun/org/apache/xml/internal/security/signature/NodeFilter;>;
MethodParameters:
Name Flags
currentNode
protected void handleParent(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifne 2
aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 3: aload 3
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 13
6: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 3
iload 5
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 6
start local 6 7: aload 6
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
astore 7
start local 7 8: aload 6
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
astore 8
start local 8 9: ldc "http://www.w3.org/2000/xmlns/"
aload 6
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: ldc "xml"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
ldc "http://www.w3.org/XML/1998/namespace"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
11: StackMap locals: org.w3c.dom.Attr java.lang.String java.lang.String
StackMap stack:
aload 2
aload 7
aload 8
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMapping:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Z
pop
end local 8 end local 7 end local 6 12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 4
if_icmplt 6
end local 5 14: aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ifnull 25
15: aload 1
invokeinterface org.w3c.dom.Element.getPrefix:()Ljava/lang/String;
astore 5
start local 5 16: aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 6
start local 6 17: aload 5
ifnull 18
aload 5
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
18: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable org.w3c.dom.NamedNodeMap int java.lang.String java.lang.String
StackMap stack:
ldc "xmlns"
astore 5
19: ldc "xmlns"
astore 7
start local 7 20: goto 22
end local 7 21: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 22: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
ldc "http://www.w3.org/2000/xmlns/"
aload 7
invokeinterface org.w3c.dom.Document.createAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 8
start local 8 23: aload 8
aload 6
invokeinterface org.w3c.dom.Attr.setValue:(Ljava/lang/String;)V
24: aload 2
aload 5
aload 6
aload 8
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMapping:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Z
pop
end local 8 end local 7 end local 6 end local 5 25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 26 1 e Lorg/w3c/dom/Element;
0 26 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
3 26 3 attrs Lorg/w3c/dom/NamedNodeMap;
4 26 4 attrsLength I
5 14 5 i I
7 12 6 attribute Lorg/w3c/dom/Attr;
8 12 7 NName Ljava/lang/String;
9 12 8 NValue Ljava/lang/String;
16 25 5 NName Ljava/lang/String;
17 25 6 NValue Ljava/lang/String;
20 21 7 Name Ljava/lang/String;
22 25 7 Name Ljava/lang/String;
23 25 8 n Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
e
ns
protected final void getParentNameSpaces(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Element.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 1: aload 3
ifnull 2
iconst_1
aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpeq 3
2: StackMap locals: org.w3c.dom.Node
StackMap stack:
return
3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 3
astore 5
start local 5 5: goto 8
6: StackMap locals: java.util.List org.w3c.dom.Node
StackMap stack:
aload 4
aload 5
checkcast org.w3c.dom.Element
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 5
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 5
8: StackMap locals:
StackMap stack:
aload 5
ifnull 9
iconst_1
aload 5
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpeq 6
9: StackMap locals:
StackMap stack:
aload 4
aload 4
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.listIterator:(I)Ljava/util/ListIterator;
astore 6
start local 6 10: goto 13
11: StackMap locals: java.util.ListIterator
StackMap stack:
aload 6
invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
checkcast org.w3c.dom.Element
astore 7
start local 7 12: aload 0
aload 7
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.handleParent:(Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
end local 7 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.ListIterator.hasPrevious:()Z
ifne 11
14: aload 4
invokeinterface java.util.List.clear:()V
15: aload 2
ldc "xmlns"
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getMappingWithoutRendered:(Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 7
start local 7 16: aload 7
ifnull 20
ldc ""
aload 7
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: aload 2
18: ldc "xmlns"
ldc ""
aload 0
aload 7
invokeinterface org.w3c.dom.Attr.getOwnerDocument:()Lorg/w3c/dom/Document;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.getNullNode:(Lorg/w3c/dom/Document;)Lorg/w3c/dom/Attr;
19: invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMappingAndRender:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Node;
pop
20: StackMap locals: org.w3c.dom.Attr
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 21 1 el Lorg/w3c/dom/Element;
0 21 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
1 21 3 n1 Lorg/w3c/dom/Node;
4 21 4 parents Ljava/util/List<Lorg/w3c/dom/Element;>;
5 21 5 parent Lorg/w3c/dom/Node;
10 21 6 it Ljava/util/ListIterator<Lorg/w3c/dom/Element;>;
12 13 7 ele Lorg/w3c/dom/Element;
16 21 7 nsprefix Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
el
ns
abstract void outputAttributes(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable, java.util.Map<java.lang.String, byte[]>);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, org.w3c.dom.DOMException, java.io.IOException
Signature: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map<Ljava/lang/String;[B>;)V
MethodParameters:
Name Flags
element
ns
cache
abstract void outputAttributesSubtree(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable, java.util.Map<java.lang.String, byte[]>);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, org.w3c.dom.DOMException, java.io.IOException
Signature: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map<Ljava/lang/String;[B>;)V
MethodParameters:
Name Flags
element
ns
cache
abstract void circumventBugIfNeeded(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
MethodParameters:
Name Flags
input
protected static final void outputAttrToWriter(java.lang.String, java.lang.String, java.io.OutputStream, java.util.Map<java.lang.String, byte[]>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
bipush 32
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
aload 2
aload 3
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeByte:(Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
2: aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.EQUALS_STR:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
3: aload 1
invokevirtual java.lang.String.length:()I
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 27
6: StackMap locals: java.lang.String java.lang.String java.io.OutputStream java.util.Map top int int
StackMap stack:
aload 1
iload 6
invokevirtual java.lang.String.codePointAt:(I)I
istore 7
start local 7 7: iload 6
iload 7
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 6
8: iload 7
lookupswitch { // 6
9: 15
10: 17
13: 19
34: 13
38: 9
60: 11
default: 21
}
9: StackMap locals: int
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.AMP:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 10: goto 26
end local 4 11: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.LT:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 12: goto 26
end local 4 13: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.QUOT:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 14: goto 26
end local 4 15: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.X9:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 16: goto 26
end local 4 17: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XA:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 18: goto 26
end local 4 19: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 20: goto 26
end local 4 21: StackMap locals:
StackMap stack:
iload 7
sipush 128
if_icmpge 24
22: aload 2
iload 7
invokevirtual java.io.OutputStream.write:(I)V
23: goto 27
24: StackMap locals:
StackMap stack:
iload 7
aload 2
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeCodePointToUtf8:(ILjava/io/OutputStream;)V
25: goto 27
start local 4 26: StackMap locals: java.lang.String java.lang.String java.io.OutputStream java.util.Map byte[] int int int
StackMap stack:
aload 2
aload 4
invokevirtual java.io.OutputStream.write:([B)V
end local 7 end local 4 27: StackMap locals: java.lang.String java.lang.String java.io.OutputStream java.util.Map top int int
StackMap stack:
iload 6
iload 5
if_icmplt 6
28: aload 2
bipush 34
invokevirtual java.io.OutputStream.write:(I)V
29: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 name Ljava/lang/String;
0 30 1 value Ljava/lang/String;
0 30 2 writer Ljava/io/OutputStream;
0 30 3 cache Ljava/util/Map<Ljava/lang/String;[B>;
10 11 4 toWrite [B
12 13 4 toWrite [B
14 15 4 toWrite [B
16 17 4 toWrite [B
18 19 4 toWrite [B
20 21 4 toWrite [B
26 27 4 toWrite [B
4 30 5 length I
5 30 6 i I
7 27 7 c I
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map<Ljava/lang/String;[B>;)V
MethodParameters:
Name Flags
name final
value final
writer final
cache final
protected void outputPItoWriter(org.w3c.dom.ProcessingInstruction, java.io.OutputStream, int);
descriptor: (Lorg/w3c/dom/ProcessingInstruction;Ljava/io/OutputStream;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_1
if_icmpne 2
1: aload 2
bipush 10
invokevirtual java.io.OutputStream.write:(I)V
2: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.BEGIN_PI:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
3: aload 1
invokeinterface org.w3c.dom.ProcessingInstruction.getTarget:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 16
7: StackMap locals: java.lang.String int int
StackMap stack:
aload 4
iload 6
invokevirtual java.lang.String.codePointAt:(I)I
istore 7
start local 7 8: iload 6
iload 7
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 6
9: iload 7
bipush 13
if_icmpne 12
10: aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
11: goto 16
12: StackMap locals: int
StackMap stack:
iload 7
sipush 128
if_icmpge 15
13: aload 2
iload 7
invokevirtual java.io.OutputStream.write:(I)V
14: goto 16
15: StackMap locals:
StackMap stack:
iload 7
aload 2
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeCodePointToUtf8:(ILjava/io/OutputStream;)V
end local 7 16: StackMap locals:
StackMap stack:
iload 6
iload 5
if_icmplt 7
end local 6 17: aload 1
invokeinterface org.w3c.dom.ProcessingInstruction.getData:()Ljava/lang/String;
astore 6
start local 6 18: aload 6
invokevirtual java.lang.String.length:()I
istore 5
19: iload 5
ifle 30
20: aload 2
bipush 32
invokevirtual java.io.OutputStream.write:(I)V
21: iconst_0
istore 7
start local 7 22: goto 29
23: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase org.w3c.dom.ProcessingInstruction java.io.OutputStream int java.lang.String int java.lang.String int
StackMap stack:
aload 6
iload 7
invokevirtual java.lang.String.codePointAt:(I)I
istore 8
start local 8 24: iload 7
iload 8
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 7
25: iload 8
bipush 13
if_icmpne 28
26: aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
27: goto 29
28: StackMap locals: int
StackMap stack:
iload 8
aload 2
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeCodePointToUtf8:(ILjava/io/OutputStream;)V
end local 8 29: StackMap locals:
StackMap stack:
iload 7
iload 5
if_icmplt 23
end local 7 30: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_PI:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
31: iload 3
iconst_m1
if_icmpne 33
32: aload 2
bipush 10
invokevirtual java.io.OutputStream.write:(I)V
33: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 34 1 currentPI Lorg/w3c/dom/ProcessingInstruction;
0 34 2 writer Ljava/io/OutputStream;
0 34 3 position I
4 34 4 target Ljava/lang/String;
5 34 5 length I
6 17 6 i I
8 16 7 c I
18 34 6 data Ljava/lang/String;
22 30 7 i I
24 29 8 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentPI
writer
position
protected void (org.w3c.dom.Comment, java.io.OutputStream, int);
descriptor: (Lorg/w3c/dom/Comment;Ljava/io/OutputStream;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_1
if_icmpne 2
1: aload 2
bipush 10
invokevirtual java.io.OutputStream.write:(I)V
2: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.BEGIN_COMM:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
3: aload 1
invokeinterface org.w3c.dom.Comment.getData:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 16
7: StackMap locals: java.lang.String int int
StackMap stack:
aload 4
iload 6
invokevirtual java.lang.String.codePointAt:(I)I
istore 7
start local 7 8: iload 6
iload 7
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 6
9: iload 7
bipush 13
if_icmpne 12
10: aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
11: goto 16
12: StackMap locals: int
StackMap stack:
iload 7
sipush 128
if_icmpge 15
13: aload 2
iload 7
invokevirtual java.io.OutputStream.write:(I)V
14: goto 16
15: StackMap locals:
StackMap stack:
iload 7
aload 2
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeCodePointToUtf8:(ILjava/io/OutputStream;)V
end local 7 16: StackMap locals:
StackMap stack:
iload 6
iload 5
if_icmplt 7
end local 6 17: aload 2
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.END_COMM:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
18: iload 3
iconst_m1
if_icmpne 20
19: aload 2
bipush 10
invokevirtual java.io.OutputStream.write:(I)V
20: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 21 1 currentComment Lorg/w3c/dom/Comment;
0 21 2 writer Ljava/io/OutputStream;
0 21 3 position I
4 21 4 data Ljava/lang/String;
5 21 5 length I
6 17 6 i I
8 16 7 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentComment
writer
position
protected static final void outputTextToWriter(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 4
start local 4 2: goto 20
3: StackMap locals: java.lang.String java.io.OutputStream int top int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.codePointAt:(I)I
istore 5
start local 5 4: iload 4
iload 5
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 4
5: iload 5
lookupswitch { // 4
13: 12
38: 6
60: 8
62: 10
default: 14
}
6: StackMap locals: int
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.AMP:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 7: goto 19
end local 3 8: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.LT:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 9: goto 19
end local 3 10: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.GT:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 11: goto 19
end local 3 12: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.XD:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 13: goto 19
end local 3 14: StackMap locals:
StackMap stack:
iload 5
sipush 128
if_icmpge 17
15: aload 1
iload 5
invokevirtual java.io.OutputStream.write:(I)V
16: goto 20
17: StackMap locals:
StackMap stack:
iload 5
aload 1
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.UtfHelpper.writeCodePointToUtf8:(ILjava/io/OutputStream;)V
18: goto 20
start local 3 19: StackMap locals: java.lang.String java.io.OutputStream int byte[] int int
StackMap stack:
aload 1
aload 3
invokevirtual java.io.OutputStream.write:([B)V
end local 5 end local 3 20: StackMap locals: java.lang.String java.io.OutputStream int top int
StackMap stack:
iload 4
iload 2
if_icmplt 3
end local 4 21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 text Ljava/lang/String;
0 22 1 writer Ljava/io/OutputStream;
1 22 2 length I
7 8 3 toWrite [B
9 10 3 toWrite [B
11 12 3 toWrite [B
13 14 3 toWrite [B
19 20 3 toWrite [B
2 21 4 i I
4 20 5 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
text final
writer final
protected org.w3c.dom.Attr getNullNode(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)Lorg/w3c/dom/Attr;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nullNode:Lorg/w3c/dom/Attr;
ifnonnull 8
1: aload 0
aload 1
2: ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
3: invokeinterface org.w3c.dom.Document.createAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nullNode:Lorg/w3c/dom/Attr;
4: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nullNode:Lorg/w3c/dom/Attr;
ldc ""
invokeinterface org.w3c.dom.Attr.setValue:(Ljava/lang/String;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unable to create nullNode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.nullNode:Lorg/w3c/dom/Attr;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/CanonicalizerBase;
0 9 1 ownerDocument Lorg/w3c/dom/Document;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
ownerDocument
}
SourceFile: "CanonicalizerBase.java"