public final class org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod extends org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod
super_class: org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
0: .line 45
aload 0 /* this */
invokespecial org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.<init>:()V
return
end local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalXMLC14NMethod;
public void init(javax.xml.crypto.dsig.spec.TransformParameterSpec);
descriptor: (Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
start local 1 // javax.xml.crypto.dsig.spec.TransformParameterSpec params
0: .line 49
aload 1 /* params */
ifnull 2
1: .line 50
new java.security.InvalidAlgorithmParameterException
dup
ldc "no parameters should be specified for Canonical XML C14N algorithm"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
2: .line 53
StackMap locals:
StackMap stack:
return
end local 1 // javax.xml.crypto.dsig.spec.TransformParameterSpec params
end local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalXMLC14NMethod;
0 3 1 params Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
public javax.xml.crypto.Data transform(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=5, locals=5, args_size=3
start local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
start local 1 // javax.xml.crypto.Data data
start local 2 // javax.xml.crypto.XMLCryptoContext xc
0: .line 61
aload 1 /* data */
instanceof org.jcp.xml.dsig.internal.dom.DOMSubTreeData
ifeq 16
1: .line 62
aload 1 /* data */
checkcast org.jcp.xml.dsig.internal.dom.DOMSubTreeData
astore 3 /* subTree */
start local 3 // org.jcp.xml.dsig.internal.dom.DOMSubTreeData subTree
2: .line 63
aload 3 /* subTree */
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.excludeComments:()Z
ifeq 16
3: .line 65
aload 0 /* this */
4: .line 66
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
5: .line 65
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.DOMCanonicalXMLC14NMethod.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
6: .line 67
aload 2 /* xc */
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 4 /* secVal */
start local 4 // boolean secVal
7: .line 68
aload 0 /* this */
getfield org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
iload 4 /* secVal */
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setSecureValidation:(Z)V
end local 4 // boolean secVal
8: .line 69
goto 16
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.dom.DOMSubTreeData
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
9: astore 4 /* ice */
start local 4 // com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException ice
10: .line 70
new javax.xml.crypto.dsig.TransformException
dup
11: .line 71
new java.lang.StringBuilder
dup
ldc "Couldn't find Canonicalizer for: http://www.w3.org/TR/2001/REC-xml-c14n-20010315: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: .line 73
aload 4 /* ice */
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;
13: .line 71
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: .line 73
aload 4 /* ice */
15: .line 70
invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 // com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException ice
end local 3 // org.jcp.xml.dsig.internal.dom.DOMSubTreeData subTree
16: .line 78
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* data */
aload 2 /* xc */
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod.canonicalize:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
areturn
end local 2 // javax.xml.crypto.XMLCryptoContext xc
end local 1 // javax.xml.crypto.Data data
end local 0 // org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalXMLC14NMethod;
0 17 1 data Ljavax/xml/crypto/Data;
0 17 2 xc Ljavax/xml/crypto/XMLCryptoContext;
2 16 3 subTree Lorg/jcp/xml/dsig/internal/dom/DOMSubTreeData;
7 8 4 secVal Z
10 16 4 ice Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
Exception table:
from to target type
3 8 9 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
}
SourceFile: "DOMCanonicalXMLC14NMethod.java"