public abstract class org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer extends javax.xml.crypto.dsig.TransformService
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
super_class: javax.xml.crypto.dsig.TransformService
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected com.sun.org.apache.xml.internal.security.c14n.Canonicalizer apacheCanonicalizer;
descriptor: Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
flags: (0x0004) ACC_PROTECTED
private com.sun.org.apache.xml.internal.security.transforms.Transform apacheTransform;
descriptor: Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
flags: (0x0002) ACC_PRIVATE
protected java.lang.String inclusiveNamespaces;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected javax.xml.crypto.dsig.spec.C14NMethodParameterSpec params;
descriptor: Ljavax/xml/crypto/dsig/spec/C14NMethodParameterSpec;
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.Document ownerDoc;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.Element transformElem;
descriptor: Lorg/w3c/dom/Element;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.org.apache.xml.internal.security.Init.init:()V
1: ldc "org.jcp.xml.dsig.internal.dom"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
2: putstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.xml.crypto.dsig.TransformService.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
public final java.security.spec.AlgorithmParameterSpec getParameterSpec();
descriptor: ()Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.params:Ljavax/xml/crypto/dsig/spec/C14NMethodParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
public void init(javax.xml.crypto.XMLStructure, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 4
aload 2
instanceof javax.xml.crypto.dom.DOMCryptoContext
ifne 4
1: new java.lang.ClassCastException
dup
2: ldc "context must be of type DOMCryptoContext"
3: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.crypto.dom.DOMStructure
ifne 8
7: new java.lang.ClassCastException
dup
ldc "parent must be of type DOMStructure"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
9: aload 1
checkcast javax.xml.crypto.dom.DOMStructure
invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
10: checkcast org.w3c.dom.Element
putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
11: aload 0
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.ownerDoc:Lorg/w3c/dom/Document;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 13 1 parent Ljavax/xml/crypto/XMLStructure;
0 13 2 context Ljavax/xml/crypto/XMLCryptoContext;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
parent
context
public void marshalParams(javax.xml.crypto.XMLStructure, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 4
aload 2
instanceof javax.xml.crypto.dom.DOMCryptoContext
ifne 4
1: new java.lang.ClassCastException
dup
2: ldc "context must be of type DOMCryptoContext"
3: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.crypto.dom.DOMStructure
ifne 8
7: new java.lang.ClassCastException
dup
ldc "parent must be of type DOMStructure"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
9: aload 1
checkcast javax.xml.crypto.dom.DOMStructure
invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
10: checkcast org.w3c.dom.Element
putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
11: aload 0
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.ownerDoc:Lorg/w3c/dom/Document;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 13 1 parent Ljavax/xml/crypto/XMLStructure;
0 13 2 context Ljavax/xml/crypto/XMLCryptoContext;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
context
public javax.xml.crypto.Data canonicalize(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.canonicalize:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 1 1 data Ljavax/xml/crypto/Data;
0 1 2 xc Ljavax/xml/crypto/XMLCryptoContext;
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
public javax.xml.crypto.Data canonicalize(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext, java.io.OutputStream);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
ifnonnull 12
1: aload 0
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
2: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
3: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Created canonicalizer for algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: goto 12
StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
5: astore 4
start local 4 6: new javax.xml.crypto.dsig.TransformException
dup
7: new java.lang.StringBuilder
dup
ldc "Couldn't find Canonicalizer for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: aload 4
11: invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
aload 3
ifnull 15
13: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setWriter:(Ljava/io/OutputStream;)V
16: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 17: aload 1
instanceof org.jcp.xml.dsig.internal.dom.ApacheData
ifeq 43
18: aload 1
checkcast org.jcp.xml.dsig.internal.dom.ApacheData
invokeinterface org.jcp.xml.dsig.internal.dom.ApacheData.getXMLSignatureInput:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
19: astore 5
start local 5 20: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isElement:()Z
ifeq 34
21: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
ifnull 28
22: new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
23: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
24: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
25: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;Ljava/lang/String;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
26: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
27: areturn
28: StackMap locals: java.util.Set com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
29: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
30: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
31: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
32: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
33: areturn
34: StackMap locals:
StackMap stack:
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNodeSet:()Z
ifeq 37
35: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeSet:()Ljava/util/Set;
astore 4
36: goto 71
37: StackMap locals:
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
38: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
39: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStream:()Ljava/io/InputStream;
invokestatic org.jcp.xml.dsig.internal.dom.Utils.readBytesFromStream:(Ljava/io/InputStream;)[B
40: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalize:([B)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
41: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
42: areturn
end local 5 43: StackMap locals:
StackMap stack:
aload 1
instanceof org.jcp.xml.dsig.internal.dom.DOMSubTreeData
ifeq 58
44: aload 1
checkcast org.jcp.xml.dsig.internal.dom.DOMSubTreeData
astore 5
start local 5 45: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
ifnull 52
46: new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
47: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
48: aload 5
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.getRoot:()Lorg/w3c/dom/Node;
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
49: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;Ljava/lang/String;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
50: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
51: areturn
52: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSubTreeData
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
53: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
54: aload 5
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.getRoot:()Lorg/w3c/dom/Node;
55: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeSubtree:(Lorg/w3c/dom/Node;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
56: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
57: areturn
end local 5 58: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.crypto.NodeSetData
ifeq 64
59: aload 1
checkcast javax.xml.crypto.NodeSetData
astore 5
start local 5 60: aload 5
invokeinterface javax.xml.crypto.NodeSetData.iterator:()Ljava/util/Iterator;
invokestatic org.jcp.xml.dsig.internal.dom.Utils.toNodeSet:(Ljava/util/Iterator;)Ljava/util/Set;
astore 4
61: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 71
62: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Canonicalizing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface java.util.Set.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " nodes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 5 63: goto 71
64: StackMap locals:
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
65: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
66: aload 1
checkcast javax.xml.crypto.OctetStreamData
invokevirtual javax.xml.crypto.OctetStreamData.getOctetStream:()Ljava/io/InputStream;
67: invokestatic org.jcp.xml.dsig.internal.dom.Utils.readBytesFromStream:(Ljava/io/InputStream;)[B
68: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalize:([B)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
69: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
70: areturn
71: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
ifnull 78
72: new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
73: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
74: aload 4
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.inclusiveNamespaces:Ljava/lang/String;
75: invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeXPathNodeSet:(Ljava/util/Set;Ljava/lang/String;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
76: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
77: areturn
78: StackMap locals:
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
new java.io.ByteArrayInputStream
dup
79: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.canonicalizeXPathNodeSet:(Ljava/util/Set;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
80: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;)V
81: areturn
end local 4 82: StackMap locals: org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext java.io.OutputStream
StackMap stack: java.lang.Exception
astore 4
start local 4 83: new javax.xml.crypto.dsig.TransformException
dup
aload 4
invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 84 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 84 1 data Ljavax/xml/crypto/Data;
0 84 2 xc Ljavax/xml/crypto/XMLCryptoContext;
0 84 3 os Ljava/io/OutputStream;
6 12 4 ice Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
17 82 4 nodeSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
20 43 5 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
45 58 5 subTree Lorg/jcp/xml/dsig/internal/dom/DOMSubTreeData;
60 63 5 nsd Ljavax/xml/crypto/NodeSetData<*>;
83 84 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
16 27 82 Class java.lang.Exception
28 33 82 Class java.lang.Exception
34 42 82 Class java.lang.Exception
43 51 82 Class java.lang.Exception
52 57 82 Class java.lang.Exception
58 70 82 Class java.lang.Exception
71 77 82 Class java.lang.Exception
78 81 82 Class java.lang.Exception
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
os
public javax.xml.crypto.Data transform(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext, java.io.OutputStream);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "data must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 3
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "output stream must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.ownerDoc:Lorg/w3c/dom/Document;
ifnonnull 6
5: new javax.xml.crypto.dsig.TransformException
dup
ldc "transform must be marshalled"
invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheTransform:Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
ifnonnull 18
7: aload 0
8: new com.sun.org.apache.xml.internal.security.transforms.Transform
dup
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.ownerDoc:Lorg/w3c/dom/Document;
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
invokespecial com.sun.org.apache.xml.internal.security.transforms.Transform.<init>:(Lorg/w3c/dom/Document;Ljava/lang/String;Lorg/w3c/dom/NodeList;)V
9: putfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheTransform:Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
10: aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheTransform:Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.transformElem:Lorg/w3c/dom/Element;
aload 2
invokeinterface javax.xml.crypto.XMLCryptoContext.getBaseURI:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.setElement:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
11: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 18
12: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Created transform for algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
13: goto 18
StackMap locals:
StackMap stack: java.lang.Exception
14: astore 4
start local 4 15: new javax.xml.crypto.dsig.TransformException
dup
16: new java.lang.StringBuilder
dup
ldc "Couldn't find Transform for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
17: invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 18: StackMap locals:
StackMap stack:
aload 1
instanceof org.jcp.xml.dsig.internal.dom.ApacheData
ifeq 23
19: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 21
20: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "ApacheData = true"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 1
checkcast org.jcp.xml.dsig.internal.dom.ApacheData
invokeinterface org.jcp.xml.dsig.internal.dom.ApacheData.getXMLSignatureInput:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 4
start local 4 22: goto 43
end local 4 StackMap locals:
StackMap stack:
23: aload 1
instanceof javax.xml.crypto.NodeSetData
ifeq 35
24: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 26
25: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "isNodeSet() = true"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
aload 1
instanceof org.jcp.xml.dsig.internal.dom.DOMSubTreeData
ifeq 31
27: aload 1
checkcast org.jcp.xml.dsig.internal.dom.DOMSubTreeData
astore 5
start local 5 28: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
dup
aload 5
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.getRoot:()Lorg/w3c/dom/Node;
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.<init>:(Lorg/w3c/dom/Node;)V
astore 4
start local 4 29: aload 4
aload 5
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.excludeComments:()Z
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.setExcludeComments:(Z)V
end local 5 30: goto 43
end local 4 31: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.NodeSetData
invokeinterface javax.xml.crypto.NodeSetData.iterator:()Ljava/util/Iterator;
invokestatic org.jcp.xml.dsig.internal.dom.Utils.toNodeSet:(Ljava/util/Iterator;)Ljava/util/Set;
32: astore 5
start local 5 33: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
dup
aload 5
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.<init>:(Ljava/util/Set;)V
astore 4
end local 5 start local 4 34: goto 43
end local 4 35: StackMap locals:
StackMap stack:
getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 37
36: getstatic org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "isNodeSet() = false"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
37: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
dup
38: aload 1
checkcast javax.xml.crypto.OctetStreamData
invokevirtual javax.xml.crypto.OctetStreamData.getOctetStream:()Ljava/io/InputStream;
39: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.<init>:(Ljava/io/InputStream;)V
astore 4
start local 4 40: goto 43
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
41: astore 5
start local 5 42: new javax.xml.crypto.dsig.TransformException
dup
aload 5
invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 43: StackMap locals: com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.apacheTransform:Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
aload 4
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.performTransform:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 4
44: aload 4
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNodeSet:()Z
ifne 46
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isElement:()Z
ifne 46
45: aconst_null
areturn
46: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifeq 49
47: new org.jcp.xml.dsig.internal.dom.ApacheOctetStreamData
dup
aload 4
invokespecial org.jcp.xml.dsig.internal.dom.ApacheOctetStreamData.<init>:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
48: areturn
49: StackMap locals:
StackMap stack:
new org.jcp.xml.dsig.internal.dom.ApacheNodeSetData
dup
aload 4
invokespecial org.jcp.xml.dsig.internal.dom.ApacheNodeSetData.<init>:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
50: areturn
51: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 52: new javax.xml.crypto.dsig.TransformException
dup
aload 5
invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/Throwable;)V
athrow
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 53 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 53 1 data Ljavax/xml/crypto/Data;
0 53 2 xc Ljavax/xml/crypto/XMLCryptoContext;
0 53 3 os Ljava/io/OutputStream;
15 18 4 ex Ljava/lang/Exception;
22 23 4 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
29 31 4 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
34 35 4 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
40 41 4 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
43 53 4 in Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
28 30 5 subTree Lorg/jcp/xml/dsig/internal/dom/DOMSubTreeData;
33 34 5 nodeSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
42 43 5 ex Ljava/lang/Exception;
52 53 5 ex Ljava/lang/Exception;
Exception table:
from to target type
7 13 14 Class java.lang.Exception
37 40 41 Class java.lang.Exception
43 45 51 Class java.lang.Exception
46 48 51 Class java.lang.Exception
49 50 51 Class java.lang.Exception
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
os
public final boolean isFeatureSupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/ApacheCanonicalizer;
0 3 1 feature Ljava/lang/String;
MethodParameters:
Name Flags
feature
}
SourceFile: "ApacheCanonicalizer.java"