public final class com.sun.org.apache.xml.internal.security.utils.XMLUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, 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 int parserPoolSize;
descriptor: I
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 com.sun.org.slf4j.internal.Logger LOG;
descriptor: Lcom/sun/org/slf4j/internal/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.ClassLoader, java.util.Queue<javax.xml.parsers.DocumentBuilder>> DOCUMENT_BUILDERS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/ClassLoader;Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;>;
private static final java.util.Map<java.lang.ClassLoader, java.util.Queue<javax.xml.parsers.DocumentBuilder>> DOCUMENT_BUILDERS_DISALLOW_DOCTYPE;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/ClassLoader;Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/org/apache/xml/internal/security/utils/XMLUtils.lambda$0()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
2: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
3: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/org/apache/xml/internal/security/utils/XMLUtils.lambda$1()Ljava/lang/Integer; (6)
()Ljava/lang/Integer;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
5: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.parserPoolSize:I
6: ldc "ds"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.dsPrefix:Ljava/lang/String;
7: ldc "dsig11"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ds11Prefix:Ljava/lang/String;
8: ldc "xenc"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xencPrefix:Ljava/lang/String;
9: ldc "xenc11"
putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.xenc11Prefix:Ljava/lang/String;
10: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokestatic com.sun.org.slf4j.internal.LoggerFactory.getLogger:(Ljava/lang/Class;)Lcom/sun/org/slf4j/internal/Logger;
11: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
12: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
13: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.DOCUMENT_BUILDERS:Ljava/util/Map;
14: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
15: putstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.DOCUMENT_BUILDERS_DISALLOW_DOCTYPE:Ljava/util/Map;
16: 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=8, 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: 30
3: 30
4: 30
5: 30
6: 30
7: 30
8: 26
9: 13
10: 29
default: 30
}
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 13
6: aload 4
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 5
start local 5 7: aload 5
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 12
10: StackMap locals: org.w3c.dom.Node java.util.Set org.w3c.dom.Node int org.w3c.dom.Element org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 1
aload 5
iload 7
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
iload 6
if_icmplt 10
end local 7 end local 6 end local 5 end local 4 13: StackMap locals: org.w3c.dom.Node java.util.Set org.w3c.dom.Node int
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
start local 5 14: goto 24
15: 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 22
16: aload 1
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: goto 19
18: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
19: StackMap locals:
StackMap stack:
aload 5
ifnull 20
aload 5
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpeq 18
20: StackMap locals:
StackMap stack:
aload 5
ifnonnull 22
21: return
22: 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
23: aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
StackMap locals:
StackMap stack:
24: aload 5
ifnonnull 15
end local 5 25: goto 31
26: StackMap locals: org.w3c.dom.Node java.util.Set org.w3c.dom.Node int
StackMap stack:
iload 3
ifeq 31
27: aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: goto 31
29: StackMap locals:
StackMap stack:
goto 31
30: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 rootNode Lorg/w3c/dom/Node;
0 32 1 result Ljava/util/Set<Lorg/w3c/dom/Node;>;
0 32 2 exclude Lorg/w3c/dom/Node;
0 32 3 com Z
5 13 4 el Lorg/w3c/dom/Element;
7 13 5 nl Lorg/w3c/dom/NamedNodeMap;
8 13 6 length I
9 13 7 i I
14 25 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=3, 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"
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual java.io.OutputStream.write:([B)V
2: StackMap locals:
StackMap stack:
aload 1
3: ldc "http://santuario.apache.org/c14n/physical"
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 16
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:Lcom/sun/org/slf4j/internal/Logger;
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 10: goto 16
11: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 3
start local 3 12: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 13: goto 16
14: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 3
start local 3 15: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.getMessage:()Ljava/lang/String;
aload 3
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 contextNode Lorg/w3c/dom/Node;
0 17 1 os Ljava/io/OutputStream;
0 17 2 addPreamble Z
9 10 3 ex Ljava/io/IOException;
12 13 3 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
15 16 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 11 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 7 14 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=3, 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 14
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:Lcom/sun/org/slf4j/internal/Logger;
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 8: goto 14
9: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 2
start local 2 10: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 11: goto 14
12: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 2
start local 2 13: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 contextNode Lorg/w3c/dom/Node;
0 15 1 os Ljava/io/OutputStream;
7 8 2 ex Ljava/io/IOException;
10 11 2 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
13 14 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 9 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 5 12 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=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getFullTextChildrenFromNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 element Lorg/w3c/dom/Element;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
element
public static java.lang.String getFullTextChildrenFromNode(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: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface org.w3c.dom.Node.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 node Lorg/w3c/dom/Node;
1 8 1 sb Ljava/lang/StringBuilder;
2 8 2 child Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
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 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 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.lang.String encodeToString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.ignoreLineBreaks:Z
ifeq 2
1: invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
aload 0
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Base64.getMimeEncoder:()Ljava/util/Base64$Encoder;
aload 0
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
MethodParameters:
Name Flags
bytes
public static byte[] decode(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.util.Base64.getMimeDecoder:()Ljava/util/Base64$Decoder;
aload 0
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 encodedString Ljava/lang/String;
MethodParameters:
Name Flags
encodedString
public static byte[] decode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.util.Base64.getMimeDecoder:()Ljava/util/Base64$Decoder;
aload 0
invokevirtual java.util.Base64$Decoder.decode:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 encodedBytes [B
MethodParameters:
Name Flags
encodedBytes
public static boolean isIgnoreLineBreaks();
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.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.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
invokeinterface org.w3c.dom.Node.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
invokeinterface org.w3c.dom.Node.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=2, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 3
2: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aload 0
ifnull 35
7: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
8: goto 35
9: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Element
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 25
10: aload 0
checkcast org.w3c.dom.Element
astore 6
start local 6 11: aload 6
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 7
start local 7 12: aload 7
ifnull 25
13: aload 7
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 8
start local 8 14: iconst_0
istore 9
start local 9 15: goto 24
16: StackMap locals: org.w3c.dom.Node java.lang.String java.lang.String org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Element org.w3c.dom.Element org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 7
iload 9
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 10
start local 10 17: aload 10
invokeinterface org.w3c.dom.Attr.isId:()Z
ifeq 23
aload 2
aload 10
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
18: aload 5
ifnonnull 21
19: aload 10
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
astore 5
20: goto 23
21: StackMap locals: org.w3c.dom.Attr
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Multiple elements with the same 'Id' attribute value!"
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
22: iconst_0
ireturn
end local 10 23: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
24: iload 9
iload 8
if_icmplt 16
end local 9 end local 8 end local 7 end local 6 25: StackMap locals: org.w3c.dom.Node java.lang.String java.lang.String org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Element
StackMap stack:
aload 0
astore 4
26: aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 0
27: aload 0
ifnonnull 34
28: aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
29: goto 34
30: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 4
31: aload 4
aload 3
if_acmpne 33
32: iconst_1
ireturn
33: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
34: StackMap locals:
StackMap stack:
aload 0
ifnull 30
35: StackMap locals:
StackMap stack:
aload 0
ifnonnull 9
36: 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 37 0 startNode Lorg/w3c/dom/Node;
0 37 1 value Ljava/lang/String;
1 37 2 id Ljava/lang/String;
4 37 3 startParent Lorg/w3c/dom/Node;
5 37 4 processedNode Lorg/w3c/dom/Node;
6 37 5 foundElement Lorg/w3c/dom/Element;
11 25 6 se Lorg/w3c/dom/Element;
12 25 7 attributes Lorg/w3c/dom/NamedNodeMap;
14 25 8 length I
15 25 9 i I
17 23 10 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=2, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 3
2: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aload 0
ifnull 31
6: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 4
7: goto 31
8: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 21
9: aload 0
checkcast org.w3c.dom.Element
astore 6
start local 6 10: aload 6
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 7
start local 7 11: aload 7
ifnull 21
12: aload 7
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 8
start local 8 13: iconst_0
istore 9
start local 9 14: goto 20
15: StackMap locals: org.w3c.dom.Node org.w3c.dom.Element java.lang.String java.lang.String org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Element org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 7
iload 9
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 10
start local 10 16: aload 10
invokeinterface org.w3c.dom.Attr.isId:()Z
ifeq 19
aload 3
aload 10
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
aload 6
aload 1
if_acmpeq 19
17: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Multiple elements with the same 'Id' attribute value!"
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
18: iconst_0
ireturn
end local 10 19: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
20: iload 9
iload 8
if_icmplt 15
end local 9 end local 8 end local 7 end local 6 21: StackMap locals: org.w3c.dom.Node org.w3c.dom.Element java.lang.String java.lang.String org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 0
astore 5
22: aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 0
23: aload 0
ifnonnull 30
24: aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
25: goto 30
26: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 5
27: aload 5
aload 4
if_acmpne 29
28: iconst_1
ireturn
29: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 0
30: StackMap locals:
StackMap stack:
aload 0
ifnull 26
31: StackMap locals:
StackMap stack:
aload 0
ifnonnull 8
32: 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 33 0 startNode Lorg/w3c/dom/Node;
0 33 1 knownElement Lorg/w3c/dom/Element;
0 33 2 value Ljava/lang/String;
1 33 3 id Ljava/lang/String;
4 33 4 startParent Lorg/w3c/dom/Node;
5 33 5 processedNode Lorg/w3c/dom/Node;
10 21 6 se Lorg/w3c/dom/Element;
11 21 7 attributes Lorg/w3c/dom/NamedNodeMap;
13 21 8 length I
14 21 9 i I
16 19 10 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
startNode
knownElement
value
public static org.w3c.dom.Document newDocument();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 0
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
ifnonnull 6
4: iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.buildDocumentBuilder:(Z)Ljavax/xml/parsers/DocumentBuilder;
astore 1
start local 1 5: aload 1
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
areturn
end local 1 6: StackMap locals:
StackMap stack:
iconst_1
aload 0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilderQueue:(ZLjava/lang/ClassLoader;)Ljava/util/Queue;
astore 1
start local 1 7: iconst_1
aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilder:(ZLjava/util/Queue;)Ljavax/xml/parsers/DocumentBuilder;
astore 2
start local 2 8: aload 2
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 3
start local 3 9: aload 2
aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.repoolDocumentBuilder:(Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue;)V
10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 loader Ljava/lang/ClassLoader;
5 6 1 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
7 11 1 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
8 11 2 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
9 11 3 doc Lorg/w3c/dom/Document;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
public static org.w3c.dom.Document read(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.read:(Ljava/io/InputStream;Z)Lorg/w3c/dom/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputStream Ljava/io/InputStream;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
inputStream
public static org.w3c.dom.Document read(java.io.InputStream, boolean);
descriptor: (Ljava/io/InputStream;Z)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 2
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 2
ifnonnull 6
4: iload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.buildDocumentBuilder:(Z)Ljavax/xml/parsers/DocumentBuilder;
astore 3
start local 3 5: aload 3
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Ljava/io/InputStream;)Lorg/w3c/dom/Document;
areturn
end local 3 6: StackMap locals:
StackMap stack:
iload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilderQueue:(ZLjava/lang/ClassLoader;)Ljava/util/Queue;
astore 3
start local 3 7: iload 1
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilder:(ZLjava/util/Queue;)Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 8: aload 4
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Ljava/io/InputStream;)Lorg/w3c/dom/Document;
astore 5
start local 5 9: aload 4
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.repoolDocumentBuilder:(Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue;)V
10: aload 5
areturn
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 11 0 inputStream Ljava/io/InputStream;
0 11 1 disAllowDocTypeDeclarations Z
1 11 2 loader Ljava/lang/ClassLoader;
5 6 3 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
7 11 3 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
8 11 4 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
9 11 5 doc Lorg/w3c/dom/Document;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
inputStream
disAllowDocTypeDeclarations
public static org.w3c.dom.Document read(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 2
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 2
ifnonnull 6
4: iload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.buildDocumentBuilder:(Z)Ljavax/xml/parsers/DocumentBuilder;
astore 3
start local 3 5: aload 3
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Ljava/lang/String;)Lorg/w3c/dom/Document;
areturn
end local 3 6: StackMap locals:
StackMap stack:
iload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilderQueue:(ZLjava/lang/ClassLoader;)Ljava/util/Queue;
astore 3
start local 3 7: iload 1
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilder:(ZLjava/util/Queue;)Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 8: aload 4
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Ljava/lang/String;)Lorg/w3c/dom/Document;
astore 5
start local 5 9: aload 4
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.repoolDocumentBuilder:(Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue;)V
10: aload 5
areturn
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 11 0 uri Ljava/lang/String;
0 11 1 disAllowDocTypeDeclarations Z
1 11 2 loader Ljava/lang/ClassLoader;
5 6 3 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
7 11 3 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
8 11 4 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
9 11 5 doc Lorg/w3c/dom/Document;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
uri
disAllowDocTypeDeclarations
public static org.w3c.dom.Document read(org.xml.sax.InputSource);
descriptor: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.read:(Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputSource Lorg/xml/sax/InputSource;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
inputSource
public static org.w3c.dom.Document read(org.xml.sax.InputSource, boolean);
descriptor: (Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: ldc Lcom/sun/org/apache/xml/internal/security/utils/XMLUtils;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 2
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 2
ifnonnull 6
4: iload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.buildDocumentBuilder:(Z)Ljavax/xml/parsers/DocumentBuilder;
astore 3
start local 3 5: aload 3
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
areturn
end local 3 6: StackMap locals:
StackMap stack:
iload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilderQueue:(ZLjava/lang/ClassLoader;)Ljava/util/Queue;
astore 3
start local 3 7: iload 1
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getDocumentBuilder:(ZLjava/util/Queue;)Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 8: aload 4
aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
astore 5
start local 5 9: aload 4
aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.repoolDocumentBuilder:(Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue;)V
10: aload 5
areturn
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 11 0 inputSource Lorg/xml/sax/InputSource;
0 11 1 disAllowDocTypeDeclarations Z
1 11 2 loader Ljava/lang/ClassLoader;
5 6 3 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
7 11 3 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
8 11 4 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
9 11 5 doc Lorg/w3c/dom/Document;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
inputSource
disAllowDocTypeDeclarations
public static javax.xml.parsers.DocumentBuilder createDocumentBuilder(boolean);
descriptor: (Z)Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.createDocumentBuilder:(ZZ)Ljavax/xml/parsers/DocumentBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 validating Z
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
validating
public static javax.xml.parsers.DocumentBuilder createDocumentBuilder(boolean, boolean);
descriptor: (ZZ)Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 2
start local 2 1: aload 2
ldc "http://javax.xml.XMLConstants/feature/secure-processing"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
2: iload 1
ifeq 4
3: aload 2
ldc "http://apache.org/xml/features/disallow-doctype-decl"
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
4: StackMap locals: javax.xml.parsers.DocumentBuilderFactory
StackMap stack:
aload 2
iload 0
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setValidating:(Z)V
5: aload 2
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
6: aload 2
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 validating Z
0 7 1 disAllowDocTypeDeclarations Z
1 7 2 dfactory Ljavax/xml/parsers/DocumentBuilderFactory;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
validating
disAllowDocTypeDeclarations
public static boolean repoolDocumentBuilder(javax.xml.parsers.DocumentBuilder);
descriptor: (Ljavax/xml/parsers/DocumentBuilder;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 db Ljavax/xml/parsers/DocumentBuilder;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
db
public static byte[] getBytes(java.math.BigInteger, int);
descriptor: (Ljava/math/BigInteger;I)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: iload 1
bipush 7
iadd
iconst_3
ishr
iconst_3
ishl
istore 1
1: iload 1
aload 0
invokevirtual java.math.BigInteger.bitLength:()I
if_icmpge 3
2: new java.lang.IllegalArgumentException
dup
ldc "utils.Base64.IllegalBitlength"
invokestatic com.sun.org.apache.xml.internal.security.utils.I18n.translate:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 2
start local 2 4: aload 0
invokevirtual java.math.BigInteger.bitLength:()I
bipush 8
irem
ifeq 7
5: aload 0
invokevirtual java.math.BigInteger.bitLength:()I
bipush 8
idiv
iconst_1
iadd
iload 1
bipush 8
idiv
if_icmpne 7
6: aload 2
areturn
7: StackMap locals: byte[]
StackMap stack:
iconst_0
istore 3
start local 3 8: aload 2
arraylength
istore 4
start local 4 9: aload 0
invokevirtual java.math.BigInteger.bitLength:()I
bipush 8
irem
ifne 12
10: iconst_1
istore 3
11: iinc 4 -1
12: StackMap locals: int int
StackMap stack:
iload 1
bipush 8
idiv
iload 4
isub
istore 5
start local 5 13: iload 1
bipush 8
idiv
newarray 8
astore 6
start local 6 14: aload 2
iload 3
aload 6
iload 5
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 6
areturn
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 16 0 big Ljava/math/BigInteger;
0 16 1 bitlen I
4 16 2 bigBytes [B
8 16 3 startSrc I
9 16 4 bigLen I
13 16 5 startDst I
14 16 6 resizedBytes [B
MethodParameters:
Name Flags
big
bitlen
private static java.util.Queue<javax.xml.parsers.DocumentBuilder> getDocumentBuilderQueue(boolean, java.lang.ClassLoader);
descriptor: (ZLjava/lang/ClassLoader;)Ljava/util/Queue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 0
ifeq 1
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.DOCUMENT_BUILDERS_DISALLOW_DOCTYPE:Ljava/util/Map;
goto 2
StackMap locals:
StackMap stack:
1: getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.DOCUMENT_BUILDERS:Ljava/util/Map;
2: StackMap locals:
StackMap stack: java.util.Map
astore 2
start local 2 3: aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Queue
astore 3
start local 3 4: aload 3
ifnonnull 7
5: new java.util.concurrent.ArrayBlockingQueue
dup
getstatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.parserPoolSize:I
invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
astore 3
6: aload 2
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.util.Map java.util.Queue
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 disAllowDocTypeDeclarations Z
0 8 1 loader Ljava/lang/ClassLoader;
3 8 2 docBuilderCache Ljava/util/Map<Ljava/lang/ClassLoader;Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;>;
4 8 3 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
Signature: (ZLjava/lang/ClassLoader;)Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
MethodParameters:
Name Flags
disAllowDocTypeDeclarations
loader
private static javax.xml.parsers.DocumentBuilder getDocumentBuilder(boolean, java.util.Queue<javax.xml.parsers.DocumentBuilder>);
descriptor: (ZLjava/util/Queue;)Ljavax/xml/parsers/DocumentBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast javax.xml.parsers.DocumentBuilder
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 0
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.buildDocumentBuilder:(Z)Ljavax/xml/parsers/DocumentBuilder;
astore 2
3: StackMap locals: javax.xml.parsers.DocumentBuilder
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 disAllowDocTypeDeclarations Z
0 4 1 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
1 4 2 db Ljavax/xml/parsers/DocumentBuilder;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
Signature: (ZLjava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;)Ljavax/xml/parsers/DocumentBuilder;
MethodParameters:
Name Flags
disAllowDocTypeDeclarations
queue
private static javax.xml.parsers.DocumentBuilder buildDocumentBuilder(boolean);
descriptor: (Z)Ljavax/xml/parsers/DocumentBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
2: aload 1
ldc "http://javax.xml.XMLConstants/feature/secure-processing"
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
3: aload 1
ldc "http://apache.org/xml/features/disallow-doctype-decl"
iload 0
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
4: aload 1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 disAllowDocTypeDeclarations Z
1 5 1 f Ljavax/xml/parsers/DocumentBuilderFactory;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
disAllowDocTypeDeclarations
private static void repoolDocumentBuilder(javax.xml.parsers.DocumentBuilder, java.util.Queue<javax.xml.parsers.DocumentBuilder>);
descriptor: (Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
invokevirtual javax.xml.parsers.DocumentBuilder.reset:()V
2: aload 1
aload 0
invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 db Ljavax/xml/parsers/DocumentBuilder;
0 4 1 queue Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;
Signature: (Ljavax/xml/parsers/DocumentBuilder;Ljava/util/Queue<Ljavax/xml/parsers/DocumentBuilder;>;)V
MethodParameters:
Name Flags
db
queue
private static java.lang.ClassLoader getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: 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.ClassLoader
areturn
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
private static java.lang.ClassLoader getClassLoader(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: new com.sun.org.apache.xml.internal.security.utils.XMLUtils$2
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.security.utils.XMLUtils$2.<init>:(Ljava/lang/Class;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class<*>;
1 4 1 sm Ljava/lang/SecurityManager;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
clazz final
private static java.lang.Boolean lambda$0();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "com.sun.org.apache.xml.internal.security.ignoreLineBreaks"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Integer lambda$1();
descriptor: ()Ljava/lang/Integer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.org.apache.xml.internal.security.parser.pool-size"
bipush 20
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XMLUtils.java"
NestMembers:
com.sun.org.apache.xml.internal.security.utils.XMLUtils$1 com.sun.org.apache.xml.internal.security.utils.XMLUtils$2
InnerClasses:
com.sun.org.apache.xml.internal.security.utils.XMLUtils$1
com.sun.org.apache.xml.internal.security.utils.XMLUtils$2
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Decoder = java.util.Base64$Decoder of java.util.Base64
public Encoder = java.util.Base64$Encoder of java.util.Base64