public class com.sun.org.apache.xml.internal.security.signature.Reference extends com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.signature.Reference
super_class: com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy
{
public static final java.lang.String OBJECT_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/09/xmldsig#Object"
public static final java.lang.String MANIFEST_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/09/xmldsig#Manifest"
public static final int MAXIMUM_TRANSFORM_COUNT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private boolean secureValidation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static boolean useC14N11;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.org.apache.xml.internal.security.signature.Manifest manifest;
descriptor: Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput transformsOutput;
descriptor: Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.transforms.Transforms transforms;
descriptor: Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Element digestMethodElem;
descriptor: Lorg/w3c/dom/Element;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Element digestValueElement;
descriptor: Lorg/w3c/dom/Element;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.signature.reference.ReferenceData referenceData;
descriptor: Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.org.apache.xml.internal.security.signature.Reference$1
dup
invokespecial com.sun.org.apache.xml.internal.security.signature.Reference$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
1: invokevirtual java.lang.Boolean.booleanValue:()Z
2: putstatic com.sun.org.apache.xml.internal.security.signature.Reference.useC14N11:Z
3: ldc Lcom/sun/org/apache/xml/internal/security/signature/Reference;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
4: putstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
5: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.w3c.dom.Document, java.lang.String, java.lang.String, com.sun.org.apache.xml.internal.security.signature.Manifest, com.sun.org.apache.xml.internal.security.transforms.Transforms, java.lang.String);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Lcom/sun/org/apache/xml/internal/security/signature/Manifest;Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy.<init>:(Lorg/w3c/dom/Document;)V
1: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.addReturnToElement:(Lorg/w3c/dom/Element;)V
2: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.security.signature.Reference.baseURI:Ljava/lang/String;
3: aload 0
aload 4
putfield com.sun.org.apache.xml.internal.security.signature.Reference.manifest:Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
4: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.setURI:(Ljava/lang/String;)V
5: aload 5
ifnull 9
6: aload 0
aload 5
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
7: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
8: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.addReturnToElement:(Lorg/w3c/dom/Element;)V
9: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference org.w3c.dom.Document java.lang.String java.lang.String com.sun.org.apache.xml.internal.security.signature.Manifest com.sun.org.apache.xml.internal.security.transforms.Transforms java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.doc:Lorg/w3c/dom/Document;
aload 6
invokestatic com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.getInstance:(Lorg/w3c/dom/Document;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
10: astore 7
start local 7 11: aload 0
aload 7
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.getElement:()Lorg/w3c/dom/Element;
putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
12: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
13: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.addReturnToElement:(Lorg/w3c/dom/Element;)V
14: aload 0
15: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.doc:Lorg/w3c/dom/Document;
ldc "DigestValue"
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.createElementInSignatureSpace:(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Element;
16: putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
17: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
18: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.addReturnToElement:(Lorg/w3c/dom/Element;)V
19: return
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 20 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 20 1 doc Lorg/w3c/dom/Document;
0 20 2 baseURI Ljava/lang/String;
0 20 3 referenceURI Ljava/lang/String;
0 20 4 manifest Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
0 20 5 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
0 20 6 messageDigestAlgorithm Ljava/lang/String;
11 20 7 mda Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
doc
baseURI
referenceURI
manifest
transforms
messageDigestAlgorithm
protected void <init>(org.w3c.dom.Element, java.lang.String, com.sun.org.apache.xml.internal.security.signature.Manifest);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;Lcom/sun/org/apache/xml/internal/security/signature/Manifest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokespecial com.sun.org.apache.xml.internal.security.signature.Reference.<init>:(Lorg/w3c/dom/Element;Ljava/lang/String;Lcom/sun/org/apache/xml/internal/security/signature/Manifest;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 2 1 element Lorg/w3c/dom/Element;
0 2 2 baseURI Ljava/lang/String;
0 2 3 manifest Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
MethodParameters:
Name Flags
element
baseURI
manifest
protected void <init>(org.w3c.dom.Element, java.lang.String, com.sun.org.apache.xml.internal.security.signature.Manifest, boolean);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;Lcom/sun/org/apache/xml/internal/security/signature/Manifest;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, 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
invokespecial com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy.<init>:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
1: aload 0
iload 4
putfield com.sun.org.apache.xml.internal.security.signature.Reference.secureValidation:Z
2: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.security.signature.Reference.baseURI:Ljava/lang/String;
3: aload 1
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getNextElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 5
start local 5 4: ldc "Transforms"
aload 5
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
5: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 5
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
6: aload 0
new com.sun.org.apache.xml.internal.security.transforms.Transforms
dup
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.baseURI:Ljava/lang/String;
invokespecial com.sun.org.apache.xml.internal.security.transforms.Transforms.<init>:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
7: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.setSecureValidation:(Z)V
8: iload 4
ifeq 11
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getLength:()I
iconst_5
if_icmple 11
9: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getLength:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 6
start local 6 10: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "signature.tooManyTransforms"
aload 6
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 11: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference org.w3c.dom.Element java.lang.String com.sun.org.apache.xml.internal.security.signature.Manifest int org.w3c.dom.Element
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Element.getNextSibling:()Lorg/w3c/dom/Node;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getNextElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 5
12: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
13: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNextSibling:()Lorg/w3c/dom/Node;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getNextElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
14: aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.signature.Reference.manifest:Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
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 Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 16 1 element Lorg/w3c/dom/Element;
0 16 2 baseURI Ljava/lang/String;
0 16 3 manifest Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
0 16 4 secureValidation Z
4 16 5 el Lorg/w3c/dom/Element;
10 11 6 exArgs [Ljava/lang/Object;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
MethodParameters:
Name Flags
element
baseURI
manifest
secureValidation
public com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm getMessageDigestAlgorithm();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
aconst_null
ldc "Algorithm"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.secureValidation:Z
ifeq 8
ldc "http://www.w3.org/2001/04/xmldsig-more#md5"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 2
start local 2 7: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "signature.signatureAlgorithm"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.doc:Lorg/w3c/dom/Document;
aload 1
invokestatic com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.getInstance:(Lorg/w3c/dom/Document;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
3 9 1 uri Ljava/lang/String;
7 8 2 exArgs [Ljava/lang/Object;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
public void setURI(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "URI"
aload 1
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 3 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public java.lang.String getURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "URI"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
public void setId(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
aload 1
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNS:(Ljava/lang/String;Ljava/lang/String;Z)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 4 1 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
public void setType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Type"
aload 1
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 3 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public java.lang.String getType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Type"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
public boolean typeIsReferenceToObject();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "http://www.w3.org/2000/09/xmldsig#Object"
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
public boolean typeIsReferenceToManifest();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "http://www.w3.org/2000/09/xmldsig#Manifest"
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
private void setDigestValueElement(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
start local 2 1: goto 4
2: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
aload 2
invokeinterface org.w3c.dom.Element.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
3: aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
5: aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
astore 3
start local 3 6: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.doc:Lorg/w3c/dom/Document;
aload 3
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
astore 4
start local 4 7: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
aload 4
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 9 1 digestValue [B
1 9 2 n Lorg/w3c/dom/Node;
6 9 3 base64codedValue Ljava/lang/String;
7 9 4 t Lorg/w3c/dom/Text;
MethodParameters:
Name Flags
digestValue
public void generateDigestValue();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.calculateDigest:(Z)[B
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.setDigestValueElement:([B)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException, com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput getContentsBeforeTransformation();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "URI"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
1: astore 1
start local 1 2: aload 1
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.baseURI:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.manifest:Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
invokevirtual com.sun.org.apache.xml.internal.security.signature.Manifest.getPerManifestResolvers:()Ljava/util/List;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.secureValidation:Z
3: invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.getInstance:(Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List;Z)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
4: astore 2
start local 2 5: aload 2
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.manifest:Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
invokevirtual com.sun.org.apache.xml.internal.security.signature.Manifest.getResolverProperties:()Ljava/util/Map;
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.addProperties:(Ljava/util/Map;)V
6: aload 2
aload 1
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.baseURI:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolve:(Lorg/w3c/dom/Attr;Ljava/lang/String;Z)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
7: areturn
end local 2 end local 1 8: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
astore 1
start local 1 9: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
2 8 1 uriAttr Lorg/w3c/dom/Attr;
5 8 2 resolver Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
9 10 1 ex Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverException;
Exception table:
from to target type
0 7 8 Class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
private com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput getContentsAfterTransformation(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput, java.io.OutputStream);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getTransforms:()Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 3
ifnull 6
3: aload 3
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.performTransforms:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 4
4: aload 0
aload 4
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transformsOutput:Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
5: goto 7
6: StackMap locals: com.sun.org.apache.xml.internal.security.transforms.Transforms com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack:
aload 1
astore 4
7: StackMap locals:
StackMap stack:
aload 4
8: areturn
end local 4 end local 3 9: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput java.io.OutputStream
StackMap stack: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
astore 3
start local 3 10: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 11: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 3
start local 3 12: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 13: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 3
start local 3 14: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 15: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.transforms.TransformationException
astore 3
start local 3 16: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 17: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 3
start local 3 18: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 19 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
0 19 2 os Ljava/io/OutputStream;
1 9 3 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
2 9 4 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
10 11 3 ex Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverException;
12 13 3 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
14 15 3 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
16 17 3 ex Lcom/sun/org/apache/xml/internal/security/transforms/TransformationException;
18 19 3 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
Exception table:
from to target type
0 8 9 Class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
0 8 11 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
0 8 13 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 8 15 Class com.sun.org.apache.xml.internal.security.transforms.TransformationException
0 8 17 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
input
os
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput getContentsAfterTransformation();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getContentsBeforeTransformation:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.cacheDereferencedElement:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
2: aload 0
aload 1
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getContentsAfterTransformation:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 3 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput getNodesetBeforeFirstCanonicalization();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getContentsBeforeTransformation:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.cacheDereferencedElement:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
2: aload 1
astore 2
start local 2 3: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getTransforms:()Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
astore 3
start local 3 4: aload 3
ifnull 18
5: iconst_0
istore 4
start local 4 6: goto 16
7: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.transforms.Transforms int
StackMap stack:
aload 3
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.item:(I)Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
astore 5
start local 5 8: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.getURI:()Ljava/lang/String;
astore 6
start local 6 9: aload 6
ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
10: aload 6
ldc "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
11: aload 6
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
12: aload 6
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: goto 17
14: StackMap locals: com.sun.org.apache.xml.internal.security.transforms.Transform java.lang.String
StackMap stack:
aload 5
aload 2
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.performTransform:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 2
end local 6 end local 5 15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getLength:()I
if_icmplt 7
end local 4 17: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSourceURI:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.setSourceURI:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 2
19: areturn
end local 3 end local 2 end local 1 20: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference
StackMap stack: java.io.IOException
astore 1
start local 1 21: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 22: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
astore 1
start local 1 23: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 24: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 1
start local 1 25: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 26: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 1
start local 1 27: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 28: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.transforms.TransformationException
astore 1
start local 1 29: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 30: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 1
start local 1 31: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 20 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
3 20 2 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
4 20 3 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
6 17 4 i I
8 15 5 t Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
9 15 6 uri Ljava/lang/String;
21 22 1 ex Ljava/io/IOException;
23 24 1 ex Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverException;
25 26 1 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
27 28 1 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
29 30 1 ex Lcom/sun/org/apache/xml/internal/security/transforms/TransformationException;
31 32 1 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
Exception table:
from to target type
0 19 20 Class java.io.IOException
0 19 22 Class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
0 19 24 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
0 19 26 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 19 28 Class com.sun.org.apache.xml.internal.security.transforms.TransformationException
0 19 30 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
public java.lang.String getHTMLRepresentation();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getNodesetBeforeFirstCanonicalization:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 1
start local 1 1: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getTransforms:()Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 2
ifnull 14
4: iconst_0
istore 4
start local 4 5: goto 13
6: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.transforms.Transforms com.sun.org.apache.xml.internal.security.transforms.Transform int
StackMap stack:
aload 2
iload 4
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.item:(I)Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
astore 5
start local 5 7: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.getURI:()Ljava/lang/String;
astore 6
start local 6 8: aload 6
ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 6
ldc "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: StackMap locals: com.sun.org.apache.xml.internal.security.transforms.Transform java.lang.String
StackMap stack:
aload 5
astore 3
11: goto 14
end local 6 end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getLength:()I
if_icmplt 6
end local 4 14: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 15: aload 3
ifnull 33
16: aload 3
17: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
18: ldc "InclusiveNamespaces"
19: invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.length:(Ljava/lang/String;Ljava/lang/String;)I
20: iconst_1
21: if_icmpne 33
22: new com.sun.org.apache.xml.internal.security.transforms.params.InclusiveNamespaces
dup
23: aload 3
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transform.getElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
24: ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
25: ldc "InclusiveNamespaces"
26: iconst_0
27: invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.selectNode:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;I)Lorg/w3c/dom/Element;
28: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getBaseURI:()Ljava/lang/String;
29: invokespecial com.sun.org.apache.xml.internal.security.transforms.params.InclusiveNamespaces.<init>:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
30: astore 5
start local 5 31: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.transforms.params.InclusiveNamespaces.getInclusiveNamespaces:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.security.transforms.params.InclusiveNamespaces.prefixStr2Set:(Ljava/lang/String;)Ljava/util/SortedSet;
32: astore 4
end local 5 33: StackMap locals: java.util.Set
StackMap stack:
aload 1
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getHTMLRepresentation:(Ljava/util/Set;)Ljava/lang/String;
34: areturn
end local 4 end local 3 end local 2 end local 1 35: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference
StackMap stack: com.sun.org.apache.xml.internal.security.transforms.TransformationException
astore 1
start local 1 36: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 37: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.transforms.InvalidTransformException
astore 1
start local 1 38: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 39: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 1
start local 1 40: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 35 1 nodes Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
2 35 2 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
3 35 3 c14nTransform Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
5 14 4 i I
7 12 5 t Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
8 12 6 uri Ljava/lang/String;
15 35 4 inclusiveNamespaces Ljava/util/Set<Ljava/lang/String;>;
31 33 5 in Lcom/sun/org/apache/xml/internal/security/transforms/params/InclusiveNamespaces;
36 37 1 ex Lcom/sun/org/apache/xml/internal/security/transforms/TransformationException;
38 39 1 ex Lcom/sun/org/apache/xml/internal/security/transforms/InvalidTransformException;
40 41 1 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
Exception table:
from to target type
0 34 35 Class com.sun.org.apache.xml.internal.security.transforms.TransformationException
0 34 37 Class com.sun.org.apache.xml.internal.security.transforms.InvalidTransformException
0 34 39 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput getTransformsOutput();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transformsOutput:Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
public com.sun.org.apache.xml.internal.security.signature.reference.ReferenceData getReferenceData();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.referenceData:Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
protected com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput dereferenceURIandPerformTransforms(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getContentsBeforeTransformation:()Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.cacheDereferencedElement:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
2: aload 0
aload 2
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getContentsAfterTransformation:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 3
start local 3 3: aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transformsOutput:Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
4: aload 3
5: areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 2
start local 2 7: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 8 1 os Ljava/io/OutputStream;
1 6 2 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
3 6 3 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
7 8 2 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
Exception table:
from to target type
0 5 6 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
os
private void cacheDereferencedElement(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNodeSet:()Z
ifeq 7
1: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeSet:()Ljava/util/Set;
astore 2
start local 2 2: aload 0
new com.sun.org.apache.xml.internal.security.signature.Reference$2
dup
aload 0
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.Reference$2.<init>:(Lcom/sun/org/apache/xml/internal/security/signature/Reference;Ljava/util/Set;)V
putfield com.sun.org.apache.xml.internal.security.signature.Reference.referenceData:Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
end local 2 3: goto 20
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 2
start local 2 5: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "cannot cache dereferenced data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 2 6: goto 20
StackMap locals:
StackMap stack:
7: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isElement:()Z
ifeq 12
8: aload 0
new com.sun.org.apache.xml.internal.security.signature.reference.ReferenceSubTreeData
dup
9: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isExcludeComments:()Z
invokespecial com.sun.org.apache.xml.internal.security.signature.reference.ReferenceSubTreeData.<init>:(Lorg/w3c/dom/Node;Z)V
10: putfield com.sun.org.apache.xml.internal.security.signature.Reference.referenceData:Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
11: goto 20
StackMap locals:
StackMap stack:
12: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifne 13
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isByteArray:()Z
ifeq 20
13: StackMap locals:
StackMap stack:
aload 0
new com.sun.org.apache.xml.internal.security.signature.reference.ReferenceOctetStreamData
dup
14: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStream:()Ljava/io/InputStream;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSourceURI:()Ljava/lang/String;
15: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getMIMEType:()Ljava/lang/String;
invokespecial com.sun.org.apache.xml.internal.security.signature.reference.ReferenceOctetStreamData.<init>:(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)V
16: putfield com.sun.org.apache.xml.internal.security.signature.Reference.referenceData:Lcom/sun/org/apache/xml/internal/security/signature/reference/ReferenceData;
17: goto 20
StackMap locals:
StackMap stack: java.io.IOException
18: astore 2
start local 2 19: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "cannot cache dereferenced data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 21 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
2 3 2 s Ljava/util/Set<Lorg/w3c/dom/Node;>;
5 6 2 e Ljava/lang/Exception;
19 20 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.lang.Exception
13 17 18 Class java.io.IOException
MethodParameters:
Name Flags
input
public com.sun.org.apache.xml.internal.security.transforms.Transforms getTransforms();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException, com.sun.org.apache.xml.internal.security.transforms.InvalidTransformException, com.sun.org.apache.xml.internal.security.transforms.TransformationException, com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
public byte[] getReferencedBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.dereferenceURIandPerformTransforms:(Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getBytes:()[B
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 5: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 1
start local 1 6: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 3 1 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
4 5 1 ex Ljava/io/IOException;
6 7 1 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 2 5 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException, com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
private byte[] calculateDigest(boolean);
descriptor: (Z)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getMessageDigestAlgorithm:()Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
astore 3
start local 3 2: aload 3
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.reset:()V
3: new com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream
dup
aload 3
invokespecial com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.<init>:(Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;)V
astore 4
start local 4 4: new com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream
dup
aload 4
invokespecial com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
5: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.dereferenceURIandPerformTransforms:(Ljava/io/OutputStream;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
astore 5
start local 5 6: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.useC14N11:Z
ifeq 15
iload 1
ifne 15
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOutputStreamSet:()Z
ifne 15
7: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifne 15
8: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
ifnonnull 12
9: aload 0
new com.sun.org.apache.xml.internal.security.transforms.Transforms
dup
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.doc:Lorg/w3c/dom/Document;
invokespecial com.sun.org.apache.xml.internal.security.transforms.Transforms.<init>:(Lorg/w3c/dom/Document;)V
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
10: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.setSecureValidation:(Z)V
11: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.constructionElement:Lorg/w3c/dom/Element;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getElement:()Lorg/w3c/dom/Element;
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int java.io.OutputStream com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
ldc "http://www.w3.org/2006/12/xml-c14n11"
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.addTransform:(Ljava/lang/String;)V
13: aload 5
aload 2
iconst_1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;Z)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 5
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;)V
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.OutputStream.flush:()V
17: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStreamReal:()Ljava/io/InputStream;
ifnull 19
18: aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStreamReal:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
19: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.getDigestValue:()[B
astore 7
20: aload 2
ifnull 25
21: aload 2
invokevirtual java.io.OutputStream.close:()V
22: goto 25
StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int java.io.OutputStream com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput top byte[]
StackMap stack: java.io.IOException
23: astore 8
start local 8 24: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 25: StackMap locals:
StackMap stack:
aload 7
areturn
end local 5 end local 4 end local 3 26: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int java.io.OutputStream
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 3
start local 3 27: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 28: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 29: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 30: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
31: aload 2
ifnull 36
32: aload 2
invokevirtual java.io.OutputStream.close:()V
33: goto 36
StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int java.io.OutputStream top top top java.lang.Throwable
StackMap stack: java.io.IOException
34: astore 8
start local 8 35: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 36: StackMap locals:
StackMap stack:
aload 6
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 37 1 validating Z
1 37 2 os Ljava/io/OutputStream;
2 26 3 mda Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
4 26 4 diOs Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
6 26 5 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
27 28 3 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
29 30 3 ex Ljava/io/IOException;
24 25 8 ex Ljava/io/IOException;
35 36 8 ex Ljava/io/IOException;
Exception table:
from to target type
21 22 23 Class java.io.IOException
1 20 26 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
1 20 28 Class java.io.IOException
1 20 30 any
26 30 30 any
32 33 34 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException, com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
validating
public byte[] getDigestValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
ifnonnull 5
1: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "DigestValue"
aastore
dup
iconst_1
ldc "http://www.w3.org/2000/09/xmldsig#"
aastore
astore 1
start local 1 2: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
3: ldc "signature.Verification.NoSignatureElement"
aload 1
4: invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.decode:(Lorg/w3c/dom/Element;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
2 5 1 exArgs [Ljava/lang/Object;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException, com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
public boolean verify();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getDigestValue:()[B
astore 1
start local 1 1: aload 0
iconst_1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.calculateDigest:(Z)[B
astore 2
start local 2 2: aload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.isEqual:([B[B)Z
istore 3
start local 3 3: iload 3
ifne 8
4: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Verification failed for URI \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
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
5: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Expected Digest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
6: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Actual Digest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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
7: goto 10
8: StackMap locals: byte[] byte[] int
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.signature.Reference.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 10
9: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Verification successful for URI \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
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
10: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 11 1 elemDig [B
2 11 2 calcDig [B
3 11 3 equal Z
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException, com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
public java.lang.String getBaseLocalName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Reference"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
}
SourceFile: "Reference.java"
NestMembers:
com.sun.org.apache.xml.internal.security.signature.Reference$1 com.sun.org.apache.xml.internal.security.signature.Reference$2 com.sun.org.apache.xml.internal.security.signature.Reference$2$1
InnerClasses:
com.sun.org.apache.xml.internal.security.signature.Reference$1
com.sun.org.apache.xml.internal.security.signature.Reference$2