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 com.sun.org.slf4j.internal.Logger LOG;
descriptor: Lcom/sun/org/slf4j/internal/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=1, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/org/apache/xml/internal/security/signature/Reference.lambda$0()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
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;
invokestatic com.sun.org.slf4j.internal.LoggerFactory.getLogger:(Ljava/lang/Class;)Lcom/sun/org/slf4j/internal/Logger;
4: putstatic com.sun.org.apache.xml.internal.security.signature.Reference.LOG:Lcom/sun/org/slf4j/internal/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=5, 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
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.addReturnToSelf:()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
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.appendSelf:(Lcom/sun/org/apache/xml/internal/security/utils/ElementProxy;)V
8: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.addReturnToSelf:()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:
new com.sun.org.apache.xml.internal.security.signature.Reference$1
dup
aload 0
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getDocument:()Lorg/w3c/dom/Document;
aload 6
invokespecial com.sun.org.apache.xml.internal.security.signature.Reference$1.<init>:(Lcom/sun/org/apache/xml/internal/security/signature/Reference;Lorg/w3c/dom/Document;Ljava/lang/String;)V
astore 7
start local 7 10: aload 0
aload 7
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.Algorithm.getElement:()Lorg/w3c/dom/Element;
putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
11: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.appendSelf:(Lorg/w3c/dom/Node;)V
12: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.addReturnToSelf:()V
13: aload 0
14: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getDocument:()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;
15: putfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
16: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.appendSelf:(Lorg/w3c/dom/Node;)V
17: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.addReturnToSelf:()V
18: 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 19 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 19 1 doc Lorg/w3c/dom/Document;
0 19 2 baseURI Ljava/lang/String;
0 19 3 referenceURI Ljava/lang/String;
0 19 4 manifest Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
0 19 5 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
0 19 6 messageDigestAlgorithm Ljava/lang/String;
10 19 7 digestAlgorithm Lcom/sun/org/apache/xml/internal/security/algorithms/Algorithm;
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_1
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: aload 5
ifnull 12
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
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestMethodElem:Lorg/w3c/dom/Element;
ifnonnull 15
14: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "signature.Reference.NoDigestMethod"
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
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;
16: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.digestValueElement:Lorg/w3c/dom/Element;
ifnonnull 18
17: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "signature.Reference.NoDigestValue"
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.signature.Reference.manifest:Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
19: 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 20 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 20 1 element Lorg/w3c/dom/Element;
0 20 2 baseURI Ljava/lang/String;
0 20 3 manifest Lcom/sun/org/apache/xml/internal/security/signature/Manifest;
0 20 4 secureValidation Z
4 20 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: ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 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
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getDocument:()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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
ldc "URI"
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.setLocalAttribute:(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=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "URI"
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getLocalAttribute:(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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
ldc "Id"
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.setLocalIdAttribute:(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 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Id"
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getLocalAttribute:(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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
ldc "Type"
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.setLocalAttribute:(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=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Type"
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getLocalAttribute:(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.XMLUtils.encodeToString:([B)Ljava/lang/String;
astore 3
start local 3 6: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.createText:(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
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getElement:()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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(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=3, 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
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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=3, 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 20
5: iconst_0
istore 4
start local 4 6: goto 18
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 19
10: aload 6
ldc "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
11: aload 6
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
12: aload 6
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
13: aload 6
ldc "http://www.w3.org/2006/12/xml-c14n11"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
14: aload 6
ldc "http://www.w3.org/2006/12/xml-c14n11#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: goto 19
16: 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 17: iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.transforms.Transforms.getLength:()I
if_icmplt 7
end local 4 19: 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
20: StackMap locals:
StackMap stack:
aload 2
21: areturn
end local 3 end local 2 end local 1 22: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference
StackMap stack: java.io.IOException
astore 1
start local 1 23: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 24: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
astore 1
start local 1 25: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 26: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
astore 1
start local 1 27: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 28: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
astore 1
start local 1 29: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 30: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.transforms.TransformationException
astore 1
start local 1 31: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 32: StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
astore 1
start local 1 33: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 22 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
3 22 2 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
4 22 3 transforms Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
6 19 4 i I
8 17 5 t Lcom/sun/org/apache/xml/internal/security/transforms/Transform;
9 17 6 uri Ljava/lang/String;
23 24 1 ex Ljava/io/IOException;
25 26 1 ex Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverException;
27 28 1 ex Lcom/sun/org/apache/xml/internal/security/c14n/CanonicalizationException;
29 30 1 ex Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
31 32 1 ex Lcom/sun/org/apache/xml/internal/security/transforms/TransformationException;
33 34 1 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
Exception table:
from to target type
0 21 22 Class java.io.IOException
0 21 24 Class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
0 21 26 Class com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
0 21 28 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
0 21 30 Class com.sun.org.apache.xml.internal.security.transforms.TransformationException
0 21 32 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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(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=3, 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
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(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:Lcom/sun/org/slf4j/internal/Logger;
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 com.sun.org.slf4j.internal.Logger.warn:(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:Lcom/sun/org/slf4j/internal/Logger;
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 com.sun.org.slf4j.internal.Logger.warn:(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=3, 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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(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
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(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: 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 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isPreCalculatedDigest:()Z
ifeq 3
2: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getPreCalculatedDigest:(Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)[B
areturn
3: StackMap locals: com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput
StackMap stack:
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
4: 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 5: aload 3
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.reset:()V
6: aconst_null
astore 4
aconst_null
astore 5
7: 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 6
start local 6 8: new com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream
dup
aload 6
invokespecial com.sun.org.apache.xml.internal.security.utils.UnsyncBufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 7
start local 7 9: aload 0
aload 2
aload 7
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 8
start local 8 10: aload 0
aload 8
putfield com.sun.org.apache.xml.internal.security.signature.Reference.transformsOutput:Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
11: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.useC14N11:Z
ifeq 20
iload 1
ifne 20
aload 8
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOutputStreamSet:()Z
ifne 20
12: aload 8
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isOctetStream:()Z
ifne 20
13: aload 0
getfield com.sun.org.apache.xml.internal.security.signature.Reference.transforms:Lcom/sun/org/apache/xml/internal/security/transforms/Transforms;
ifnonnull 17
14: aload 0
new com.sun.org.apache.xml.internal.security.transforms.Transforms
dup
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getDocument:()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;
15: 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
16: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getElement:()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
17: StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm java.lang.Throwable java.lang.Throwable com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream java.io.OutputStream 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
18: aload 8
aload 7
iconst_1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;Z)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 8
aload 7
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.updateOutputStream:(Ljava/io/OutputStream;)V
21: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.io.OutputStream.flush:()V
22: aload 8
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStreamReal:()Ljava/io/InputStream;
ifnull 24
23: aload 8
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getOctetStreamReal:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
24: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.getDigestValue:()[B
25: aload 7
ifnull 26
aload 7
invokevirtual java.io.OutputStream.close:()V
StackMap locals:
StackMap stack: byte[]
26: aload 6
ifnull 27
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.close:()V
27: StackMap locals:
StackMap stack: byte[]
areturn
end local 8 StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm java.lang.Throwable java.lang.Throwable com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
28: astore 4
29: aload 7
ifnull 30
aload 7
invokevirtual java.io.OutputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
30: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 5
aload 4
ifnonnull 32
aload 5
astore 4
goto 33
StackMap locals:
StackMap stack:
32: aload 4
aload 5
if_acmpeq 33
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 6
ifnull 34
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
34: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 5
aload 4
ifnonnull 36
aload 5
astore 4
goto 37
StackMap locals:
StackMap stack:
36: aload 4
aload 5
if_acmpeq 37
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
37: aload 4
athrow
StackMap locals: com.sun.org.apache.xml.internal.security.signature.Reference int com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
38: astore 4
start local 4 39: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
aload 4
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 40: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 41: new com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
dup
aload 4
invokespecial com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
0 42 1 validating Z
1 42 2 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
5 42 3 mda Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
8 34 6 diOs Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
9 30 7 os Ljava/io/OutputStream;
10 28 8 output Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
39 40 4 ex Lcom/sun/org/apache/xml/internal/security/exceptions/XMLSecurityException;
41 42 4 ex Ljava/io/IOException;
Exception table:
from to target type
9 25 28 any
8 26 31 any
28 31 31 any
7 27 35 any
28 35 35 any
6 27 38 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
28 38 38 Class com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
6 27 40 Class java.io.IOException
28 38 40 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
private byte[] getPreCalculatedDigest(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Verifying element with pre-calculated digest"
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;)V
1: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getPreCalculatedDigest:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.decode:(Ljava/lang/String;)[B
areturn
end local 2 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 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
2 3 2 preCalculatedDigest Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.ReferenceNotInitializedException
MethodParameters:
Name Flags
input
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.XMLUtils.getFullTextChildrenFromNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 1
start local 1 6: aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.decode:(Ljava/lang/String;)[B
areturn
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;
2 5 1 exArgs [Ljava/lang/Object;
6 7 1 content Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
public boolean verify();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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:Lcom/sun/org/slf4j/internal/Logger;
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 com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
5: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.LOG:Lcom/sun/org/slf4j/internal/Logger;
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.XMLUtils.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
6: getstatic com.sun.org.apache.xml.internal.security.signature.Reference.LOG:Lcom/sun/org/slf4j/internal/Logger;
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.XMLUtils.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals: byte[] byte[] int
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.signature.Reference.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Verification successful for URI \"{}\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.signature.Reference.getURI:()Ljava/lang/String;
aastore
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
9: 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 10 0 this Lcom/sun/org/apache/xml/internal/security/signature/Reference;
1 10 1 elemDig [B
2 10 2 calcDig [B
3 10 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;
private static java.lang.Boolean lambda$0();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "com.sun.org.apache.xml.internal.security.useC14N11"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
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
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles