public class java.security.DigestInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.security.DigestInputStream
super_class: java.io.FilterInputStream
{
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.InputStream, java.security.MessageDigest);
descriptor: (Ljava/io/InputStream;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.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_1
putfield java.security.DigestInputStream.on:Z
2: aload 0
aload 2
invokevirtual java.security.DigestInputStream.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/DigestInputStream;
0 4 1 stream Ljava/io/InputStream;
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.DigestInputStream.digest:Ljava/security/MessageDigest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/DigestInputStream;
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.DigestInputStream.digest:Ljava/security/MessageDigest;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/security/DigestInputStream;
0 2 1 digest Ljava/security/MessageDigest;
MethodParameters:
Name Flags
digest
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.security.DigestInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: aload 0
getfield java.security.DigestInputStream.on:Z
ifeq 3
iload 1
iconst_m1
if_icmpeq 3
2: aload 0
getfield java.security.DigestInputStream.digest:Ljava/security/MessageDigest;
iload 1
i2b
invokevirtual java.security.MessageDigest.update:(B)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/DigestInputStream;
1 4 1 ch I
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.security.DigestInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 1: aload 0
getfield java.security.DigestInputStream.on:Z
ifeq 3
iload 4
iconst_m1
if_icmpeq 3
2: aload 0
getfield java.security.DigestInputStream.digest:Ljava/security/MessageDigest;
aload 1
iload 2
iload 4
invokevirtual java.security.MessageDigest.update:([BII)V
3: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/DigestInputStream;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
1 4 4 result 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.DigestInputStream.on:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/security/DigestInputStream;
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 Input Stream] "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.security.DigestInputStream.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/DigestInputStream;
}
SourceFile: "DigestInputStream.java"