public final class org.jcp.xml.dsig.internal.dom.DOMSignatureProperties extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.SignatureProperties
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMSignatureProperties
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.util.List<javax.xml.crypto.dsig.SignatureProperty> properties;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavax/xml/crypto/dsig/SignatureProperty;>;
public void <init>(java.util.List<? extends javax.xml.crypto.dsig.SignatureProperty>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "properties cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperties java.util.List java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
4: ldc Ljavax/xml/crypto/dsig/SignatureProperty;
5: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
6: astore 3
start local 3 7: aload 3
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
8: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
9: new java.lang.IllegalArgumentException
dup
ldc "properties cannot be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.properties:Ljava/util/List;
11: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
12: return
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/DOMSignatureProperties;
0 13 1 properties Ljava/util/List<+Ljavax/xml/crypto/dsig/SignatureProperty;>;
0 13 2 id Ljava/lang/String;
7 13 3 tempList Ljava/util/List<Ljavax/xml/crypto/dsig/SignatureProperty;>;
Signature: (Ljava/util/List<+Ljavax/xml/crypto/dsig/SignatureProperty;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
properties
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=10, 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 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 2: aload 3
ifnull 6
3: aload 0
aload 3
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
4: aload 1
aload 3
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNode:(Lorg/w3c/dom/Attr;Z)V
5: goto 7
6: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperties org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext org.w3c.dom.Attr
StackMap stack:
aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 4
start local 4 8: aload 4
invokeinterface org.w3c.dom.NodeList.getLength:()I
istore 5
start local 5 9: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
10: astore 6
start local 6 11: iconst_0
istore 7
start local 7 12: goto 24
13: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperties org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext org.w3c.dom.Attr org.w3c.dom.NodeList int java.util.List int
StackMap stack:
aload 4
iload 7
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 8
start local 8 14: aload 8
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 23
15: aload 8
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
astore 9
start local 9 16: aload 9
ldc "SignatureProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
17: new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc ", expected SignatureProperty"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: org.w3c.dom.Node java.lang.String
StackMap stack:
aload 6
new org.jcp.xml.dsig.internal.dom.DOMSignatureProperty
dup
aload 8
checkcast org.w3c.dom.Element
21: aload 2
invokespecial org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;)V
22: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
iload 5
if_icmplt 13
end local 7 25: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 27
26: new javax.xml.crypto.MarshalException
dup
ldc "properties cannot be empty"
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
27: 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.DOMSignatureProperties.properties:Ljava/util/List;
28: 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 29 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
0 29 1 propsElem Lorg/w3c/dom/Element;
0 29 2 context Ljavax/xml/crypto/XMLCryptoContext;
2 29 3 attr Lorg/w3c/dom/Attr;
8 29 4 nodes Lorg/w3c/dom/NodeList;
9 29 5 length I
11 29 6 properties Ljava/util/List<Ljavax/xml/crypto/dsig/SignatureProperty;>;
12 25 7 i I
14 23 8 child Lorg/w3c/dom/Node;
16 23 9 name Ljava/lang/String;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
propsElem
context
public java.util.List<javax.xml.crypto.dsig.SignatureProperty> getProperties();
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.DOMSignatureProperties.properties:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/dsig/SignatureProperty;>;
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.DOMSignatureProperties.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
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
2: ldc "SignatureProperties"
3: ldc "http://www.w3.org/2000/09/xmldsig#"
4: 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;
astore 5
start local 5 6: aload 5
ldc "Id"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.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.DOMSignatureProperties.properties:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignatureProperties 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:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.dsig.SignatureProperty
astore 6
start local 6 9: aload 6
checkcast org.jcp.xml.dsig.internal.dom.DOMSignatureProperty
aload 5
aload 2
10: aload 3
11: invokevirtual org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
end local 6 12: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: aload 1
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
14: 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 15 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
0 15 1 parent Lorg/w3c/dom/Node;
0 15 2 dsPrefix Ljava/lang/String;
0 15 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
1 15 4 ownerDoc Lorg/w3c/dom/Document;
6 15 5 propsElem Lorg/w3c/dom/Element;
9 12 6 property Ljavax/xml/crypto/dsig/SignatureProperty;
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=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.SignatureProperties
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.SignatureProperties
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
ifnonnull 7
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperties.getId:()Ljava/lang/String;
ifnonnull 6
iconst_1
goto 8
StackMap locals: javax.xml.crypto.dsig.SignatureProperties
StackMap stack:
6: iconst_0
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperties.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.DOMSignatureProperties.properties:Ljava/util/List;
aload 2
invokeinterface javax.xml.crypto.dsig.SignatureProperties.getProperties:()Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 10
iload 3
ifeq 10
iconst_1
ireturn
StackMap locals: int
StackMap stack:
10: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
0 11 1 o Ljava/lang/Object;
5 11 2 osp Ljavax/xml/crypto/dsig/SignatureProperties;
9 11 3 idsEqual 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.DOMSignatureProperties.id:Ljava/lang/String;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.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.DOMSignatureProperties.properties:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignatureProperties;
1 5 1 result I
}
SourceFile: "DOMSignatureProperties.java"