class org.bouncycastle.cms.CMSProcessableInputStream implements org.bouncycastle.cms.CMSProcessable, org.bouncycastle.cms.CMSReadable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.CMSProcessableInputStream
super_class: java.lang.Object
{
private java.io.InputStream input;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private boolean used;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.cms.CMSProcessableInputStream.used:Z
2: aload 0
aload 1
putfield org.bouncycastle.cms.CMSProcessableInputStream.input:Ljava/io/InputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/CMSProcessableInputStream;
0 4 1 input Ljava/io/InputStream;
MethodParameters:
Name Flags
input
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.cms.CMSProcessableInputStream.checkSingleUsage:()V
1: aload 0
getfield org.bouncycastle.cms.CMSProcessableInputStream.input:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSProcessableInputStream;
public void write(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.cms.CMSProcessableInputStream.checkSingleUsage:()V
1: aload 0
getfield org.bouncycastle.cms.CMSProcessableInputStream.input:Ljava/io/InputStream;
aload 1
invokestatic org.bouncycastle.util.io.Streams.pipeAll:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
2: aload 0
getfield org.bouncycastle.cms.CMSProcessableInputStream.input:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/CMSProcessableInputStream;
0 4 1 zOut Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException, org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
zOut
public java.lang.Object getContent();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.cms.CMSProcessableInputStream.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSProcessableInputStream;
private synchronized void checkSingleUsage();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.CMSProcessableInputStream.used:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "CMSProcessableInputStream can only be used once"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.bouncycastle.cms.CMSProcessableInputStream.used:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/CMSProcessableInputStream;
}
SourceFile: "CMSProcessableInputStream.java"