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=5, locals=5, 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:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "properties cannot be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
6: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
7: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.properties:Ljava/util/List;
8: iconst_0
istore 3
start local 3 9: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.properties:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 4
start local 4 10: goto 16
11: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.properties:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
instanceof javax.xml.crypto.dsig.SignatureProperty
ifne 15
12: new java.lang.ClassCastException
dup
13: new java.lang.StringBuilder
dup
ldc "properties["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
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;
14: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 11
end local 4 end local 3 17: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMSignatureProperties.id:Ljava/lang/String;
18: return
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/DOMSignatureProperties;
0 19 1 properties Ljava/util/List<+Ljavax/xml/crypto/dsig/SignatureProperty;>;
0 19 2 id Ljava/lang/String;
9 17 3 i I
10 17 4 size I
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);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 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 2
start local 2 2: aload 2
ifnull 6
3: aload 0
aload 2
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 2
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 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:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 8: aload 1
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 9: goto 19
10: StackMap locals: java.util.List org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 18
11: aload 4
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
astore 5
start local 5 12: aload 4
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
astore 6
start local 6 13: ldc "SignatureProperty"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
14: StackMap locals: 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
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc ", expected SignatureProperty"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 3
new org.jcp.xml.dsig.internal.dom.DOMSignatureProperty
dup
aload 4
checkcast org.w3c.dom.Element
invokespecial org.jcp.xml.dsig.internal.dom.DOMSignatureProperty.<init>:(Lorg/w3c/dom/Element;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
19: StackMap locals:
StackMap stack:
aload 4
ifnonnull 10
20: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 22
21: new javax.xml.crypto.MarshalException
dup
ldc "properties cannot be empty"
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
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;
23: return
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/DOMSignatureProperties;
0 24 1 propsElem Lorg/w3c/dom/Element;
2 24 2 attr Lorg/w3c/dom/Attr;
8 24 3 newProperties Ljava/util/List<Ljavax/xml/crypto/dsig/SignatureProperty;>;
9 24 4 firstChild Lorg/w3c/dom/Node;
12 18 5 name Ljava/lang/String;
13 18 6 namespace Ljava/lang/String;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
propsElem
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"