public final class org.jcp.xml.dsig.internal.dom.DOMSignatureProperty extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.SignatureProperty
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMSignatureProperty
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
private final java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String target;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<javax.xml.crypto.XMLStructure> content;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
public void <init>(java.util.List<? extends javax.xml.crypto.XMLStructure>, java.lang.String, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "target cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperty java.util.List java.lang.String java.lang.String
StackMap stack:
aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "content cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
6: ldc Ljavax/xml/crypto/XMLStructure;
7: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
8: astore 4
start local 4 9: aload 4
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 12
11: new java.lang.IllegalArgumentException
dup
ldc "content cannot be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: 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.DOMSignatureProperty.content:Ljava/util/List;
13: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.target:Ljava/lang/String;
14: aload 0
aload 3
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
0 16 1 content Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;
0 16 2 target Ljava/lang/String;
0 16 3 id Ljava/lang/String;
9 16 4 tempList Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
Signature: (Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
content
target
id
public void <init>(org.w3c.dom.Element, javax.xml.crypto.XMLCryptoContext);
descriptor: (Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 0
aload 1
ldc "Target"
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.DOMSignatureProperty.target:Ljava/lang/String;
2: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.target:Ljava/lang/String;
ifnonnull 4
3: new javax.xml.crypto.MarshalException
dup
ldc "target cannot be null"
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperty org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext
StackMap stack:
aload 1
aconst_null
ldc "Id"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 0
aload 3
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
7: aload 1
aload 3
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNode:(Lorg/w3c/dom/Attr;Z)V
8: goto 10
9: StackMap locals: org.w3c.dom.Attr
StackMap stack:
aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 4
start local 4 11: aload 4
invokeinterface org.w3c.dom.NodeList.getLength:()I
istore 5
start local 5 12: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 13: iconst_0
istore 7
start local 7 14: goto 17
15: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperty org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext org.w3c.dom.Attr org.w3c.dom.NodeList int java.util.List int
StackMap stack:
aload 6
new javax.xml.crypto.dom.DOMStructure
dup
aload 4
iload 7
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
invokespecial javax.xml.crypto.dom.DOMStructure.<init>:(Lorg/w3c/dom/Node;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 5
if_icmplt 15
end local 7 18: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 20
19: new javax.xml.crypto.MarshalException
dup
ldc "content cannot be empty"
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
aload 6
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.content:Ljava/util/List;
21: 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 22 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
0 22 1 propElem Lorg/w3c/dom/Element;
0 22 2 context Ljavax/xml/crypto/XMLCryptoContext;
5 22 3 attr Lorg/w3c/dom/Attr;
11 22 4 nodes Lorg/w3c/dom/NodeList;
12 22 5 length I
13 22 6 content Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
14 18 7 i I
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
propElem
context
public java.util.List<javax.xml.crypto.XMLStructure> getContent();
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.DOMSignatureProperty.content:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
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.DOMSignatureProperty.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
public java.lang.String getTarget();
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.DOMSignatureProperty.target:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
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=8, 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 "SignatureProperty"
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 "Id"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttributeID:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
5: aload 5
ldc "Target"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.target: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.DOMSignatureProperty.content:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperty 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:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.XMLStructure
astore 6
start local 6 8: aload 5
9: aload 6
checkcast javax.xml.crypto.dom.DOMStructure
invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
10: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.appendChild:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V
end local 6 11: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: aload 1
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
0 14 1 parent Lorg/w3c/dom/Node;
0 14 2 dsPrefix Ljava/lang/String;
0 14 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
1 14 4 ownerDoc Lorg/w3c/dom/Document;
4 14 5 propElem Lorg/w3c/dom/Element;
8 11 6 property Ljavax/xml/crypto/XMLStructure;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
context
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, 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.SignatureProperty
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.SignatureProperty
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
ifnonnull 7
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperty.getId:()Ljava/lang/String;
ifnonnull 6
iconst_1
goto 8
StackMap locals: javax.xml.crypto.dsig.SignatureProperty
StackMap stack:
6: iconst_0
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperty.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 2
invokeinterface javax.xml.crypto.dsig.SignatureProperty.getContent:()Ljava/util/List;
astore 4
start local 4 10: aload 0
aload 4
invokevirtual org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.equalsContent:(Ljava/util/List;)Z
ifeq 13
11: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.target:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperty.getTarget:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
iload 3
ifeq 13
12: iconst_1
ireturn
StackMap locals: int java.util.List
StackMap stack:
13: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
0 14 1 o Ljava/lang/Object;
5 14 2 osp Ljavax/xml/crypto/dsig/SignatureProperty;
9 14 3 idsEqual Z
10 14 4 ospContent Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
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.DOMSignatureProperty.id:Ljava/lang/String;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.id: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.DOMSignatureProperty.target: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.DOMSignatureProperty.content: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/DOMSignatureProperty;
1 6 1 result I
private boolean equalsContent(java.util.List<javax.xml.crypto.XMLStructure>);
descriptor: (Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.content:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 2
if_icmpeq 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 17
5: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.xml.crypto.XMLStructure
astore 4
start local 4 6: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.content:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.xml.crypto.XMLStructure
astore 5
start local 5 7: aload 4
instanceof javax.xml.crypto.dom.DOMStructure
ifeq 14
8: aload 5
instanceof javax.xml.crypto.dom.DOMStructure
ifne 10
9: iconst_0
ireturn
10: StackMap locals: javax.xml.crypto.XMLStructure javax.xml.crypto.XMLStructure
StackMap stack:
aload 4
checkcast javax.xml.crypto.dom.DOMStructure
invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
astore 6
start local 6 11: aload 5
checkcast javax.xml.crypto.dom.DOMStructure
invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
astore 7
start local 7 12: aload 7
aload 6
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.nodesEqual:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifne 16
13: iconst_0
ireturn
end local 7 end local 6 14: StackMap locals:
StackMap stack:
aload 5
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 16
15: iconst_0
ireturn
end local 5 end local 4 16: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
iload 2
if_icmplt 5
end local 3 18: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperty;
0 19 1 otherContent Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
1 19 2 osize I
4 18 3 i I
6 16 4 oxs Ljavax/xml/crypto/XMLStructure;
7 16 5 xs Ljavax/xml/crypto/XMLStructure;
11 14 6 onode Lorg/w3c/dom/Node;
12 14 7 node Lorg/w3c/dom/Node;
Signature: (Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;)Z
MethodParameters:
Name Flags
otherContent
}
SourceFile: "DOMSignatureProperty.java"