public final class org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.keyinfo.RetrievalMethod, 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.DOMRetrievalMethod
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
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.lang.String uri;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Attr here;
descriptor: Lorg/w3c/dom/Attr;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String, java.util.List<? extends javax.xml.crypto.dsig.Transform>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, 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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "uri cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod java.lang.String java.lang.String java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
4: ldc Ljavax/xml/crypto/dsig/Transform;
5: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
6: astore 4
start local 4 7: aload 3
ifnull 9
8: aload 4
aload 3
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
9: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 4
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
10: aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.uri:Ljava/lang/String;
11: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
12: new java.net.URI
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
13: goto 16
StackMap locals:
StackMap stack: java.net.URISyntaxException
14: astore 5
start local 5 15: new java.lang.IllegalArgumentException
dup
aload 5
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 16: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 18 1 uri Ljava/lang/String;
0 18 2 type Ljava/lang/String;
0 18 3 transforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
7 18 4 tempList Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
15 16 5 e Ljava/net/URISyntaxException;
Exception table:
from to target type
12 13 14 Class java.net.URISyntaxException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;)V
MethodParameters:
Name Flags
uri
type
transforms
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
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.DOMRetrievalMethod.uri:Ljava/lang/String;
2: 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.DOMRetrievalMethod.type:Ljava/lang/String;
3: 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.DOMRetrievalMethod.here:Lorg/w3c/dom/Attr;
4: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 4
start local 4 5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 6: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 6
start local 6 7: aload 6
ifnull 34
8: aload 6
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 7
start local 7 9: aload 7
ldc "Transforms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
10: new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", expected Transforms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext java.security.Provider int java.util.List org.w3c.dom.Element java.lang.String
StackMap stack:
aload 6
ldc "Transform"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
14: astore 8
start local 8 15: aload 5
new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 8
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
16: aload 8
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 8
17: goto 33
18: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 8
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 9
start local 9 19: aload 9
ldc "Transform"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
20: new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", expected Transform"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: java.lang.String
StackMap stack:
aload 5
24: new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 8
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
25: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: iload 4
ifeq 32
aload 5
invokeinterface java.util.List.size:()I
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictNumTransforms:(I)Z
ifeq 32
27: 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;
28: ldc " transforms per Reference are allowed when"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: ldc " secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 31: new javax.xml.crypto.MarshalException
dup
aload 10
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 10 32: StackMap locals:
StackMap stack:
aload 8
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 8
end local 9 33: StackMap locals:
StackMap stack:
aload 8
ifnonnull 18
end local 8 end local 7 34: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.isEmpty:()Z
ifeq 37
35: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
aload 5
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
38: StackMap locals:
StackMap stack:
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 39 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 39 1 rmElem Lorg/w3c/dom/Element;
0 39 2 context Ljavax/xml/crypto/XMLCryptoContext;
0 39 3 provider Ljava/security/Provider;
5 39 4 secVal Z
6 39 5 transforms Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
7 39 6 transformsElem Lorg/w3c/dom/Element;
9 34 7 localName Ljava/lang/String;
15 34 8 transformElem Lorg/w3c/dom/Element;
19 33 9 name Ljava/lang/String;
31 32 10 error Ljava/lang/String;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
rmElem
context
provider
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.DOMRetrievalMethod.uri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
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.DOMRetrievalMethod.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
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.DOMRetrievalMethod.transforms:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
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=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 4
start local 4 1: aload 4
ldc "RetrievalMethod"
2: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 2
3: 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 4: aload 5
ldc "URI"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.uri:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttribute:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
5: aload 5
ldc "Type"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttribute:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
6: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 19
7: aload 4
8: ldc "Transforms"
9: ldc "http://www.w3.org/2000/09/xmldsig#"
10: aload 2
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 6
start local 6 12: aload 5
aload 6
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
13: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 18
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Document org.w3c.dom.Element org.w3c.dom.Element top java.util.Iterator
StackMap stack:
14: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.dsig.Transform
astore 7
start local 7 15: aload 7
checkcast org.jcp.xml.dsig.internal.dom.DOMTransform
aload 6
16: aload 2
aload 3
17: invokevirtual org.jcp.xml.dsig.internal.dom.DOMTransform.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
end local 7 18: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 6 19: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Document org.w3c.dom.Element
StackMap stack:
aload 1
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
20: aload 0
aload 5
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.DOMRetrievalMethod.here:Lorg/w3c/dom/Attr;
21: 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 22 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 22 1 parent Lorg/w3c/dom/Node;
0 22 2 dsPrefix Ljava/lang/String;
0 22 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
1 22 4 ownerDoc Lorg/w3c/dom/Document;
4 22 5 rmElem Lorg/w3c/dom/Element;
12 19 6 transformsElem Lorg/w3c/dom/Element;
15 18 7 transform Ljavax/xml/crypto/dsig/Transform;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
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.DOMRetrievalMethod.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/DOMRetrievalMethod;
public javax.xml.crypto.Data dereference(javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "context cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.crypto.XMLCryptoContext.getURIDereferencer:()Ljavax/xml/crypto/URIDereferencer;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: getstatic org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.INSTANCE:Ljavax/xml/crypto/URIDereferencer;
astore 2
5: StackMap locals: javax.xml.crypto.URIDereferencer
StackMap stack:
aload 2
aload 0
aload 1
invokeinterface javax.xml.crypto.URIDereferencer.dereference:(Ljavax/xml/crypto/URIReference;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 3
start local 3 6: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext javax.xml.crypto.URIDereferencer javax.xml.crypto.Data top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.dsig.Transform
astore 4
start local 4 8: aload 4
checkcast org.jcp.xml.dsig.internal.dom.DOMTransform
aload 3
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMTransform.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
astore 3
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: goto 13
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext javax.xml.crypto.URIDereferencer javax.xml.crypto.Data
StackMap stack: java.lang.Exception
11: astore 4
start local 4 12: new javax.xml.crypto.URIReferenceException
dup
aload 4
invokespecial javax.xml.crypto.URIReferenceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
aload 3
instanceof javax.xml.crypto.NodeSetData
ifeq 23
aload 1
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
ifeq 23
14: invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictRetrievalMethodLoops:()Z
ifeq 23
15: aload 3
checkcast javax.xml.crypto.NodeSetData
astore 4
start local 4 16: aload 4
invokeinterface javax.xml.crypto.NodeSetData.iterator:()Ljava/util/Iterator;
astore 5
start local 5 17: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 23
18: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 6
start local 6 19: ldc "RetrievalMethod"
aload 6
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
20: new javax.xml.crypto.URIReferenceException
dup
21: ldc "It is forbidden to have one RetrievalMethod point to another when secure validation is enabled"
22: invokespecial javax.xml.crypto.URIReferenceException.<init>:(Ljava/lang/String;)V
athrow
end local 6 end local 5 end local 4 23: StackMap locals:
StackMap stack:
aload 3
areturn
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/DOMRetrievalMethod;
0 24 1 context Ljavax/xml/crypto/XMLCryptoContext;
3 24 2 deref Ljavax/xml/crypto/URIDereferencer;
6 24 3 data Ljavax/xml/crypto/Data;
8 9 4 transform Ljavax/xml/crypto/dsig/Transform;
12 13 4 e Ljava/lang/Exception;
16 23 4 nsd Ljavax/xml/crypto/NodeSetData<*>;
17 23 5 i Ljava/util/Iterator<*>;
19 23 6 root Lorg/w3c/dom/Node;
Exception table:
from to target type
6 10 11 Class java.lang.Exception
Exceptions:
throws javax.xml.crypto.URIReferenceException
MethodParameters:
Name Flags
context
public javax.xml.crypto.XMLStructure dereferenceAsXMLStructure(javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/XMLStructure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.dereference:(Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
checkcast org.jcp.xml.dsig.internal.dom.ApacheData
astore 2
start local 2 1: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 3
start local 3 2: aload 3
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
3: aload 3
ldc "http://javax.xml.XMLConstants/feature/secure-processing"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
4: aload 3
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 5: aload 4
new java.io.ByteArrayInputStream
dup
6: aload 2
invokeinterface org.jcp.xml.dsig.internal.dom.ApacheData.getXMLSignatureInput:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getBytes:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
7: invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Ljava/io/InputStream;)Lorg/w3c/dom/Document;
astore 5
start local 5 8: aload 5
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 6
start local 6 9: aload 6
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "X509Data"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: new org.jcp.xml.dsig.internal.dom.DOMX509Data
dup
aload 6
invokespecial org.jcp.xml.dsig.internal.dom.DOMX509Data.<init>:(Lorg/w3c/dom/Element;)V
11: areturn
12: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext org.jcp.xml.dsig.internal.dom.ApacheData javax.xml.parsers.DocumentBuilderFactory javax.xml.parsers.DocumentBuilder org.w3c.dom.Document org.w3c.dom.Element
StackMap stack:
aconst_null
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 13: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext
StackMap stack: java.lang.Exception
astore 2
start local 2 14: new javax.xml.crypto.URIReferenceException
dup
aload 2
invokespecial javax.xml.crypto.URIReferenceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 15 1 context Ljavax/xml/crypto/XMLCryptoContext;
1 13 2 data Lorg/jcp/xml/dsig/internal/dom/ApacheData;
2 13 3 dbf Ljavax/xml/parsers/DocumentBuilderFactory;
5 13 4 db Ljavax/xml/parsers/DocumentBuilder;
8 13 5 doc Lorg/w3c/dom/Document;
9 13 6 kiElem Lorg/w3c/dom/Element;
14 15 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 11 13 Class java.lang.Exception
Exceptions:
throws javax.xml.crypto.URIReferenceException
MethodParameters:
Name Flags
context
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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.keyinfo.RetrievalMethod
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.keyinfo.RetrievalMethod
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
ifnonnull 7
aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.RetrievalMethod.getType:()Ljava/lang/String;
ifnonnull 6
iconst_1
goto 8
StackMap locals: javax.xml.crypto.dsig.keyinfo.RetrievalMethod
StackMap stack:
6: iconst_0
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.RetrievalMethod.getType:()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.DOMRetrievalMethod.uri:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.RetrievalMethod.getURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.RetrievalMethod.getTransforms:()Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 12
iload 3
ifeq 12
11: iconst_1
ireturn
StackMap locals: int
StackMap stack:
12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 13 1 obj Ljava/lang/Object;
5 13 2 orm Ljavax/xml/crypto/dsig/keyinfo/RetrievalMethod;
9 13 3 typesEqual Z
MethodParameters:
Name Flags
obj
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.DOMRetrievalMethod.type:Ljava/lang/String;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.uri:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
1 6 1 result I
}
SourceFile: "DOMRetrievalMethod.java"