public final class org.jcp.xml.dsig.internal.dom.DOMReference extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.Reference, javax.xml.crypto.dom.DOMURIReference
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMReference
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
private static boolean useC14N11;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final javax.xml.crypto.dsig.DigestMethod digestMethod;
descriptor: Ljavax/xml/crypto/dsig/DigestMethod;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<javax.xml.crypto.dsig.Transform> transforms;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
private java.util.List<javax.xml.crypto.dsig.Transform> allTransforms;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
private final javax.xml.crypto.Data appliedTransformData;
descriptor: Ljavax/xml/crypto/Data;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.w3c.dom.Attr here;
descriptor: Lorg/w3c/dom/Attr;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String uri;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] digestValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] calcDigestValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Element refElem;
descriptor: Lorg/w3c/dom/Element;
flags: (0x0002) ACC_PRIVATE
private boolean digested;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean validated;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean validationStatus;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.xml.crypto.Data derefData;
descriptor: Ljavax/xml/crypto/Data;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream dis;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private java.security.MessageDigest md;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jcp.xml.dsig.internal.dom.DOMReference$1
dup
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
1: putstatic org.jcp.xml.dsig.internal.dom.DOMReference.useC14N11:Z
2: ldc "org.jcp.xml.dsig.internal.dom"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
3: putstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, javax.xml.crypto.dsig.DigestMethod, java.util.List<? extends javax.xml.crypto.dsig.Transform>, java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List;Ljava/lang/String;Ljava/security/Provider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aconst_null
aconst_null
aload 4
aload 5
aconst_null
aload 6
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List;Ljavax/xml/crypto/Data;Ljava/util/List;Ljava/lang/String;[BLjava/security/Provider;)V
1: return
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 2 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 2 1 uri Ljava/lang/String;
0 2 2 type Ljava/lang/String;
0 2 3 dm Ljavax/xml/crypto/dsig/DigestMethod;
0 2 4 transforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
0 2 5 id Ljava/lang/String;
0 2 6 provider Ljava/security/Provider;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;Ljava/lang/String;Ljava/security/Provider;)V
MethodParameters:
Name Flags
uri
type
dm
transforms
id
provider
public void <init>(java.lang.String, java.lang.String, javax.xml.crypto.dsig.DigestMethod, java.util.List<? extends javax.xml.crypto.dsig.Transform>, javax.xml.crypto.Data, java.util.List<? extends javax.xml.crypto.dsig.Transform>, java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List;Ljavax/xml/crypto/Data;Ljava/util/List;Ljava/lang/String;Ljava/security/Provider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
aload 2
aload 3
aload 4
1: aload 5
aload 6
aload 7
aconst_null
aload 8
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List;Ljavax/xml/crypto/Data;Ljava/util/List;Ljava/lang/String;[BLjava/security/Provider;)V
2: 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 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 3 1 uri Ljava/lang/String;
0 3 2 type Ljava/lang/String;
0 3 3 dm Ljavax/xml/crypto/dsig/DigestMethod;
0 3 4 appliedTransforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
0 3 5 result Ljavax/xml/crypto/Data;
0 3 6 transforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
0 3 7 id Ljava/lang/String;
0 3 8 provider Ljava/security/Provider;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;Ljavax/xml/crypto/Data;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;Ljava/lang/String;Ljava/security/Provider;)V
MethodParameters:
Name Flags
uri
type
dm
appliedTransforms
result
transforms
id
provider
public void <init>(java.lang.String, java.lang.String, javax.xml.crypto.dsig.DigestMethod, java.util.List<? extends javax.xml.crypto.dsig.Transform>, javax.xml.crypto.Data, java.util.List<? extends javax.xml.crypto.dsig.Transform>, java.lang.String, byte[], java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List;Ljavax/xml/crypto/Data;Ljava/util/List;Ljava/lang/String;[BLjava/security/Provider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=13, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 0
iconst_0
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digested:Z
2: aload 0
iconst_0
putfield org.jcp.xml.dsig.internal.dom.DOMReference.validated:Z
3: aload 3
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "DigestMethod must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference java.lang.String java.lang.String javax.xml.crypto.dsig.DigestMethod java.util.List javax.xml.crypto.Data java.util.List java.lang.String byte[] java.security.Provider
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
6: ldc Ljavax/xml/crypto/dsig/Transform;
7: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
8: astore 10
start local 10 9: aload 4
ifnull 11
10: aload 10
aload 4
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
11: StackMap locals: java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
12: ldc Ljavax/xml/crypto/dsig/Transform;
13: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
14: astore 11
start local 11 15: aload 6
ifnull 18
16: aload 10
aload 6
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
17: aload 11
aload 6
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
18: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 10
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
19: aload 0
aload 11
putfield org.jcp.xml.dsig.internal.dom.DOMReference.transforms:Ljava/util/List;
20: aload 0
aload 3
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
21: aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
22: aload 1
ifnull 27
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
23: new java.net.URI
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
24: goto 27
StackMap locals:
StackMap stack: java.net.URISyntaxException
25: astore 12
start local 12 26: new java.lang.IllegalArgumentException
dup
aload 12
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 12 27: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
28: aload 0
aload 7
putfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
29: aload 8
ifnull 32
30: aload 0
aload 8
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
31: aload 0
iconst_1
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digested:Z
32: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield org.jcp.xml.dsig.internal.dom.DOMReference.appliedTransformData:Ljavax/xml/crypto/Data;
33: aload 0
aload 9
putfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
34: return
end local 11 end local 10 end local 9 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 35 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 35 1 uri Ljava/lang/String;
0 35 2 type Ljava/lang/String;
0 35 3 dm Ljavax/xml/crypto/dsig/DigestMethod;
0 35 4 appliedTransforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
0 35 5 result Ljavax/xml/crypto/Data;
0 35 6 transforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
0 35 7 id Ljava/lang/String;
0 35 8 digestValue [B
0 35 9 provider Ljava/security/Provider;
9 35 10 tempList Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
15 35 11 tempList2 Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
26 27 12 e Ljava/net/URISyntaxException;
Exception table:
from to target type
23 24 25 Class java.net.URISyntaxException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/crypto/dsig/DigestMethod;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;Ljavax/xml/crypto/Data;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;Ljava/lang/String;[BLjava/security/Provider;)V
MethodParameters:
Name Flags
uri
type
dm
appliedTransforms
result
transforms
id
digestValue
provider
public void <init>(org.w3c.dom.Element, javax.xml.crypto.XMLCryptoContext, java.security.Provider);
descriptor: (Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 0
iconst_0
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digested:Z
2: aload 0
iconst_0
putfield org.jcp.xml.dsig.internal.dom.DOMReference.validated:Z
3: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 4
start local 4 4: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 5
start local 5 5: new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 6: aload 5
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "Transforms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
7: aload 5
8: ldc "Transform"
9: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 7
start local 7 10: aload 6
new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 7
aload 2
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMTransform.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 7
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 7
12: goto 30
13: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext java.security.Provider int org.w3c.dom.Element java.util.List org.w3c.dom.Element
StackMap stack:
aload 7
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 8
start local 8 14: aload 8
ldc "Transform"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
15: new javax.xml.crypto.MarshalException
dup
16: new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc ", expected Transform"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: java.lang.String
StackMap stack:
aload 6
21: new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 7
aload 2
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMTransform.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
22: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: iload 4
ifeq 29
aload 6
invokeinterface java.util.List.size:()I
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictNumTransforms:(I)Z
ifeq 29
24: new java.lang.StringBuilder
dup
ldc "A maximum of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic org.jcp.xml.dsig.internal.dom.Policy.maxTransforms:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
25: ldc " transforms per Reference are allowed when"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc " secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 28: new javax.xml.crypto.MarshalException
dup
aload 9
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 9 29: StackMap locals:
StackMap stack:
aload 7
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 7
end local 8 30: StackMap locals:
StackMap stack:
aload 7
ifnonnull 13
31: aload 5
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 5
end local 7 32: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "DigestMethod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 37
33: new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
34: aload 5
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: ldc ", expected DigestMethod"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
aload 5
astore 7
start local 7 38: aload 0
aload 7
invokestatic org.jcp.xml.dsig.internal.dom.DOMDigestMethod.unmarshal:(Lorg/w3c/dom/Element;)Ljavax/xml/crypto/dsig/DigestMethod;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
39: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
invokeinterface javax.xml.crypto.dsig.DigestMethod.getAlgorithm:()Ljava/lang/String;
astore 8
start local 8 40: iload 4
ifeq 46
aload 8
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictAlg:(Ljava/lang/String;)Z
ifeq 46
41: new javax.xml.crypto.MarshalException
dup
42: new java.lang.StringBuilder
dup
ldc "It is forbidden to use algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: ldc " when secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals: org.w3c.dom.Element java.lang.String
StackMap stack:
aload 7
ldc "DigestValue"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 9
start local 9 47: aload 0
aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.decode:(Lorg/w3c/dom/Element;)[B
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
48: goto 51
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext java.security.Provider int org.w3c.dom.Element java.util.List org.w3c.dom.Element java.lang.String org.w3c.dom.Element
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException
49: astore 10
start local 10 50: new javax.xml.crypto.MarshalException
dup
aload 10
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 10 51: StackMap locals:
StackMap stack:
aload 9
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
ifnull 55
52: new javax.xml.crypto.MarshalException
dup
53: ldc "Unexpected element after DigestValue element"
54: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
55: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "URI"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getAttributeValue:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
56: aload 1
aconst_null
ldc "Id"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 10
start local 10 57: aload 10
ifnull 61
58: aload 0
aload 10
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
59: aload 1
aload 10
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNode:(Lorg/w3c/dom/Attr;Z)V
60: goto 62
61: StackMap locals: org.w3c.dom.Attr
StackMap stack:
aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
62: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "Type"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getAttributeValue:(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
63: aload 0
aload 1
aconst_null
ldc "URI"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.here:Lorg/w3c/dom/Attr;
64: aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
65: aload 0
aload 6
putfield org.jcp.xml.dsig.internal.dom.DOMReference.transforms:Ljava/util/List;
66: aload 0
aload 6
putfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
67: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMReference.appliedTransformData:Ljavax/xml/crypto/Data;
68: aload 0
aload 3
putfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
69: return
end local 10 end local 9 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 70 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 70 1 refElem Lorg/w3c/dom/Element;
0 70 2 context Ljavax/xml/crypto/XMLCryptoContext;
0 70 3 provider Ljava/security/Provider;
4 70 4 secVal Z
5 70 5 nextSibling Lorg/w3c/dom/Element;
6 70 6 transforms Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
10 32 7 transformElem Lorg/w3c/dom/Element;
14 30 8 localName Ljava/lang/String;
28 29 9 error Ljava/lang/String;
38 70 7 dmElem Lorg/w3c/dom/Element;
40 70 8 digestMethodAlgorithm Ljava/lang/String;
47 70 9 dvElem Lorg/w3c/dom/Element;
50 51 10 bde Lcom/sun/org/apache/xml/internal/security/exceptions/Base64DecodingException;
57 70 10 attr Lorg/w3c/dom/Attr;
Exception table:
from to target type
47 48 49 Class com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
refElem
context
provider
public javax.xml.crypto.dsig.DigestMethod getDigestMethod();
descriptor: ()Ljavax/xml/crypto/dsig/DigestMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public java.lang.String getURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public java.lang.String getType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public java.util.List<javax.xml.crypto.dsig.Transform> getTransforms();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
public byte[] getDigestValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public byte[] getCalculatedDigestValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.calcDigestValue:[B
ifnonnull 1
aconst_null
goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.calcDigestValue:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
2: StackMap locals:
StackMap stack: byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public void marshal(org.w3c.dom.Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 2
1: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Marshalling Reference"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 4
start local 4 3: aload 0
aload 4
ldc "Reference"
4: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 2
5: 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;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
6: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
ldc "Id"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttributeID:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
ldc "URI"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttribute:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
ldc "Type"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttribute:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 22
10: aload 4
11: ldc "Transforms"
12: ldc "http://www.w3.org/2000/09/xmldsig#"
13: aload 2
14: 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 15: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
aload 5
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
16: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Document org.w3c.dom.Element top java.util.Iterator
StackMap stack:
17: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.dsig.Transform
astore 6
start local 6 18: aload 6
checkcast org.jcp.xml.dsig.internal.dom.DOMStructure
aload 5
19: aload 2
aload 3
20: invokevirtual org.jcp.xml.dsig.internal.dom.DOMStructure.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
end local 6 21: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 5 22: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Document
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
checkcast org.jcp.xml.dsig.internal.dom.DOMDigestMethod
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMDigestMethod.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
23: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 25
24: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Adding digestValueElem"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
aload 4
26: ldc "DigestValue"
27: ldc "http://www.w3.org/2000/09/xmldsig#"
28: aload 2
29: 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 30: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
ifnull 34
31: aload 5
32: aload 4
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
33: invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
34: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
aload 5
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
35: aload 1
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
36: aload 0
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
aconst_null
ldc "URI"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.here:Lorg/w3c/dom/Attr;
37: 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 38 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 38 1 parent Lorg/w3c/dom/Node;
0 38 2 dsPrefix Ljava/lang/String;
0 38 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
3 38 4 ownerDoc Lorg/w3c/dom/Document;
15 22 5 transformsElem Lorg/w3c/dom/Element;
18 21 6 transform Ljavax/xml/crypto/dsig/Transform;
30 38 5 digestValueElem Lorg/w3c/dom/Element;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
context
public void digest(javax.xml.crypto.dsig.XMLSignContext);
descriptor: (Ljavax/xml/crypto/dsig/XMLSignContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.appliedTransformData:Ljavax/xml/crypto/Data;
ifnonnull 4
2: aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMReference.dereference:(Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 2
3: goto 5
4: StackMap locals: javax.xml.crypto.Data
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.appliedTransformData:Ljavax/xml/crypto/Data;
astore 2
5: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 2
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMReference.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)[B
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
6: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
astore 3
start local 3 7: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 9
8: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Reference object uri = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri: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
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getLastChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 4
start local 4 10: aload 4
ifnonnull 12
11: new javax.xml.crypto.dsig.XMLSignatureException
dup
ldc "DigestValue element expected"
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 4
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.removeAllChildren:(Lorg/w3c/dom/Node;)V
13: aload 4
14: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
aload 3
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
15: invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
16: aload 0
iconst_1
putfield org.jcp.xml.dsig.internal.dom.DOMReference.digested:Z
17: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 19
18: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Reference digesting completed"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 20 1 signContext Ljavax/xml/crypto/dsig/XMLSignContext;
1 20 2 data Ljavax/xml/crypto/Data;
7 20 3 encodedDV Ljava/lang/String;
10 20 4 digestElem Lorg/w3c/dom/Element;
Exceptions:
throws javax.xml.crypto.dsig.XMLSignatureException
MethodParameters:
Name Flags
signContext
public boolean validate(javax.xml.crypto.dsig.XMLValidateContext);
descriptor: (Ljavax/xml/crypto/dsig/XMLValidateContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "validateContext cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.validated:Z
ifeq 4
3: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.validationStatus:Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMReference.dereference:(Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 2
start local 2 5: aload 0
aload 0
aload 2
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMReference.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)[B
putfield org.jcp.xml.dsig.internal.dom.DOMReference.calcDigestValue:[B
6: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 9
7: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Expected digest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)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
8: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Actual digest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.calcDigestValue:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)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
9: StackMap locals: javax.xml.crypto.Data
StackMap stack:
aload 0
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.calcDigestValue:[B
invokestatic java.util.Arrays.equals:([B[B)Z
putfield org.jcp.xml.dsig.internal.dom.DOMReference.validationStatus:Z
10: aload 0
iconst_1
putfield org.jcp.xml.dsig.internal.dom.DOMReference.validated:Z
11: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.validationStatus:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 12 1 validateContext Ljavax/xml/crypto/dsig/XMLValidateContext;
5 12 2 data Ljavax/xml/crypto/Data;
Exceptions:
throws javax.xml.crypto.dsig.XMLSignatureException
MethodParameters:
Name Flags
validateContext
public javax.xml.crypto.Data getDereferencedData();
descriptor: ()Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.derefData:Ljavax/xml/crypto/Data;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public java.io.InputStream getDigestInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.dis:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
private javax.xml.crypto.Data dereference(javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface javax.xml.crypto.XMLCryptoContext.getURIDereferencer:()Ljavax/xml/crypto/URIDereferencer;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: getstatic org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.INSTANCE:Ljavax/xml/crypto/URIDereferencer;
astore 3
4: StackMap locals: javax.xml.crypto.Data javax.xml.crypto.URIDereferencer
StackMap stack:
aload 3
aload 0
aload 1
invokeinterface javax.xml.crypto.URIDereferencer.dereference:(Ljavax/xml/crypto/URIReference;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 2
5: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.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 11
6: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "URIDereferencer class name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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
7: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Data class name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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
8: goto 11
StackMap locals:
StackMap stack: javax.xml.crypto.URIReferenceException
9: astore 4
start local 4 10: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 4
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 12 1 context Ljavax/xml/crypto/XMLCryptoContext;
1 12 2 data Ljavax/xml/crypto/Data;
2 12 3 deref Ljavax/xml/crypto/URIDereferencer;
10 11 4 ure Ljavax/xml/crypto/URIReferenceException;
Exception table:
from to target type
4 8 9 Class javax.xml.crypto.URIReferenceException
Exceptions:
throws javax.xml.crypto.dsig.XMLSignatureException
MethodParameters:
Name Flags
context
private byte[] transform(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.md:Ljava/security/MessageDigest;
ifnonnull 7
1: aload 0
2: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
checkcast org.jcp.xml.dsig.internal.dom.DOMDigestMethod
invokevirtual org.jcp.xml.dsig.internal.dom.DOMDigestMethod.getMessageDigestAlgorithm:()Ljava/lang/String;
3: invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.md:Ljava/security/MessageDigest;
4: goto 7
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
5: astore 3
start local 3 6: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 3
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
8: aload 2
ldc "javax.xml.crypto.dsig.cacheReference"
invokeinterface javax.xml.crypto.XMLCryptoContext.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
9: checkcast java.lang.Boolean
astore 4
start local 4 10: aload 4
ifnull 14
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 14
11: aload 0
aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMReference.copyDerefData:(Ljavax/xml/crypto/Data;)Ljavax/xml/crypto/Data;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.derefData:Ljavax/xml/crypto/Data;
12: new org.jcp.xml.dsig.internal.DigesterOutputStream
dup
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.md:Ljava/security/MessageDigest;
iconst_1
invokespecial org.jcp.xml.dsig.internal.DigesterOutputStream.<init>:(Ljava/security/MessageDigest;Z)V
astore 3
start local 3 13: goto 15
end local 3 14: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext top java.lang.Boolean
StackMap stack:
new org.jcp.xml.dsig.internal.DigesterOutputStream
dup
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.md:Ljava/security/MessageDigest;
invokespecial org.jcp.xml.dsig.internal.DigesterOutputStream.<init>:(Ljava/security/MessageDigest;)V
astore 3
start local 3 15: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean
StackMap stack:
aconst_null
astore 5
start local 5 16: aload 1
astore 6
start local 6 17: new com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream
dup
aload 3
invokespecial com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
18: iconst_0
istore 7
start local 7 19: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.transforms:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 8
start local 8 20: goto 27
21: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.transforms:Ljava/util/List;
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jcp.xml.dsig.internal.dom.DOMTransform
astore 9
start local 9 22: iload 7
iload 8
iconst_1
isub
if_icmpge 25
23: aload 9
aload 6
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMTransform.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 6
24: goto 26
25: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMTransform
StackMap stack:
aload 9
aload 6
aload 2
aload 5
invokevirtual org.jcp.xml.dsig.internal.dom.DOMTransform.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
astore 6
end local 9 26: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
27: iload 7
iload 8
if_icmplt 21
end local 8 end local 7 28: aload 6
ifnull 95
29: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.useC14N11:Z
istore 8
start local 8 30: ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
astore 9
start local 9 31: aload 2
instanceof javax.xml.crypto.dsig.XMLSignContext
ifeq 43
32: iload 8
ifne 42
33: aload 2
34: ldc "com.sun.org.apache.xml.internal.security.useC14N11"
35: invokeinterface javax.xml.crypto.XMLCryptoContext.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 10
start local 10 36: aload 10
ifnull 37
aload 10
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 37
iconst_1
goto 38
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data top int java.lang.String java.lang.Boolean
StackMap stack:
37: iconst_0
StackMap locals:
StackMap stack: int
38: istore 8
39: iload 8
ifeq 43
40: ldc "http://www.w3.org/2006/12/xml-c14n11"
astore 9
end local 10 41: goto 43
42: StackMap locals:
StackMap stack:
ldc "http://www.w3.org/2006/12/xml-c14n11"
astore 9
43: StackMap locals:
StackMap stack:
aload 6
instanceof org.jcp.xml.dsig.internal.dom.ApacheData
ifeq 46
44: aload 6
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 7
start local 7 45: goto 66
end local 7 StackMap locals:
StackMap stack:
46: aload 6
instanceof javax.xml.crypto.OctetStreamData
ifeq 51
47: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
dup
48: aload 6
checkcast javax.xml.crypto.OctetStreamData
invokevirtual javax.xml.crypto.OctetStreamData.getOctetStream:()Ljava/io/InputStream;
49: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 50: goto 66
end local 7 StackMap locals:
StackMap stack:
51: aload 6
instanceof javax.xml.crypto.NodeSetData
ifeq 65
52: aconst_null
astore 10
start local 10 53: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
ifnonnull 56
54: aload 9
ldc "DOM"
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
55: goto 60
56: StackMap locals: javax.xml.crypto.dsig.TransformService
StackMap stack:
aload 9
ldc "DOM"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/security/Provider;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
57: goto 60
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
58: pop
59: aload 9
ldc "DOM"
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
60: StackMap locals:
StackMap stack:
aload 10
aload 6
aload 2
invokevirtual javax.xml.crypto.dsig.TransformService.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 6
61: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
dup
62: aload 6
checkcast javax.xml.crypto.OctetStreamData
invokevirtual javax.xml.crypto.OctetStreamData.getOctetStream:()Ljava/io/InputStream;
63: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.<init>:(Ljava/io/InputStream;)V
astore 7
end local 10 start local 7 64: goto 66
end local 7 65: StackMap locals:
StackMap stack:
new javax.xml.crypto.dsig.XMLSignatureException
dup
ldc "unrecognized Data type"
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
start local 7 66: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput int java.lang.String
StackMap stack:
aload 2
instanceof javax.xml.crypto.dsig.XMLSignContext
ifeq 94
iload 8
ifeq 94
67: aload 7
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifne 94
aload 7
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOutputStreamSet:()Z
ifne 94
68: aconst_null
astore 10
start local 10 69: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
ifnonnull 72
70: aload 9
ldc "DOM"
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
71: goto 76
72: StackMap locals: javax.xml.crypto.dsig.TransformService
StackMap stack:
aload 9
ldc "DOM"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.provider:Ljava/security/Provider;
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/security/Provider;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
73: goto 76
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
74: pop
75: aload 9
ldc "DOM"
invokestatic javax.xml.crypto.dsig.TransformService.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/crypto/dsig/TransformService;
astore 10
76: StackMap locals:
StackMap stack:
new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 10
invokespecial org.jcp.xml.dsig.internal.dom.DOMTransform.<init>:(Ljavax/xml/crypto/dsig/TransformService;)V
astore 11
start local 11 77: aconst_null
astore 12
start local 12 78: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getSignaturePrefix:(Ljavax/xml/crypto/XMLCryptoContext;)Ljava/lang/String;
astore 13
start local 13 79: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 87
80: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
81: ldc "Transforms"
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 13
82: 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 12
83: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
aload 12
84: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
85: invokeinterface org.w3c.dom.Element.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
86: goto 88
87: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMTransform org.w3c.dom.Element java.lang.String
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.refElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 12
88: StackMap locals:
StackMap stack:
aload 11
aload 12
aload 13
89: aload 2
checkcast javax.xml.crypto.dom.DOMCryptoContext
90: invokevirtual org.jcp.xml.dsig.internal.dom.DOMTransform.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
91: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
92: aload 7
aload 5
iconst_1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;Z)V
end local 13 end local 12 end local 11 end local 10 93: goto 95
94: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput int java.lang.String
StackMap stack:
aload 7
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;)V
end local 9 end local 8 end local 7 95: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.OutputStream.flush:()V
96: aload 4
ifnull 98
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 98
97: aload 0
aload 3
invokevirtual org.jcp.xml.dsig.internal.DigesterOutputStream.getInputStream:()Ljava/io/InputStream;
putfield org.jcp.xml.dsig.internal.dom.DOMReference.dis:Ljava/io/InputStream;
98: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jcp.xml.dsig.internal.DigesterOutputStream.getDigestValue:()[B
astore 15
99: aload 5
ifnull 104
100: aload 5
invokevirtual java.io.OutputStream.close:()V
101: goto 104
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data top top top top top top top top byte[]
StackMap stack: java.io.IOException
102: astore 16
start local 16 103: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 16
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 16 104: StackMap locals:
StackMap stack:
aload 3
ifnull 109
105: aload 3
invokevirtual org.jcp.xml.dsig.internal.DigesterOutputStream.close:()V
106: goto 109
StackMap locals:
StackMap stack: java.io.IOException
107: astore 16
start local 16 108: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 16
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 16 109: StackMap locals:
StackMap stack:
aload 15
areturn
110: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data
StackMap stack: java.security.NoSuchAlgorithmException
astore 7
start local 7 111: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 7
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 112: StackMap locals:
StackMap stack: javax.xml.crypto.dsig.TransformException
astore 7
start local 7 113: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 7
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 114: StackMap locals:
StackMap stack: javax.xml.crypto.MarshalException
astore 7
start local 7 115: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 7
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 116: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 117: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 7
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 118: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 7
start local 7 119: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 7
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 120: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
121: aload 5
ifnull 126
122: aload 5
invokevirtual java.io.OutputStream.close:()V
123: goto 126
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMReference javax.xml.crypto.Data javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.DigesterOutputStream java.lang.Boolean java.io.OutputStream javax.xml.crypto.Data top top top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
124: astore 16
start local 16 125: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 16
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 16 126: StackMap locals:
StackMap stack:
aload 3
ifnull 131
127: aload 3
invokevirtual org.jcp.xml.dsig.internal.DigesterOutputStream.close:()V
128: goto 131
StackMap locals:
StackMap stack: java.io.IOException
129: astore 16
start local 16 130: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 16
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 16 131: StackMap locals:
StackMap stack:
aload 14
athrow
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 132 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 132 1 dereferencedData Ljavax/xml/crypto/Data;
0 132 2 context Ljavax/xml/crypto/XMLCryptoContext;
6 7 3 nsae Ljava/security/NoSuchAlgorithmException;
13 14 3 dos Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
15 132 3 dos Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
10 132 4 cache Ljava/lang/Boolean;
16 132 5 os Ljava/io/OutputStream;
17 132 6 data Ljavax/xml/crypto/Data;
19 28 7 i I
20 28 8 size I
22 26 9 transform Lorg/jcp/xml/dsig/internal/dom/DOMTransform;
45 46 7 xi Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
50 51 7 xi Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
64 65 7 xi Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
66 95 7 xi Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
30 95 8 c14n11 Z
31 95 9 c14nalg Ljava/lang/String;
36 41 10 prop Ljava/lang/Boolean;
53 64 10 spi Ljavax/xml/crypto/dsig/TransformService;
69 93 10 spi Ljavax/xml/crypto/dsig/TransformService;
77 93 11 t Lorg/jcp/xml/dsig/internal/dom/DOMTransform;
78 93 12 transformsElem Lorg/w3c/dom/Element;
79 93 13 dsPrefix Ljava/lang/String;
111 112 7 e Ljava/security/NoSuchAlgorithmException;
113 114 7 e Ljavax/xml/crypto/dsig/TransformException;
115 116 7 e Ljavax/xml/crypto/MarshalException;
117 118 7 e Ljava/io/IOException;
119 120 7 e Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
103 104 16 e Ljava/io/IOException;
125 126 16 e Ljava/io/IOException;
108 109 16 e Ljava/io/IOException;
130 131 16 e Ljava/io/IOException;
Exception table:
from to target type
1 4 5 Class java.security.NoSuchAlgorithmException
56 57 58 Class java.security.NoSuchAlgorithmException
72 73 74 Class java.security.NoSuchAlgorithmException
100 101 102 Class java.io.IOException
105 106 107 Class java.io.IOException
17 99 110 Class java.security.NoSuchAlgorithmException
17 99 112 Class javax.xml.crypto.dsig.TransformException
17 99 114 Class javax.xml.crypto.MarshalException
17 99 116 Class java.io.IOException
17 99 118 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
17 99 120 any
110 120 120 any
122 123 124 Class java.io.IOException
127 128 129 Class java.io.IOException
Exceptions:
throws javax.xml.crypto.dsig.XMLSignatureException
MethodParameters:
Name Flags
dereferencedData
context
public org.w3c.dom.Node getHere();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.here:Lorg/w3c/dom/Attr;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, 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
instanceof javax.xml.crypto.dsig.Reference
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.Reference
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
ifnonnull 7
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getId:()Ljava/lang/String;
ifnonnull 6
iconst_1
goto 8
StackMap locals: javax.xml.crypto.dsig.Reference
StackMap stack:
6: iconst_0
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getId:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
8: StackMap locals:
StackMap stack: int
istore 3
start local 3 9: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
ifnonnull 11
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getURI:()Ljava/lang/String;
ifnonnull 10
iconst_1
goto 12
StackMap locals: int
StackMap stack:
10: iconst_0
goto 12
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
12: StackMap locals:
StackMap stack: int
istore 4
start local 4 13: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
ifnonnull 15
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getType:()Ljava/lang/String;
ifnonnull 14
iconst_1
goto 16
StackMap locals: int
StackMap stack:
14: iconst_0
goto 16
15: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
16: StackMap locals:
StackMap stack: int
istore 5
start local 5 17: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getDigestValue:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
18: istore 6
start local 6 19: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getDigestMethod:()Ljavax/xml/crypto/dsig/DigestMethod;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 23
iload 3
ifeq 23
20: iload 4
ifeq 23
iload 5
ifeq 23
21: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
aload 2
invokeinterface javax.xml.crypto.dsig.Reference.getTransforms:()Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 23
iload 6
ifeq 23
22: iconst_1
ireturn
StackMap locals: int int
StackMap stack:
23: iconst_0
ireturn
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 24 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
0 24 1 o Ljava/lang/Object;
5 24 2 oref Ljavax/xml/crypto/dsig/Reference;
9 24 3 idsEqual Z
13 24 4 urisEqual Z
17 24 5 typesEqual Z
19 24 6 digestValuesEqual Z
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.id:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
ifnull 5
4: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.uri:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
ifnull 7
6: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.type:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
ifnull 9
8: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestValue:[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
istore 1
9: StackMap locals:
StackMap stack:
bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digestMethod:Ljavax/xml/crypto/dsig/DigestMethod;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
10: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.allTransforms:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
11: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
1 12 1 result I
boolean isDigested();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMReference.digested:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMReference;
private static javax.xml.crypto.Data copyDerefData(javax.xml.crypto.Data);
descriptor: (Ljavax/xml/crypto/Data;)Ljavax/xml/crypto/Data;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
instanceof org.jcp.xml.dsig.internal.dom.ApacheData
ifeq 23
1: aload 0
checkcast org.jcp.xml.dsig.internal.dom.ApacheData
astore 1
start local 1 2: aload 1
invokeinterface org.jcp.xml.dsig.internal.dom.ApacheData.getXMLSignatureInput:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 2
start local 2 3: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNodeSet:()Z
ifeq 10
4: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeSet:()Ljava/util/Set;
astore 3
start local 3 5: new org.jcp.xml.dsig.internal.dom.DOMReference$2
dup
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference$2.<init>:(Ljava/util/Set;)V
6: areturn
end local 3 7: StackMap locals: javax.xml.crypto.Data org.jcp.xml.dsig.internal.dom.ApacheData com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack: java.lang.Exception
astore 3
start local 3 8: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "cannot cache dereferenced data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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
9: aconst_null
areturn
end local 3 10: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isElement:()Z
ifeq 14
11: new org.jcp.xml.dsig.internal.dom.DOMSubTreeData
dup
12: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isExcludeComments:()Z
13: invokespecial org.jcp.xml.dsig.internal.dom.DOMSubTreeData.<init>:(Lorg/w3c/dom/Node;Z)V
areturn
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifne 15
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isByteArray:()Z
ifeq 23
15: StackMap locals:
StackMap stack:
new javax.xml.crypto.OctetStreamData
dup
16: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStream:()Ljava/io/InputStream;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSourceURI:()Ljava/lang/String;
17: aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getMIMEType:()Ljava/lang/String;
18: invokespecial javax.xml.crypto.OctetStreamData.<init>:(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)V
19: areturn
20: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 21: getstatic org.jcp.xml.dsig.internal.dom.DOMReference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "cannot cache dereferenced data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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
22: aconst_null
areturn
end local 3 end local 2 end local 1 23: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 dereferencedData Ljavax/xml/crypto/Data;
2 23 1 ad Lorg/jcp/xml/dsig/internal/dom/ApacheData;
3 23 2 xsi Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
5 7 3 s Ljava/util/Set<Lorg/w3c/dom/Node;>;
8 10 3 e Ljava/lang/Exception;
21 23 3 ioe Ljava/io/IOException;
Exception table:
from to target type
4 6 7 Class java.lang.Exception
15 19 20 Class java.io.IOException
MethodParameters:
Name Flags
dereferencedData
}
SourceFile: "DOMReference.java"
NestMembers:
org.jcp.xml.dsig.internal.dom.DOMReference$1 org.jcp.xml.dsig.internal.dom.DOMReference$2
InnerClasses:
org.jcp.xml.dsig.internal.dom.DOMReference$1
org.jcp.xml.dsig.internal.dom.DOMReference$2