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 java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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 "org.jcp.xml.dsig.internal.dom"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/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=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 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: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
6: ldc Ljavax/xml/crypto/dsig/Reference;
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 3
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 "references 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.DOMSignedInfo.references:Ljava/util/List;
13: return
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/DOMSignedInfo;
0 14 1 cm Ljavax/xml/crypto/dsig/CanonicalizationMethod;
0 14 2 sm Ljavax/xml/crypto/dsig/SignatureMethod;
0 14 3 references Ljava/util/List<+Ljavax/xml/crypto/dsig/Reference;>;
9 14 4 tempList Ljava/util/List<Ljavax/xml/crypto/dsig/Reference;>;
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=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
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: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 4
start local 4 7: aload 0
new org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
dup
aload 4
aload 2
8: aload 3
invokespecial org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.<init>:(Lorg/w3c/dom/Element;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
9: putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
10: aload 4
11: ldc "SignatureMethod"
12: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 13: 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;
14: aload 2
invokestatic org.jcp.xml.dsig.internal.dom.Utils.secureValidation:(Ljavax/xml/crypto/XMLCryptoContext;)Z
istore 6
start local 6 15: 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 16: iload 6
ifeq 22
aload 7
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictAlg:(Ljava/lang/String;)Z
ifeq 22
17: new javax.xml.crypto.MarshalException
dup
18: 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;
19: ldc " when secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
22: 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 23: aload 5
ldc "Reference"
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 9
start local 9 24: 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
25: aload 9
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getNextSiblingElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 9
26: goto 40
27: 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 28: aload 10
ldc "Reference"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
29: new javax.xml.crypto.MarshalException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
30: 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;
31: invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: java.lang.String
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
33: iload 6
ifeq 39
aload 8
invokevirtual java.util.ArrayList.size:()I
invokestatic org.jcp.xml.dsig.internal.dom.Policy.restrictNumReferences:(I)Z
ifeq 39
34: 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.maxReferences:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
35: ldc " references per Manifest are allowed when"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: ldc " secure validation is enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 11
start local 11 38: new javax.xml.crypto.MarshalException
dup
aload 11
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 11 39: 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 40: StackMap locals:
StackMap stack:
aload 9
ifnonnull 27
41: 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;
42: 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 43 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 43 1 siElem Lorg/w3c/dom/Element;
0 43 2 context Ljavax/xml/crypto/XMLCryptoContext;
0 43 3 provider Ljava/security/Provider;
7 43 4 cmElem Lorg/w3c/dom/Element;
13 43 5 smElem Lorg/w3c/dom/Element;
15 43 6 secVal Z
16 43 7 signatureMethodAlgorithm Ljava/lang/String;
23 43 8 refList Ljava/util/ArrayList<Ljavax/xml/crypto/dsig/Reference;>;
24 43 9 refElem Lorg/w3c/dom/Element;
28 40 10 name Ljava/lang/String;
38 39 11 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=5, locals=8, 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 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 3
start local 3 3: 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 4
start local 4 4: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonicalizationMethod:Ljavax/xml/crypto/dsig/CanonicalizationMethod;
5: checkcast org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
6: aload 4
aload 1
aload 3
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
7: goto 10
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMSignedInfo javax.xml.crypto.XMLCryptoContext java.io.ByteArrayOutputStream java.io.OutputStream org.jcp.xml.dsig.internal.dom.DOMSubTreeData
StackMap stack: javax.xml.crypto.dsig.TransformException
8: astore 5
start local 5 9: new javax.xml.crypto.dsig.XMLSignatureException
dup
aload 5
invokespecial javax.xml.crypto.dsig.XMLSignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 10: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.OutputStream.flush:()V
11: goto 15
StackMap locals:
StackMap stack: java.io.IOException
12: astore 5
start local 5 13: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 15
14: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 5
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 5 15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 5
start local 5 16: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 26
17: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Canonicalized SignedInfo:"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
18: new java.lang.StringBuilder
dup
aload 5
arraylength
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
start local 6 19: iconst_0
istore 7
start local 7 20: goto 23
21: StackMap locals: byte[] java.lang.StringBuilder int
StackMap stack:
aload 6
aload 5
iload 7
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
22: iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
aload 5
arraylength
if_icmplt 21
end local 7 24: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
25: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Data to be signed/verified:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 6 26: StackMap locals:
StackMap stack:
aload 0
new java.io.ByteArrayInputStream
dup
aload 5
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
putfield org.jcp.xml.dsig.internal.dom.DOMSignedInfo.canonData:Ljava/io/InputStream;
27: aload 3
invokevirtual java.io.OutputStream.close:()V
28: goto 32
StackMap locals:
StackMap stack: java.io.IOException
29: astore 6
start local 6 30: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 32
31: getstatic org.jcp.xml.dsig.internal.dom.DOMSignedInfo.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 6
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 32: StackMap locals:
StackMap stack:
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 33 0 this Lorg/jcp/xml/dsig/internal/dom/DOMSignedInfo;
0 33 1 context Ljavax/xml/crypto/XMLCryptoContext;
0 33 2 bos Ljava/io/ByteArrayOutputStream;
3 33 3 os Ljava/io/OutputStream;
4 33 4 subTree Lorg/jcp/xml/dsig/internal/dom/DOMSubTreeData;
9 10 5 te Ljavax/xml/crypto/dsig/TransformException;
13 15 5 e Ljava/io/IOException;
16 33 5 signedInfoBytes [B
19 26 6 sb Ljava/lang/StringBuilder;
20 24 7 i I
30 32 6 e Ljava/io/IOException;
Exception table:
from to target type
4 7 8 Class javax.xml.crypto.dsig.TransformException
10 11 12 Class java.io.IOException
27 28 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 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"