public abstract class com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer implements com.sun.org.apache.xml.internal.security.encryption.Serializer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer
super_class: java.lang.Object
{
protected com.sun.org.apache.xml.internal.security.c14n.Canonicalizer canon;
descriptor: Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
public void setCanonicalizer(com.sun.org.apache.xml.internal.security.c14n.Canonicalizer);
descriptor: (Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 2 1 canon Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
MethodParameters:
Name Flags
canon
public java.lang.String serialize(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canonSerialize:(Lorg/w3c/dom/Node;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 1 1 element Lorg/w3c/dom/Element;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
element
public byte[] serializeToByteArray(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canonSerializeToByteArray:(Lorg/w3c/dom/Node;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 1 1 element Lorg/w3c/dom/Element;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
element
public java.lang.String serialize(org.w3c.dom.NodeList);
descriptor: (Lorg/w3c/dom/NodeList;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.notReset:()V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.io.ByteArrayOutputStream int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 1
iload 3
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 5
end local 3 8: aload 2
ldc "UTF-8"
invokevirtual java.io.ByteArrayOutputStream.toString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 9: aload 2
invokevirtual java.io.ByteArrayOutputStream.reset:()V
10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 11 1 content Lorg/w3c/dom/NodeList;
1 11 2 baos Ljava/io/ByteArrayOutputStream;
4 8 3 i I
9 11 3 ret Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
content
public byte[] serializeToByteArray(org.w3c.dom.NodeList);
descriptor: (Lorg/w3c/dom/NodeList;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.notReset:()V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.io.ByteArrayOutputStream int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 1
iload 3
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 5
end local 3 8: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 9 1 content Lorg/w3c/dom/NodeList;
1 9 2 baos Ljava/io/ByteArrayOutputStream;
4 8 3 i I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
content
public java.lang.String canonSerialize(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.notReset:()V
3: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
pop
4: aload 2
ldc "UTF-8"
invokevirtual java.io.ByteArrayOutputStream.toString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 2
invokevirtual java.io.ByteArrayOutputStream.reset:()V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 7 1 node Lorg/w3c/dom/Node;
1 7 2 baos Ljava/io/ByteArrayOutputStream;
5 7 3 ret Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
node
public byte[] canonSerializeToByteArray(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.notReset:()V
3: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
pop
4: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/encryption/AbstractSerializer;
0 5 1 node Lorg/w3c/dom/Node;
1 5 2 baos Ljava/io/ByteArrayOutputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
node
public abstract org.w3c.dom.Node deserialize(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
source
ctx
public abstract org.w3c.dom.Node deserialize(byte[], org.w3c.dom.Node);
descriptor: ([BLorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
source
ctx
protected static byte[] createContext(byte[], org.w3c.dom.Node);
descriptor: ([BLorg/w3c/dom/Node;)[B
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: new java.io.OutputStreamWriter
dup
aload 2
ldc "UTF-8"
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
ldc "<?xml version=\"1.0\" encoding=\"UTF-8\"?><dummy"
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 4: aload 1
astore 5
start local 5 5: goto 23
6: StackMap locals: byte[] org.w3c.dom.Node java.io.ByteArrayOutputStream java.io.OutputStreamWriter java.util.Map org.w3c.dom.Node
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 7: aload 6
ifnull 22
8: iconst_0
istore 7
start local 7 9: goto 21
10: StackMap locals: org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 6
iload 7
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 8
start local 8 11: aload 8
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 9
start local 9 12: aload 9
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
aload 9
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
13: StackMap locals: org.w3c.dom.Node java.lang.String
StackMap stack:
aload 4
aload 8
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 20
14: aload 3
ldc " "
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
15: aload 3
aload 9
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
16: aload 3
ldc "=\""
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
17: aload 3
aload 8
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
18: aload 3
ldc "\""
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
19: aload 4
aload 9
aload 8
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 20: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 10
end local 7 22: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 5
end local 6 23: StackMap locals:
StackMap stack:
aload 5
ifnonnull 6
24: aload 3
ldc ">"
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
25: aload 3
invokevirtual java.io.OutputStreamWriter.flush:()V
26: aload 2
aload 0
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
27: aload 3
ldc "</dummy>"
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
28: aload 3
invokevirtual java.io.OutputStreamWriter.close:()V
29: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
30: areturn
end local 5 end local 4 end local 3 31: StackMap locals: byte[] org.w3c.dom.Node java.io.ByteArrayOutputStream
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 32: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 33: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 34: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 source [B
0 35 1 ctx Lorg/w3c/dom/Node;
1 35 2 byteArrayOutputStream Ljava/io/ByteArrayOutputStream;
2 31 3 outputStreamWriter Ljava/io/OutputStreamWriter;
4 31 4 storedNamespaces Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 31 5 wk Lorg/w3c/dom/Node;
7 23 6 atts Lorg/w3c/dom/NamedNodeMap;
9 22 7 i I
11 20 8 att Lorg/w3c/dom/Node;
12 20 9 nodeName Ljava/lang/String;
32 33 3 e Ljava/io/UnsupportedEncodingException;
34 35 3 e Ljava/io/IOException;
Exception table:
from to target type
1 30 31 Class java.io.UnsupportedEncodingException
1 30 33 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
source
ctx
protected static java.lang.String createContext(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
ldc "<?xml version=\"1.0\" encoding=\"UTF-8\"?><dummy"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 3: aload 1
astore 4
start local 4 4: goto 19
5: StackMap locals: java.lang.StringBuilder java.util.Map org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 5
start local 5 6: aload 5
ifnull 18
7: iconst_0
istore 6
start local 6 8: goto 17
9: StackMap locals: org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 5
iload 6
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 7
start local 7 10: aload 7
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 8
start local 8 11: aload 8
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 8
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
12: StackMap locals: org.w3c.dom.Node java.lang.String
StackMap stack:
aload 3
aload 7
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 16
13: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 7
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 3
aload 8
aload 7
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 9
end local 6 18: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 4
end local 5 19: StackMap locals:
StackMap stack:
aload 4
ifnonnull 5
20: aload 2
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</dummy>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 source Ljava/lang/String;
0 22 1 ctx Lorg/w3c/dom/Node;
1 22 2 sb Ljava/lang/StringBuilder;
3 22 3 storedNamespaces Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 22 4 wk Lorg/w3c/dom/Node;
6 19 5 atts Lorg/w3c/dom/NamedNodeMap;
8 18 6 i I
10 16 7 att Lorg/w3c/dom/Node;
11 16 8 nodeName Ljava/lang/String;
MethodParameters:
Name Flags
source
ctx
}
SourceFile: "AbstractSerializer.java"