public final class org.jcp.xml.dsig.internal.dom.DOMSignedInfo extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.SignedInfo
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMSignedInfo
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
private static final com.sun.org.slf4j.internal.Logger LOG;
descriptor: Lcom/sun/org/slf4j/internal/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.List<javax.xml.crypto.dsig.Reference> references;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/xml/crypto/dsig/Reference;>;
private javax.xml.crypto.dsig.CanonicalizationMethod canonicalizationMethod;
descriptor: Ljavax/xml/crypto/dsig/CanonicalizationMethod;
flags: (0x0002) ACC_PRIVATE
private javax.xml.crypto.dsig.SignatureMethod signatureMethod;
descriptor: Ljavax/xml/crypto/dsig/SignatureMethod;
flags: (0x0002) ACC_PRIVATE
private java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Document ownerDoc;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Element localSiElem;
descriptor: Lorg/w3c/dom/Element;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream canonData;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
invokestatic com.sun.org.slf4j.internal.LoggerFactory.getLogger:(Ljava/lang/Class;)Lcom/sun/org/slf4j/internal/Logger;
1: putstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.xml.crypto.dsig.CanonicalizationMethod, javax.xml.crypto.dsig.SignatureMethod, java.util.List<? extends javax.xml.crypto.dsig.Reference>);
descriptor: (Ljavax/xml/crypto/dsig/CanonicalizationMethod;Ljavax/xml/crypto/dsig/SignatureMethod;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, 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
ifnull 2
aload 2
ifnull 2
aload 3
ifnonnull 3
2: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo javax.xml.crypto.dsig.CanonicalizationMethod javax.xml.crypto.dsig.SignatureMethod java.util.List
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
4: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
5: aload 0
6: new java.util.ArrayList
dup
aload 3
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.DOMSignedInfo.references:Ljava/util/List;
8: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
9: new java.lang.IllegalArgumentException
dup
ldc "list of references must contain at least one entry"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 11: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 5
start local 5 12: goto 17
13: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 6
start local 6 14: aload 6
instanceof javax.xml.crypto.dsig.Reference
ifne 16
15: new java.lang.ClassCastException
dup
ldc "list of references contains an illegal type"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
end local 6 16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 5
if_icmplt 13
end local 5 end local 4 18: return
end local 3 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/DOMSignedInfo;
0 19 1 cm Ljavax/xml/crypto/dsig/CanonicalizationMethod;
0 19 2 sm Ljavax/xml/crypto/dsig/SignatureMethod;
0 19 3 references Ljava/util/List<+Ljavax/xml/crypto/dsig/Reference;>;
11 18 4 i I
12 18 5 size I
14 16 6 obj Ljava/lang/Object;
Signature: (Ljavax/xml/crypto/dsig/CanonicalizationMethod;Ljavax/xml/crypto/dsig/SignatureMethod;Ljava/util/List<+Ljavax/xml/crypto/dsig/Reference;>;)V
MethodParameters:
Name Flags
cm
sm
references
public void <init>(javax.xml.crypto.dsig.CanonicalizationMethod, javax.xml.crypto.dsig.SignatureMethod, java.util.List<? extends javax.xml.crypto.dsig.Reference>, java.lang.String);
descriptor: (Ljavax/xml/crypto/dsig/CanonicalizationMethod;Ljavax/xml/crypto/dsig/SignatureMethod;Ljava/util/List;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMSignedInfo.<init>:(Ljavax/xml/crypto/dsig/CanonicalizationMethod;Ljavax/xml/crypto/dsig/SignatureMethod;Ljava/util/List;)V
1: aload 0
aload 4
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.id:Ljava/lang/String;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 3 1 cm Ljavax/xml/crypto/dsig/CanonicalizationMethod;
0 3 2 sm Ljavax/xml/crypto/dsig/SignatureMethod;
0 3 3 references Ljava/util/List<+Ljavax/xml/crypto/dsig/Reference;>;
0 3 4 id Ljava/lang/String;
Signature: (Ljavax/xml/crypto/dsig/CanonicalizationMethod;Ljavax/xml/crypto/dsig/SignatureMethod;Ljava/util/List<+Ljavax/xml/crypto/dsig/Reference;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
cm
sm
references
id
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=13, 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
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.localSiElem:Lorg/w3c/dom/Element;
2: aload 0
aload 1
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.ownerDoc:Lorg/w3c/dom/Document;
3: aload 0
aload 1
ldc "Id"
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.DOMSignedInfo.id:Ljava/lang/String;
4: aload 1
5: ldc "CanonicalizationMethod"
6: ldc "http://www.w3.org/2000/09/xmldsig#"
7: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 4
start local 4 8: aload 0
new org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
dup
aload 4
aload 2
9: aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
10: putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
11: aload 4
12: ldc "SignatureMethod"
13: ldc "http://www.w3.org/2000/09/xmldsig#"
14: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 15: aload 0
aload 5
invokestatic org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.unmarshal:(Lorg/w3c/dom/Element;)Ljavax/xml/crypto/dsig/SignatureMethod;
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
16: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 6
start local 6 17: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
invokeinterface javax.xml.crypto.dsig.SignatureMethod.getAlgorithm:()Ljava/lang/String;
astore 7
start local 7 18: iload 6
ifeq 24
aload 7
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictAlg:(Ljava/lang/String;)Z
ifeq 24
19: new javax.xml.crypto.MarshalException
dup
20: new java.lang.StringBuilder
dup
ldc "It is forbidden to use algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc " when secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo org.w3c.dom.Element javax.xml.crypto.XMLCryptoContext java.security.Provider org.w3c.dom.Element org.w3c.dom.Element int java.lang.String
StackMap stack:
new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 25: aload 5
ldc "Reference"
ldc "http://www.w3.org/2000/09/xmldsig#"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 9
start local 9 26: aload 8
new org.jcp.xml.dsig.internal.dom.DOMReference
dup
aload 9
aload 2
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
27: aload 9
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 9
28: goto 43
29: StackMap locals: java.util.ArrayList org.w3c.dom.Element
StackMap stack:
aload 9
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 10
start local 10 30: aload 9
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 11
start local 11 31: ldc "Reference"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
32: 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
33: aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", expected Reference"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals:
StackMap stack:
aload 8
new org.jcp.xml.dsig.internal.dom.DOMReference
dup
aload 9
aload 2
aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMReference.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
36: iload 6
ifeq 42
aload 8
invokevirtual java.util.ArrayList.size:()I
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictNumReferences:(I)Z
ifeq 42
37: new java.lang.StringBuilder
dup
ldc "A maxiumum of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic org.jcp.xml.dsig.internal.dom.Policy.maxReferences:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
38: ldc " references per Manifest are allowed when"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
39: ldc " secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
40: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 41: new javax.xml.crypto.MarshalException
dup
aload 12
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 12 42: 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 11 end local 10 43: StackMap locals:
StackMap stack:
aload 9
ifnonnull 29
44: aload 0
aload 8
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
45: return
end local 9 end local 8 end local 7 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 46 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 46 1 siElem Lorg/w3c/dom/Element;
0 46 2 context Ljavax/xml/crypto/XMLCryptoContext;
0 46 3 provider Ljava/security/Provider;
8 46 4 cmElem Lorg/w3c/dom/Element;
15 46 5 smElem Lorg/w3c/dom/Element;
17 46 6 secVal Z
18 46 7 signatureMethodAlgorithm Ljava/lang/String;
25 46 8 refList Ljava/util/ArrayList<Ljavax/xml/crypto/dsig/Reference;>;
26 46 9 refElem Lorg/w3c/dom/Element;
30 43 10 name Ljava/lang/String;
31 43 11 namespace Ljava/lang/String;
41 42 12 error Ljava/lang/String;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
siElem
context
provider
public javax.xml.crypto.dsig.CanonicalizationMethod getCanonicalizationMethod();
descriptor: ()Ljavax/xml/crypto/dsig/CanonicalizationMethod;
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.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
public javax.xml.crypto.dsig.SignatureMethod getSignatureMethod();
descriptor: ()Ljavax/xml/crypto/dsig/SignatureMethod;
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.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
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.DOMSignedInfo.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
public java.util.List<javax.xml.crypto.dsig.Reference> getReferences();
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.DOMSignedInfo.references:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/dsig/Reference;>;
public java.io.InputStream getCanonicalizedData();
descriptor: ()Ljava/io/InputStream;
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.DOMSignedInfo.canonData:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
public void canonicalize(javax.xml.crypto.XMLCryptoContext, java.io.ByteArrayOutputStream);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/ByteArrayOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 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:
new org.jcp.xml.dsig.internal.dom.DOMSubTreeData
dup
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.localSiElem:Lorg/w3c/dom/Element;
iconst_1
invokespecial org.jcp.xml.dsig.internal.dom.DOMSubTreeData.<init>:(Lorg/w3c/dom/Node;Z)V
astore 3
start local 3 3: aconst_null
astore 4
aconst_null
astore 5
4: new com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
6: checkcast org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
7: aload 3
aload 1
aload 6
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.canonicalize:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
pop
8: aload 6
invokevirtual java.io.OutputStream.flush:()V
9: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 7
start local 7 10: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
invokevirtual com.sun.org.slf4j.internal.Logger.isDebugEnabled:()Z
ifeq 20
11: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Canonicalized SignedInfo:"
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
12: new java.lang.StringBuilder
dup
aload 7
arraylength
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 8
start local 8 13: iconst_0
istore 9
start local 9 14: goto 17
15: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo javax.xml.crypto.XMLCryptoContext java.io.ByteArrayOutputStream org.jcp.xml.dsig.internal.dom.DOMSubTreeData java.lang.Throwable java.lang.Throwable java.io.OutputStream byte[] java.lang.StringBuilder int
StackMap stack:
aload 8
aload 7
iload 9
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: iinc 9 1
StackMap locals:
StackMap stack:
17: iload 9
aload 7
arraylength
if_icmplt 15
end local 9 18: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
19: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
new java.lang.StringBuilder
dup
ldc "Data to be signed/verified:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
end local 8 20: StackMap locals:
StackMap stack:
aload 0
new java.io.ByteArrayInputStream
dup
aload 7
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonData:Ljava/io/InputStream;
end local 7 21: aload 6
ifnull 31
aload 6
invokevirtual java.io.OutputStream.close:()V
goto 31
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo javax.xml.crypto.XMLCryptoContext java.io.ByteArrayOutputStream org.jcp.xml.dsig.internal.dom.DOMSubTreeData java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: java.lang.Throwable
22: astore 4
aload 6
ifnull 23
aload 6
invokevirtual java.io.OutputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
23: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 5
aload 4
ifnonnull 25
aload 5
astore 4
goto 26
StackMap locals:
StackMap stack:
25: aload 4
aload 5
if_acmpeq 26
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 4
athrow
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo javax.xml.crypto.XMLCryptoContext java.io.ByteArrayOutputStream org.jcp.xml.dsig.internal.dom.DOMSubTreeData
StackMap stack: javax.xml.crypto.dsig.TransformException
27: astore 4
start local 4 28: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 4
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 29: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 30: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.LOG:Lcom/sun/org/slf4j/internal/Logger;
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 4
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 32 1 context Ljavax/xml/crypto/XMLCryptoContext;
0 32 2 bos Ljava/io/ByteArrayOutputStream;
3 32 3 subTree Lorg/jcp/xml/dsig/internal/dom/DOMSubTreeData;
5 23 6 os Ljava/io/OutputStream;
10 21 7 signedInfoBytes [B
13 20 8 sb Ljava/lang/StringBuilder;
14 18 9 i I
28 29 4 te Ljavax/xml/crypto/dsig/TransformException;
30 31 4 e Ljava/io/IOException;
Exception table:
from to target type
5 21 22 any
4 24 24 any
3 27 27 Class javax.xml.crypto.dsig.TransformException
3 27 29 Class java.io.IOException
Exceptions:
throws javax.xml.crypto.dsig.XMLSignatureException
MethodParameters:
Name Flags
context
bos
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 0
aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.ownerDoc:Lorg/w3c/dom/Document;
1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.ownerDoc:Lorg/w3c/dom/Document;
ldc "SignedInfo"
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 4
start local 4 4: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
checkcast org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
5: astore 5
start local 5 6: aload 5
aload 4
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
7: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
checkcast org.jcp.xml.dsig.internal.dom.DOMStructure
aload 4
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMStructure.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
8: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Element org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.dsig.Reference
astore 6
start local 6 10: aload 6
checkcast org.jcp.xml.dsig.internal.dom.DOMReference
aload 4
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMReference.marshal:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
end local 6 11: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 4
ldc "Id"
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.id:Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.setAttributeID:(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)V
13: aload 1
aload 4
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
14: aload 0
aload 4
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.localSiElem:Lorg/w3c/dom/Element;
15: 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 16 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 16 1 parent Lorg/w3c/dom/Node;
0 16 2 dsPrefix Ljava/lang/String;
0 16 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
4 16 4 siElem Lorg/w3c/dom/Element;
6 16 5 dcm Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
10 11 6 reference Ljavax/xml/crypto/dsig/Reference;
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.SignedInfo
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.SignedInfo
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.id:Ljava/lang/String;
ifnonnull 7
aload 2
invokeinterface javax.xml.crypto.dsig.SignedInfo.getId:()Ljava/lang/String;
ifnonnull 6
iconst_1
goto 8
StackMap locals: javax.xml.crypto.dsig.SignedInfo
StackMap stack:
6: iconst_0
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.id:Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.SignedInfo.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.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
aload 2
invokeinterface javax.xml.crypto.dsig.SignedInfo.getCanonicalizationMethod:()Ljavax/xml/crypto/dsig/CanonicalizationMethod;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
10: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
aload 2
invokeinterface javax.xml.crypto.dsig.SignedInfo.getSignatureMethod:()Ljavax/xml/crypto/dsig/SignatureMethod;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
aload 2
invokeinterface javax.xml.crypto.dsig.SignedInfo.getReferences:()Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 13
iload 3
ifeq 13
12: iconst_1
ireturn
StackMap locals: int
StackMap stack:
13: iconst_0
ireturn
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/DOMSignedInfo;
0 14 1 o Ljava/lang/Object;
5 14 2 osi Ljavax/xml/crypto/dsig/SignedInfo;
9 14 3 idEqual Z
MethodParameters:
Name Flags
o
public static java.util.List<javax.xml.crypto.dsig.Reference> getSignedInfoReferences(javax.xml.crypto.dsig.SignedInfo);
descriptor: (Ljavax/xml/crypto/dsig/SignedInfo;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface javax.xml.crypto.dsig.SignedInfo.getReferences:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 si Ljavax/xml/crypto/dsig/SignedInfo;
Signature: (Ljavax/xml/crypto/dsig/SignedInfo;)Ljava/util/List<Ljavax/xml/crypto/dsig/Reference;>;
MethodParameters:
Name Flags
si
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.DOMSignedInfo.id:Ljava/lang/String;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.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.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.signatureMethod:Ljavax/xml/crypto/dsig/SignatureMethod;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
5: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.references:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
1 7 1 result I
}
SourceFile: "DOMSignedInfo.java"