public class org.jcp.xml.dsig.internal.DigesterOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.DigesterOutputStream
super_class: java.io.OutputStream
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final boolean buffer;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream bos;
descriptor: Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private final java.security.MessageDigest md;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.jcp.xml.dsig.internal"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic org.jcp.xml.dsig.internal.DigesterOutputStream.log:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial org.jcp.xml.dsig.internal.DigesterOutputStream.<init>:(Ljava/security/MessageDigest;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
0 2 1 md Ljava/security/MessageDigest;
MethodParameters:
Name Flags
md
public void <init>(java.security.MessageDigest, boolean);
descriptor: (Ljava/security/MessageDigest;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 1
putfield org.jcp.xml.dsig.internal.DigesterOutputStream.md:Ljava/security/MessageDigest;
2: aload 0
iload 2
putfield org.jcp.xml.dsig.internal.DigesterOutputStream.buffer:Z
3: iload 2
ifeq 5
4: aload 0
new com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.<init>:()V
putfield org.jcp.xml.dsig.internal.DigesterOutputStream.bos:Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
5: StackMap locals: org.jcp.xml.dsig.internal.DigesterOutputStream java.security.MessageDigest int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
0 6 1 md Ljava/security/MessageDigest;
0 6 2 buffer Z
MethodParameters:
Name Flags
md
buffer
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 org.jcp.xml.dsig.internal.DigesterOutputStream.buffer:Z
ifeq 2
1: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.bos:Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.write:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.md:Ljava/security/MessageDigest;
iload 1
i2b
invokevirtual java.security.MessageDigest.update:(B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
0 4 1 input I
MethodParameters:
Name Flags
input
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: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.buffer:Z
ifeq 2
1: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.bos:Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.write:([BII)V
2: StackMap locals:
StackMap stack:
getstatic org.jcp.xml.dsig.internal.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 11
3: getstatic org.jcp.xml.dsig.internal.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
4: new java.lang.StringBuilder
dup
iload 3
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 5: iload 2
istore 5
start local 5 6: goto 9
7: 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
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 2
iload 3
iadd
if_icmplt 7
end local 5 10: getstatic org.jcp.xml.dsig.internal.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 11: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.md:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
0 13 1 input [B
0 13 2 offset I
0 13 3 len I
5 11 4 sb Ljava/lang/StringBuilder;
6 10 5 i I
MethodParameters:
Name Flags
input
offset
len
public byte[] getDigestValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.buffer:Z
ifeq 2
1: new java.io.ByteArrayInputStream
dup
aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.bos:Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.toByteArray:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.buffer:Z
ifeq 2
1: aload 0
getfield org.jcp.xml.dsig.internal.DigesterOutputStream.bos:Lcom/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream;
invokevirtual com.sun.org.apache.xml.internal.security.utils.UnsyncByteArrayOutputStream.close:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/DigesterOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "DigesterOutputStream.java"