public class com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream extends java.io.ByteArrayOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream
super_class: java.io.ByteArrayOutputStream
{
private static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm mda;
descriptor: Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.log:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm);
descriptor: (Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.ByteArrayOutputStream.<init>:()V
1: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.mda:Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
0 3 1 mda Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
MethodParameters:
Name Flags
mda
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
0 2 1 arg0 [B
MethodParameters:
Name Flags
arg0
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.mda:Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
iload 1
i2b
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.update:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
0 2 1 arg0 I
MethodParameters:
Name Flags
arg0
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.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 9
1: getstatic com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Pre-digested input:"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: new java.lang.StringBuilder
dup
iload 3
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 3: iload 2
istore 5
start local 5 4: goto 7
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 4
aload 1
iload 5
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 2
iload 3
iadd
if_icmplt 5
end local 5 8: getstatic com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DigesterOutputStream.mda:Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.update:([BII)V
10: return
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/utils/DigesterOutputStream;
0 11 1 arg0 [B
0 11 2 arg1 I
0 11 3 arg2 I
3 9 4 sb Ljava/lang/StringBuilder;
4 8 5 i I
MethodParameters:
Name Flags
arg0
arg1
arg2
public byte[] getDigestValue();
descriptor: ()[B
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.utils.DigesterOutputStream.mda:Lcom/sun/org/apache/xml/internal/security/algorithms/MessageDigestAlgorithm;
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.digest:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/DigesterOutputStream;
}
SourceFile: "DigesterOutputStream.java"