public class com.sun.org.apache.xml.internal.security.utils.XMLUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.XMLUtils
super_class: java.lang.Object
{
private static boolean ignoreLineBreaks;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile java.lang.String dsPrefix;
descriptor: Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.lang.String ds11Prefix;
descriptor: Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.lang.String xencPrefix;
descriptor: Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.lang.String xenc11Prefix;
descriptor: Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.org.apache.xml.internal.security.utils.XMLUtils$1
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.XMLUtils$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
1: invokevirtual java.lang.Boolean.booleanValue:()Z
2: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
3: ldc "ds"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
4: ldc "dsig11"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
5: ldc "xenc"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
6: ldc "xenc11"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
7: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
8: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
9: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
public static void setDsPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public static void setDs11Prefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public static void setXencPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public static void setXenc11Prefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public static org.w3c.dom.Element getNextElement(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 2
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.w3c.dom.Element
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 el Lorg/w3c/dom/Node;
1 5 1 node Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
el
public static void getSet(org.w3c.dom.Node, java.util.Set<org.w3c.dom.Node>, org.w3c.dom.Node, );
descriptor: (Lorg/w3c/dom/Node;Ljava/util/Set;Lorg/w3c/dom/Node;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 2
aload 2
aload 0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.isDescendantOrSelf:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getSetRec:(Lorg/w3c/dom/Node;Ljava/util/Set;Lorg/w3c/dom/Node;Z)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 rootNode Lorg/w3c/dom/Node;
0 4 1 result Ljava/util/Set<Lorg/w3c/dom/Node;>;
0 4 2 exclude Lorg/w3c/dom/Node;
0 4 3 com Z
Signature: (Lorg/w3c/dom/Node;Ljava/util/Set<Lorg/w3c/dom/Node;>;Lorg/w3c/dom/Node;Z)V
MethodParameters:
Name Flags
rootNode
result
exclude
com
private static void getSetRec(org.w3c.dom.Node, java.util.Set<org.w3c.dom.Node>, org.w3c.dom.Node, );
descriptor: (Lorg/w3c/dom/Node;Ljava/util/Set;Lorg/w3c/dom/Node;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 1 - 10
1: 3
2: 29
3: 29
4: 29
5: 29
6: 29
7: 29
8: 25
9: 12
10: 28
default: 29
}
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
checkcast org.w3c.dom.Element
astore 4
start local 4 5: aload 4
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifeq 12
6: aload 4
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 5
start local 5 7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: org.w3c.dom.Element org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 1
aload 5
iload 6
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
aload 5
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 9
end local 6 end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
start local 5 13: goto 23
14: StackMap locals: org.w3c.dom.Node java.util.Set org.w3c.dom.Node int top org.w3c.dom.Node
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 21
15: aload 1
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: goto 18
17: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
18: StackMap locals:
StackMap stack:
aload 5
ifnull 19
aload 5
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpeq 17
19: StackMap locals:
StackMap stack:
aload 5
ifnonnull 21
20: return
21: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 2
iload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getSetRec:(Lorg/w3c/dom/Node;Ljava/util/Set;Lorg/w3c/dom/Node;Z)V
22: aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
StackMap locals:
StackMap stack:
23: aload 5
ifnonnull 14
end local 5 24: return
25: StackMap locals: org.w3c.dom.Node java.util.Set org.w3c.dom.Node int
StackMap stack:
iload 3
ifeq 27
26: aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
27: StackMap locals:
StackMap stack:
return
28: StackMap locals:
StackMap stack:
return
29: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
30: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 rootNode Lorg/w3c/dom/Node;
0 31 1 result Ljava/util/Set<Lorg/w3c/dom/Node;>;
0 31 2 exclude Lorg/w3c/dom/Node;
0 31 3 com Z
5 12 4 el Lorg/w3c/dom/Element;
7 12 5 nl Lorg/w3c/dom/NamedNodeMap;
8 12 6 i I
13 24 5 r Lorg/w3c/dom/Node;
Signature: (Lorg/w3c/dom/Node;Ljava/util/Set<Lorg/w3c/dom/Node;>;Lorg/w3c/dom/Node;Z)V
MethodParameters:
Name Flags
rootNode final
result final
exclude final
com final
public static void outputDOM(org.w3c.dom.Node, java.io.OutputStream);
descriptor: (Lorg/w3c/dom/Node;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.outputDOM:(Lorg/w3c/dom/Node;Ljava/io/OutputStream;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 contextNode Lorg/w3c/dom/Node;
0 2 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
contextNode
os
public static void outputDOM(org.w3c.dom.Node, java.io.OutputStream, boolean);
descriptor: (Lorg/w3c/dom/Node;Ljava/io/OutputStream;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 1
ldc "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
2: StackMap locals:
StackMap stack:
aload 1
3: ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
4: invokestatic com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
5: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
6: invokevirtual java.io.OutputStream.write:([B)V
7: goto 19
StackMap locals:
StackMap stack: java.io.IOException
8: astore 3
start local 3 9: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 19
10: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 11: goto 19
12: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 3
start local 3 13: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 19
14: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 15: goto 19
16: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 3
start local 3 17: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 19
18: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 contextNode Lorg/w3c/dom/Node;
0 20 1 os Ljava/io/OutputStream;
0 20 2 addPreamble Z
9 11 3 ex Ljava/io/IOException;
13 15 3 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
17 19 3 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
Exception table:
from to target type
0 7 8 Class java.io.IOException
0 7 12 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 7 16 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
contextNode
os
addPreamble
public static void (org.w3c.dom.Node, java.io.OutputStream);
descriptor: (Lorg/w3c/dom/Node;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
1: ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
2: invokestatic com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
4: invokevirtual java.io.OutputStream.write:([B)V
5: goto 17
StackMap locals:
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
8: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 9: goto 17
10: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 2
start local 2 11: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
12: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 13: goto 17
14: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 2
start local 2 15: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
16: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 contextNode Lorg/w3c/dom/Node;
0 18 1 os Ljava/io/OutputStream;
7 9 2 ex Ljava/io/IOException;
11 13 2 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
15 17 2 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
Exception table:
from to target type
0 5 6 Class java.io.IOException
0 5 10 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 5 14 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
contextNode
os
public static java.lang.String getFullTextChildrenFromElement(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
start local 2 2: goto 6
3: StackMap locals: java.lang.StringBuilder org.w3c.dom.Node
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 5
4: aload 1
aload 2
checkcast org.w3c.dom.Text
invokeinterface org.w3c.dom.Text.getData:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
7: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 element Lorg/w3c/dom/Element;
1 8 1 sb Ljava/lang/StringBuilder;
2 8 2 child Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
element
public static org.w3c.dom.Element createElementInSignatureSpace(org.w3c.dom.Document, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.RuntimeException
dup
ldc "Document is null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
ifnull 3
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 1
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2000/09/xmldsig#"
new java.lang.StringBuilder
dup
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 doc Lorg/w3c/dom/Document;
0 5 1 elementName Ljava/lang/String;
MethodParameters:
Name Flags
doc
elementName
public static org.w3c.dom.Element createElementInSignature11Space(org.w3c.dom.Document, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.RuntimeException
dup
ldc "Document is null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
ifnull 3
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2009/xmldsig11#"
aload 1
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2009/xmldsig11#"
new java.lang.StringBuilder
dup
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 doc Lorg/w3c/dom/Document;
0 5 1 elementName Ljava/lang/String;
MethodParameters:
Name Flags
doc
elementName
public static org.w3c.dom.Element createElementInEncryptionSpace(org.w3c.dom.Document, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.RuntimeException
dup
ldc "Document is null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
ifnull 3
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2001/04/xmlenc#"
aload 1
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
4: StackMap locals:
StackMap stack:
aload 0
5: ldc "http://www.w3.org/2001/04/xmlenc#"
new java.lang.StringBuilder
dup
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 doc Lorg/w3c/dom/Document;
0 8 1 elementName Ljava/lang/String;
MethodParameters:
Name Flags
doc
elementName
public static org.w3c.dom.Element createElementInEncryption11Space(org.w3c.dom.Document, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.RuntimeException
dup
ldc "Document is null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
ifnull 3
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2009/xmlenc11#"
aload 1
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
areturn
4: StackMap locals:
StackMap stack:
aload 0
5: ldc "http://www.w3.org/2009/xmlenc11#"
new java.lang.StringBuilder
dup
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 doc Lorg/w3c/dom/Document;
0 8 1 elementName Ljava/lang/String;
MethodParameters:
Name Flags
doc
elementName
public static boolean elementIsInSignatureSpace(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 0
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 element Lorg/w3c/dom/Element;
0 6 1 localName Ljava/lang/String;
MethodParameters:
Name Flags
element
localName
public static boolean elementIsInSignature11Space(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2009/xmldsig11#"
aload 0
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 element Lorg/w3c/dom/Element;
0 6 1 localName Ljava/lang/String;
MethodParameters:
Name Flags
element
localName
public static boolean elementIsInEncryptionSpace(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2001/04/xmlenc#"
aload 0
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 element Lorg/w3c/dom/Element;
0 6 1 localName Ljava/lang/String;
MethodParameters:
Name Flags
element
localName
public static boolean elementIsInEncryption11Space(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2009/xmlenc11#"
aload 0
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 element Lorg/w3c/dom/Element;
0 6 1 localName Ljava/lang/String;
MethodParameters:
Name Flags
element
localName
public static org.w3c.dom.Document getOwnerDocument(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 9
if_icmpne 2
1: aload 0
checkcast org.w3c.dom.Document
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 1
start local 1 5: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "endorsed.jdk1.4.0"
invokestatic com.sun.org.apache.xml.internal.security.utils.I18n.translate:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: ldc " Original message was \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 1
invokevirtual java.lang.NullPointerException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 node Lorg/w3c/dom/Node;
5 9 1 npe Ljava/lang/NullPointerException;
Exception table:
from to target type
2 3 4 Class java.lang.NullPointerException
MethodParameters:
Name Flags
node
public static org.w3c.dom.Document getOwnerDocument(java.util.Set<org.w3c.dom.Node>);
descriptor: (Ljava/util/Set;)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: java.util.Set java.lang.NullPointerException top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 2
start local 2 3: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 4
start local 4 4: iload 4
bipush 9
if_icmpne 6
5: aload 2
checkcast org.w3c.dom.Document
areturn
6: StackMap locals: java.util.Set java.lang.NullPointerException org.w3c.dom.Node java.util.Iterator int
StackMap stack:
iload 4
iconst_2
if_icmpne 9
7: aload 2
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
8: areturn
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 5
start local 5 12: aload 5
astore 1
end local 5 end local 4 end local 2 13: StackMap locals: java.util.Set java.lang.NullPointerException top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
14: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "endorsed.jdk1.4.0"
invokestatic com.sun.org.apache.xml.internal.security.utils.I18n.translate:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: ldc " Original message was \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 1
ifnonnull 17
ldc ""
goto 18
StackMap locals: java.util.Set java.lang.NullPointerException
StackMap stack: new 14 new 14 java.lang.StringBuilder
17: aload 1
invokevirtual java.lang.NullPointerException.getMessage:()Ljava/lang/String;
StackMap locals: java.util.Set java.lang.NullPointerException
StackMap stack: new 14 new 14 java.lang.StringBuilder java.lang.String
18: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 xpathNodeSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
1 20 1 npe Ljava/lang/NullPointerException;
3 13 2 node Lorg/w3c/dom/Node;
4 13 4 nodeType I
12 13 5 e Ljava/lang/NullPointerException;
Exception table:
from to target type
6 8 11 Class java.lang.NullPointerException
9 10 11 Class java.lang.NullPointerException
Signature: (Ljava/util/Set<Lorg/w3c/dom/Node;>;)Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
xpathNodeSet
public static org.w3c.dom.Element createDSctx(org.w3c.dom.Document, java.lang.String, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "You must supply a prefix"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
ldc "namespaceContext"
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 3
start local 3 3: aload 3
ldc "http://www.w3.org/2000/xmlns/"
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 doc Lorg/w3c/dom/Document;
0 5 1 prefix Ljava/lang/String;
0 5 2 namespace Ljava/lang/String;
3 5 3 ctx Lorg/w3c/dom/Element;
MethodParameters:
Name Flags
doc
prefix
namespace
public static void addReturnToElement(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
ifne 3
1: aload 0
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
astore 1
start local 1 2: aload 0
aload 1
ldc "\n"
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 e Lorg/w3c/dom/Element;
2 3 1 doc Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
e
public static void addReturnToElement(org.w3c.dom.Document, com.sun.org.apache.xml.internal.security.utils.HelperNodeList);
descriptor: (Lorg/w3c/dom/Document;Lcom/sun/org/apache/xml/internal/security/utils/HelperNodeList;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
ifne 2
1: aload 1
aload 0
ldc "\n"
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokevirtual com.sun.org.apache.xml.internal.security.utils.HelperNodeList.appendChild:(Lorg/w3c/dom/Node;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 doc Lorg/w3c/dom/Document;
0 3 1 nl Lcom/sun/org/apache/xml/internal/security/utils/HelperNodeList;
MethodParameters:
Name Flags
doc
nl
public static void addReturnBeforeChild(org.w3c.dom.Element, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Element;Lorg/w3c/dom/Node;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
ifne 3
1: aload 0
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
astore 2
start local 2 2: aload 0
aload 2
ldc "\n"
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
aload 1
invokeinterface org.w3c.dom.Element.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 e Lorg/w3c/dom/Element;
0 4 1 child Lorg/w3c/dom/Node;
2 3 2 doc Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
e
child
public static java.util.Set<org.w3c.dom.Node> convertNodelistToSet(org.w3c.dom.NodeList);
descriptor: (Lorg/w3c/dom/NodeList;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.NodeList.getLength:()I
istore 1
start local 1 3: new java.util.HashSet
dup
iload 1
invokespecial java.util.HashSet.<init>:(I)V
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: int java.util.Set int
StackMap stack:
aload 2
aload 0
iload 3
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 1
if_icmplt 6
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 xpathNodeSet Lorg/w3c/dom/NodeList;
3 10 1 length I
4 10 2 set Ljava/util/Set<Lorg/w3c/dom/Node;>;
5 9 3 i I
Signature: (Lorg/w3c/dom/NodeList;)Ljava/util/Set<Lorg/w3c/dom/Node;>;
MethodParameters:
Name Flags
xpathNodeSet
public static void circumventBug2650(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 1
start local 1 1: aload 1
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
2: astore 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
ldc ""
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals: org.w3c.dom.Element org.w3c.dom.Attr
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.circumventBug2650internal:(Lorg/w3c/dom/Node;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 doc Lorg/w3c/dom/Document;
1 7 1 documentElement Lorg/w3c/dom/Element;
3 7 2 xmlnsAttr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
doc
private static void circumventBug2650internal(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
lookupswitch { // 3
1: 3
5: 32
9: 32
default: 34
}
3: StackMap locals:
StackMap stack:
aload 0
checkcast org.w3c.dom.Element
astore 3
start local 3 4: aload 3
invokeinterface org.w3c.dom.Element.hasChildNodes:()Z
ifne 6
5: goto 37
6: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifeq 32
7: aload 3
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 4
start local 4 8: aload 4
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 5
start local 5 9: aload 3
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 6
start local 6 10: goto 31
11: StackMap locals: org.w3c.dom.NamedNodeMap int org.w3c.dom.Node
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpeq 13
12: goto 30
13: StackMap locals:
StackMap stack:
aload 6
checkcast org.w3c.dom.Element
astore 7
start local 7 14: iconst_0
istore 8
start local 8 15: goto 29
16: StackMap locals: org.w3c.dom.Element int
StackMap stack:
aload 4
iload 8
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 9
start local 9 17: ldc "http://www.w3.org/2000/xmlns/"
aload 9
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
18: goto 28
19: StackMap locals: org.w3c.dom.Attr
StackMap stack:
aload 7
ldc "http://www.w3.org/2000/xmlns/"
20: aload 9
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
21: invokeinterface org.w3c.dom.Element.hasAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Z
22: ifeq 24
23: goto 28
24: StackMap locals:
StackMap stack:
aload 7
ldc "http://www.w3.org/2000/xmlns/"
25: aload 9
invokeinterface org.w3c.dom.Attr.getName:()Ljava/lang/String;
26: aload 9
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
27: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 9 28: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
iload 5
if_icmplt 16
end local 8 end local 7 30: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
31: StackMap locals:
StackMap stack:
aload 6
ifnonnull 11
end local 6 end local 5 end local 4 end local 3 32: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 0
astore 1
33: aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
34: StackMap locals:
StackMap stack:
goto 37
35: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
36: aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 1
37: StackMap locals:
StackMap stack:
aload 2
ifnonnull 38
aload 1
ifnonnull 35
38: StackMap locals:
StackMap stack:
aload 2
ifnonnull 40
39: return
40: StackMap locals:
StackMap stack:
aload 2
astore 0
41: aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
42: goto 2
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 node Lorg/w3c/dom/Node;
1 43 1 parent Lorg/w3c/dom/Node;
2 43 2 sibling Lorg/w3c/dom/Node;
4 32 3 element Lorg/w3c/dom/Element;
8 32 4 attributes Lorg/w3c/dom/NamedNodeMap;
9 32 5 attributesLength I
10 32 6 child Lorg/w3c/dom/Node;
14 30 7 childElement Lorg/w3c/dom/Element;
15 30 8 i I
17 28 9 currentAttr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
node
public static org.w3c.dom.Element selectDsNode(org.w3c.dom.Node, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: goto 7
1: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: iload 2
ifne 5
4: aload 0
checkcast org.w3c.dom.Element
areturn
5: StackMap locals:
StackMap stack:
iinc 2 -1
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
7: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sibling Lorg/w3c/dom/Node;
0 9 1 nodeName Ljava/lang/String;
0 9 2 number I
MethodParameters:
Name Flags
sibling
nodeName
number
public static org.w3c.dom.Element selectDs11Node(org.w3c.dom.Node, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: goto 7
1: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2009/xmldsig11#"
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: iload 2
ifne 5
4: aload 0
checkcast org.w3c.dom.Element
areturn
5: StackMap locals:
StackMap stack:
iinc 2 -1
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
7: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sibling Lorg/w3c/dom/Node;
0 9 1 nodeName Ljava/lang/String;
0 9 2 number I
MethodParameters:
Name Flags
sibling
nodeName
number
public static org.w3c.dom.Element selectXencNode(org.w3c.dom.Node, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: goto 7
1: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2001/04/xmlenc#"
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: iload 2
ifne 5
4: aload 0
checkcast org.w3c.dom.Element
areturn
5: StackMap locals:
StackMap stack:
iinc 2 -1
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
7: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sibling Lorg/w3c/dom/Node;
0 9 1 nodeName Ljava/lang/String;
0 9 2 number I
MethodParameters:
Name Flags
sibling
nodeName
number
public static org.w3c.dom.Text selectDsNodeText(org.w3c.dom.Node, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Text;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectDsNode:(Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Element;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 3
4: goto 6
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
ifnull 7
aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 5
7: StackMap locals:
StackMap stack:
aload 3
checkcast org.w3c.dom.Text
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sibling Lorg/w3c/dom/Node;
0 8 1 nodeName Ljava/lang/String;
0 8 2 number I
1 8 3 n Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
sibling
nodeName
number
public static org.w3c.dom.Text selectDs11NodeText(org.w3c.dom.Node, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Text;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectDs11Node:(Lorg/w3c/dom/Node;Ljava/lang/String;I)Lorg/w3c/dom/Element;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 3
4: goto 6
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
ifnull 7
aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 5
7: StackMap locals:
StackMap stack:
aload 3
checkcast org.w3c.dom.Text
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sibling Lorg/w3c/dom/Node;
0 8 1 nodeName Ljava/lang/String;
0 8 2 number I
1 8 3 n Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
sibling
nodeName
number
public static org.w3c.dom.Text selectNodeText(org.w3c.dom.Node, java.lang.String, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;I)Lorg/w3c/dom/Text;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectNode:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;I)Lorg/w3c/dom/Element;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
4: goto 6
5: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
6: StackMap locals:
StackMap stack:
aload 4
ifnull 7
aload 4
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 5
7: StackMap locals:
StackMap stack:
aload 4
checkcast org.w3c.dom.Text
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sibling Lorg/w3c/dom/Node;
0 8 1 uri Ljava/lang/String;
0 8 2 nodeName Ljava/lang/String;
0 8 3 number I
1 8 4 n Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
sibling
uri
nodeName
number
public static org.w3c.dom.Element selectNode(org.w3c.dom.Node, java.lang.String, java.lang.String, int);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;I)Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 7
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
ifnull 6
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: iload 3
ifne 5
4: aload 0
checkcast org.w3c.dom.Element
areturn
5: StackMap locals:
StackMap stack:
iinc 3 -1
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
7: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
8: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sibling Lorg/w3c/dom/Node;
0 9 1 uri Ljava/lang/String;
0 9 2 nodeName Ljava/lang/String;
0 9 3 number I
MethodParameters:
Name Flags
sibling
uri
nodeName
number
public static org.w3c.dom.Element[] selectDsNodes(org.w3c.dom.Node, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;)[Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectNodes:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)[Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sibling Lorg/w3c/dom/Node;
0 1 1 nodeName Ljava/lang/String;
MethodParameters:
Name Flags
sibling
nodeName
public static org.w3c.dom.Element[] selectDs11Nodes(org.w3c.dom.Node, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;)[Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "http://www.w3.org/2009/xmldsig11#"
aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectNodes:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)[Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sibling Lorg/w3c/dom/Node;
0 1 1 nodeName Ljava/lang/String;
MethodParameters:
Name Flags
sibling
nodeName
public static org.w3c.dom.Element[] selectNodes(org.w3c.dom.Node, java.lang.String, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)[Lorg/w3c/dom/Element;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: goto 6
2: StackMap locals: java.util.List
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
ifnull 5
aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
aload 0
checkcast org.w3c.dom.Element
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
6: StackMap locals:
StackMap stack:
aload 0
ifnonnull 2
7: aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray org.w3c.dom.Element
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.w3c.dom.Element[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sibling Lorg/w3c/dom/Node;
0 8 1 uri Ljava/lang/String;
0 8 2 nodeName Ljava/lang/String;
1 8 3 list Ljava/util/List<Lorg/w3c/dom/Element;>;
MethodParameters:
Name Flags
sibling
uri
nodeName
public static java.util.Set<org.w3c.dom.Node> excludeNodeFromSet(org.w3c.dom.Node, java.util.Set<org.w3c.dom.Node>);
descriptor: (Lorg/w3c/dom/Node;Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 4
start local 4 4: aload 0
aload 4
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.isDescendantOrSelf:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifne 6
5: aload 2
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 signatureElement Lorg/w3c/dom/Node;
0 8 1 inputSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
1 8 2 resultSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
2 8 3 iterator Ljava/util/Iterator<Lorg/w3c/dom/Node;>;
4 6 4 inputNode Lorg/w3c/dom/Node;
Signature: (Lorg/w3c/dom/Node;Ljava/util/Set<Lorg/w3c/dom/Node;>;)Ljava/util/Set<Lorg/w3c/dom/Node;>;
MethodParameters:
Name Flags
signatureElement
inputSet
public static java.lang.String getStrFromNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 9
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 2: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
start local 2 3: goto 7
4: StackMap locals: java.lang.StringBuilder org.w3c.dom.Node
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 6
5: aload 1
aload 2
checkcast org.w3c.dom.Text
invokeinterface org.w3c.dom.Text.getData:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
end local 2 8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 9: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_2
if_icmpne 11
10: aload 0
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 7
if_icmpne 13
12: aload 0
checkcast org.w3c.dom.ProcessingInstruction
invokeinterface org.w3c.dom.ProcessingInstruction.getNodeValue:()Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 xpathnode Lorg/w3c/dom/Node;
2 9 1 sb Ljava/lang/StringBuilder;
3 8 2 currentSibling Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
xpathnode
public static boolean isDescendantOrSelf(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
aload 0
if_acmpne 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_2
if_icmpne 10
8: aload 2
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
astore 2
9: goto 3
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 2
11: goto 3
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ctx Lorg/w3c/dom/Node;
0 12 1 descendantOrSelf Lorg/w3c/dom/Node;
3 12 2 parent Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
ctx
descendantOrSelf
public static boolean ignoreLineBreaks();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getAttributeValue(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.w3c.dom.Attr
StackMap stack:
2: aload 2
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 elem Lorg/w3c/dom/Element;
0 4 1 name Ljava/lang/String;
1 4 2 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
elem
name
public static boolean protectAgainstWrappingAttack(org.w3c.dom.Node, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 4: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 32
aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 32
5: aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
6: goto 32
7: StackMap locals: org.w3c.dom.Node java.lang.String org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Element java.lang.String
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 22
8: aload 0
checkcast org.w3c.dom.Element
astore 6
start local 6 9: aload 6
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 7
start local 7 10: aload 7
ifnull 22
11: iconst_0
istore 8
start local 8 12: goto 21
13: StackMap locals: org.w3c.dom.Element org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 7
iload 8
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 9
start local 9 14: aload 9
invokeinterface org.w3c.dom.Attr.isId:()Z
ifeq 20
aload 5
aload 9
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
15: aload 4
ifnonnull 18
16: aload 9
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
astore 4
17: goto 20
18: StackMap locals: org.w3c.dom.Attr
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Multiple elements with the same 'Id' attribute value!"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
19: iconst_0
ireturn
end local 9 20: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
aload 7
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 13
end local 8 end local 7 end local 6 22: StackMap locals:
StackMap stack:
aload 0
astore 3
23: aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 0
24: aload 0
ifnonnull 31
25: aload 3
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
26: goto 31
27: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
28: aload 3
aload 2
if_acmpne 30
29: iconst_1
ireturn
30: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
31: StackMap locals:
StackMap stack:
aload 0
ifnull 27
32: StackMap locals:
StackMap stack:
aload 0
ifnonnull 7
33: iconst_1
ireturn
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 startNode Lorg/w3c/dom/Node;
0 34 1 value Ljava/lang/String;
1 34 2 startParent Lorg/w3c/dom/Node;
2 34 3 processedNode Lorg/w3c/dom/Node;
3 34 4 foundElement Lorg/w3c/dom/Element;
4 34 5 id Ljava/lang/String;
9 22 6 se Lorg/w3c/dom/Element;
10 22 7 attributes Lorg/w3c/dom/NamedNodeMap;
12 22 8 i I
14 20 9 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
startNode
value
public static boolean protectAgainstWrappingAttack(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Element;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 3: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 28
aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 28
4: aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
5: goto 28
6: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node java.lang.String
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 18
7: aload 0
checkcast org.w3c.dom.Element
astore 6
start local 6 8: aload 6
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 7
start local 7 9: aload 7
ifnull 18
10: iconst_0
istore 8
start local 8 11: goto 17
12: StackMap locals: org.w3c.dom.Element org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 7
iload 8
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 9
start local 9 13: aload 9
invokeinterface org.w3c.dom.Attr.isId:()Z
ifeq 16
aload 5
aload 9
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
aload 6
aload 1
if_acmpeq 16
14: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Multiple elements with the same 'Id' attribute value!"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
15: iconst_0
ireturn
end local 9 16: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
17: iload 8
aload 7
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 12
end local 8 end local 7 end local 6 18: StackMap locals:
StackMap stack:
aload 0
astore 4
19: aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 0
20: aload 0
ifnonnull 27
21: aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
22: goto 27
23: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 4
24: aload 4
aload 3
if_acmpne 26
25: iconst_1
ireturn
26: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
27: StackMap locals:
StackMap stack:
aload 0
ifnull 23
28: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
29: iconst_1
ireturn
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 30 0 startNode Lorg/w3c/dom/Node;
0 30 1 knownElement Lorg/w3c/dom/Element;
0 30 2 value Ljava/lang/String;
1 30 3 startParent Lorg/w3c/dom/Node;
2 30 4 processedNode Lorg/w3c/dom/Node;
3 30 5 id Ljava/lang/String;
8 18 6 se Lorg/w3c/dom/Element;
9 18 7 attributes Lorg/w3c/dom/NamedNodeMap;
11 18 8 i I
13 16 9 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
startNode
knownElement
value
}
SourceFile: "XMLUtils.java"
NestMembers:
com.sun.org.apache.xml.internal.security.utils.XMLUtils$1
InnerClasses:
com.sun.org.apache.xml.internal.security.utils.XMLUtils$1