public class java.security.DigestOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.security.DigestOutputStream
super_class: java.io.FilterOutputStream
{
private boolean on;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected java.security.MessageDigest digest;
descriptor: Ljava/security/MessageDigest;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.OutputStream, java.security.MessageDigest);
descriptor: (Ljava/io/OutputStream;Ljava/security/MessageDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
iconst_1
putfield java.security.DigestOutputStream.on:Z
2: aload 0
aload 2
invokevirtual java.security.DigestOutputStream.setMessageDigest:(Ljava/security/MessageDigest;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/DigestOutputStream;
0 4 1 stream Ljava/io/OutputStream;
0 4 2 digest Ljava/security/MessageDigest;
MethodParameters:
Name Flags
stream
digest
public java.security.MessageDigest getMessageDigest();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.DigestOutputStream.digest:Ljava/security/MessageDigest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/DigestOutputStream;
public void setMessageDigest(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield java.security.DigestOutputStream.digest:Ljava/security/MessageDigest;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/security/DigestOutputStream;
0 2 1 digest Ljava/security/MessageDigest;
MethodParameters:
Name Flags
digest
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 java.security.DigestOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
getfield java.security.DigestOutputStream.on:Z
ifeq 3
2: aload 0
getfield java.security.DigestOutputStream.digest:Ljava/security/MessageDigest;
iload 1
i2b
invokevirtual java.security.MessageDigest.update:(B)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/DigestOutputStream;
0 4 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.security.DigestOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: aload 0
getfield java.security.DigestOutputStream.on:Z
ifeq 3
2: aload 0
getfield java.security.DigestOutputStream.digest:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/DigestOutputStream;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void on(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.security.DigestOutputStream.on:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/security/DigestOutputStream;
0 2 1 on Z
MethodParameters:
Name Flags
on
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "[Digest Output Stream] "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.security.DigestOutputStream.digest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/DigestOutputStream;
}
SourceFile: "DigestOutputStream.java"