public final class org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod 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.DOMExcC14NMethod
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 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
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 start local 1 0: aload 1
ifnull 6
1: aload 1
instanceof javax.xml.crypto.dsig.spec.ExcC14NParameterSpec
ifne 5
2: new java.security.InvalidAlgorithmParameterException
dup
3: ldc "params must be of type ExcC14NParameterSpec"
4: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.xml.crypto.dsig.spec.C14NMethodParameterSpec
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.params:Ljavax/xml/crypto/dsig/spec/C14NMethodParameterSpec;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
0 7 1 params Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.init:(Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.transformElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 3
start local 3 2: aload 3
ifnonnull 6
3: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.params:Ljavax/xml/crypto/dsig/spec/C14NMethodParameterSpec;
4: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.inclusiveNamespaces:Ljava/lang/String;
5: return
6: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 0
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.unmarshalParams:(Lorg/w3c/dom/Element;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
0 8 1 parent Ljavax/xml/crypto/XMLStructure;
0 8 2 context Ljavax/xml/crypto/XMLCryptoContext;
2 8 3 paramsElem Lorg/w3c/dom/Element;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
parent
context
private void unmarshalParams(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
aconst_null
ldc "PrefixList"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.inclusiveNamespaces:Ljava/lang/String;
2: iconst_0
istore 3
start local 3 3: aload 2
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 5: goto 9
6: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod org.w3c.dom.Element java.lang.String int int java.util.List
StackMap stack:
aload 5
aload 2
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: iload 4
iconst_1
iadd
istore 3
8: aload 2
bipush 32
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 4
9: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 6
10: iload 3
aload 2
invokevirtual java.lang.String.length:()I
if_icmpgt 12
11: aload 5
aload 2
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals:
StackMap stack:
aload 0
new javax.xml.crypto.dsig.spec.ExcC14NParameterSpec
dup
aload 5
invokespecial javax.xml.crypto.dsig.spec.ExcC14NParameterSpec.<init>:(Ljava/util/List;)V
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.params:Ljavax/xml/crypto/dsig/spec/C14NMethodParameterSpec;
13: return
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 14 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
0 14 1 paramsElem Lorg/w3c/dom/Element;
1 14 2 prefixListAttr Ljava/lang/String;
3 14 3 begin I
4 14 4 end I
5 14 5 prefixList Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
paramsElem
public java.util.List<java.lang.String> getParameterSpecPrefixList(javax.xml.crypto.dsig.spec.ExcC14NParameterSpec);
descriptor: (Ljavax/xml/crypto/dsig/spec/ExcC14NParameterSpec;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.crypto.dsig.spec.ExcC14NParameterSpec.getPrefixList:()Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
0 1 1 paramSpec Ljavax/xml/crypto/dsig/spec/ExcC14NParameterSpec;
Signature: (Ljavax/xml/crypto/dsig/spec/ExcC14NParameterSpec;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
paramSpec
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=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.marshalParams:(Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
1: aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: return
4: StackMap locals: java.security.spec.AlgorithmParameterSpec
StackMap stack:
aload 2
5: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
6: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNSPrefix:(Ljavax/xml/crypto/XMLCryptoContext;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 7: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.ownerDoc:Lorg/w3c/dom/Document;
8: ldc "InclusiveNamespaces"
9: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
10: aload 4
11: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 12: aload 4
ifnull 13
aload 4
invokevirtual java.lang.String.length:()I
ifne 17
13: StackMap locals: java.lang.String org.w3c.dom.Element
StackMap stack:
aload 5
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
14: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
15: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
16: goto 21
17: StackMap locals:
StackMap stack:
aload 5
ldc "http://www.w3.org/2000/xmlns/"
18: new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
20: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 3
checkcast javax.xml.crypto.dsig.spec.ExcC14NParameterSpec
astore 6
start local 6 22: new java.lang.StringBuilder
dup
ldc ""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 7
start local 7 23: aload 0
aload 6
invokevirtual org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.getParameterSpecPrefixList:(Ljavax/xml/crypto/dsig/spec/ExcC14NParameterSpec;)Ljava/util/List;
astore 8
start local 8 24: iconst_0
istore 9
start local 9 25: aload 8
invokeinterface java.util.List.size:()I
istore 10
start local 10 26: goto 31
27: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod javax.xml.crypto.XMLStructure javax.xml.crypto.XMLCryptoContext java.security.spec.AlgorithmParameterSpec java.lang.String org.w3c.dom.Element javax.xml.crypto.dsig.spec.ExcC14NParameterSpec java.lang.StringBuilder java.util.List int int
StackMap stack:
aload 7
aload 8
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
28: iload 9
iload 10
iconst_1
isub
if_icmpge 30
29: aload 7
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
31: iload 9
iload 10
if_icmplt 27
end local 10 end local 9 32: aload 5
ldc "PrefixList"
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttribute:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
33: aload 0
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.inclusiveNamespaces:Ljava/lang/String;
34: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.transformElem:Lorg/w3c/dom/Element;
aload 5
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
35: return
end local 8 end local 7 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 36 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
0 36 1 parent Ljavax/xml/crypto/XMLStructure;
0 36 2 context Ljavax/xml/crypto/XMLCryptoContext;
2 36 3 spec Ljava/security/spec/AlgorithmParameterSpec;
7 36 4 prefix Ljava/lang/String;
12 36 5 eElem Lorg/w3c/dom/Element;
22 36 6 params Ljavax/xml/crypto/dsig/spec/ExcC14NParameterSpec;
23 36 7 prefixListAttr Ljava/lang/StringBuilder;
24 36 8 prefixList Ljava/util/List<Ljava/lang/String;>;
25 32 9 i I
26 32 10 size I
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
context
public java.lang.String getParamsNSURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
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 start local 1 start local 2 0: aload 1
instanceof org.jcp.xml.dsig.internal.dom.DOMSubTreeData
ifeq 16
1: aload 1
checkcast org.jcp.xml.dsig.internal.dom.DOMSubTreeData
astore 3
start local 3 2: aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSubTreeData.excludeComments:()Z
ifeq 16
3: aload 0
4: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
5: 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.DOMExcC14NMethod.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
6: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 4
start local 4 7: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.apacheCanonicalizer:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.setSecureValidation:(Z)V
end local 4 8: goto 16
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod 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
start local 4 10: new javax.xml.crypto.dsig.TransformException
dup
11: new java.lang.StringBuilder
dup
ldc "Couldn't find Canonicalizer for: http://www.w3.org/2001/10/xml-exc-c14n#: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: 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;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: aload 4
15: invokespecial javax.xml.crypto.dsig.TransformException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMExcC14NMethod.canonicalize:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jcp/xml/dsig/internal/dom/DOMExcC14NMethod;
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: "DOMExcC14NMethod.java"