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=5, 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:
aload 3
ifnull 4
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
4: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
5: goto 18
6: StackMap locals:
StackMap stack:
aload 0
7: new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
8: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
9: iconst_0
istore 4
start local 4 10: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 5
start local 5 11: goto 17
12: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.transforms:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
instanceof javax.xml.crypto.dsig.Transform
ifne 16
13: new java.lang.ClassCastException
dup
14: new java.lang.StringBuilder
dup
ldc "transforms["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] is not a valid type"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 5
if_icmplt 12
end local 5 end local 4 18: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.uri:Ljava/lang/String;
19: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
20: new java.net.URI
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
21: goto 24
StackMap locals:
StackMap stack: java.net.URISyntaxException
22: astore 4
start local 4 23: new java.lang.IllegalArgumentException
dup
aload 4
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 24: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod.type:Ljava/lang/String;
25: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 26 1 uri Ljava/lang/String;
0 26 2 type Ljava/lang/String;
0 26 3 transforms Ljava/util/List<+Ljavax/xml/crypto/dsig/Transform;>;
10 18 4 i I
11 18 5 size I
23 24 4 e Ljava/net/URISyntaxException;
Exception table:
from to target type
20 21 22 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=12, 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 6
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 8
start local 8 10: ldc "Transforms"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
11: 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 java.lang.String
StackMap stack:
new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
13: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 6
ldc "Transform"
ldc "http://www.w3.org/2000/09/xmldsig#"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
15: astore 9
start local 9 16: goto 33
17: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 9
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 10
start local 10 18: aload 9
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 8
19: ldc "Transform"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
20: StackMap locals: java.lang.String
StackMap stack:
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 10
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:
StackMap stack:
aload 5
24: new org.jcp.xml.dsig.internal.dom.DOMTransform
dup
aload 9
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 11
start local 11 31: new javax.xml.crypto.MarshalException
dup
aload 11
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 11 32: StackMap locals:
StackMap stack:
aload 9
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 9
end local 10 33: StackMap locals:
StackMap stack:
aload 9
ifnonnull 17
end local 9 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 newTransforms Ljava/util/List<Ljavax/xml/crypto/dsig/Transform;>;
7 39 6 transformsElem Lorg/w3c/dom/Element;
9 34 7 localName Ljava/lang/String;
10 34 8 namespace Ljava/lang/String;
16 34 9 transformElem Lorg/w3c/dom/Element;
18 33 10 name Ljava/lang/String;
31 32 11 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=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 2
start local 2 1: 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 3
start local 3 2: aconst_null
astore 4
aconst_null
astore 5
3: new java.io.ByteArrayInputStream
dup
aload 3
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
astore 6
start local 6 4: aload 6
iload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.read:(Ljava/io/InputStream;Z)Lorg/w3c/dom/Document;
astore 7
start local 7 5: aload 7
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 8
start local 8 6: aload 8
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "X509Data"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
7: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 8
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: new org.jcp.xml.dsig.internal.dom.DOMX509Data
dup
aload 8
invokespecial org.jcp.xml.dsig.internal.dom.DOMX509Data.<init>:(Lorg/w3c/dom/Element;)V
9: aload 6
ifnull 10
aload 6
invokevirtual java.io.InputStream.close:()V
10: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext int org.jcp.xml.dsig.internal.dom.ApacheData java.lang.Throwable java.lang.Throwable java.io.InputStream org.w3c.dom.Document org.w3c.dom.Element
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMX509Data
areturn
11: StackMap locals:
StackMap stack:
aload 6
ifnull 12
aload 6
invokevirtual java.io.InputStream.close:()V
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 8 end local 7 StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext int org.jcp.xml.dsig.internal.dom.ApacheData java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
13: astore 4
14: aload 6
ifnull 15
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
15: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 5
aload 4
ifnonnull 17
aload 5
astore 4
goto 18
StackMap locals:
StackMap stack:
17: aload 4
aload 5
if_acmpeq 18
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 4
athrow
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMRetrievalMethod javax.xml.crypto.XMLCryptoContext int org.jcp.xml.dsig.internal.dom.ApacheData
StackMap stack: java.lang.Exception
19: astore 4
start local 4 20: new javax.xml.crypto.URIReferenceException
dup
aload 4
invokespecial javax.xml.crypto.URIReferenceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jcp/xml/dsig/internal/dom/DOMRetrievalMethod;
0 21 1 context Ljavax/xml/crypto/XMLCryptoContext;
1 21 2 secVal Z
2 21 3 data Lorg/jcp/xml/dsig/internal/dom/ApacheData;
4 15 6 is Ljava/io/InputStream;
5 13 7 doc Lorg/w3c/dom/Document;
6 13 8 kiElem Lorg/w3c/dom/Element;
20 21 4 e Ljava/lang/Exception;
Exception table:
from to target type
4 9 13 any
3 10 16 any
11 12 16 any
13 16 16 any
2 10 19 Class java.lang.Exception
11 12 19 Class java.lang.Exception
13 19 19 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"