public class org.bouncycastle.mime.CanonicalOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.mime.CanonicalOutputStream
super_class: java.io.FilterOutputStream
{
protected int lastb;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected static byte[] newline;
descriptor: [B
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private final boolean is7Bit;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_2
newarray 8
putstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
1: getstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
iconst_0
bipush 13
bastore
2: getstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
iconst_1
bipush 10
bastore
3: return
LocalVariableTable:
Start End Slot Name Signature
public void (org.bouncycastle.mime.smime.SMimeParserContext, org.bouncycastle.mime.Headers, java.io.OutputStream);
descriptor: (Lorg/bouncycastle/mime/smime/SMimeParserContext;Lorg/bouncycastle/mime/Headers;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
iconst_m1
putfield org.bouncycastle.mime.CanonicalOutputStream.lastb:I
2: aload 2
invokevirtual org.bouncycastle.mime.Headers.getContentType:()Ljava/lang/String;
ifnull 7
3: aload 0
aload 2
invokevirtual org.bouncycastle.mime.Headers.getContentType:()Ljava/lang/String;
ifnull 4
aload 2
invokevirtual org.bouncycastle.mime.Headers.getContentType:()Ljava/lang/String;
ldc "binary"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
iconst_1
goto 5
StackMap locals: org.bouncycastle.mime.CanonicalOutputStream org.bouncycastle.mime.smime.SMimeParserContext org.bouncycastle.mime.Headers java.io.OutputStream
StackMap stack: org.bouncycastle.mime.CanonicalOutputStream
4: iconst_0
StackMap locals: org.bouncycastle.mime.CanonicalOutputStream org.bouncycastle.mime.smime.SMimeParserContext org.bouncycastle.mime.Headers java.io.OutputStream
StackMap stack: org.bouncycastle.mime.CanonicalOutputStream int
5: putfield org.bouncycastle.mime.CanonicalOutputStream.is7Bit:Z
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.mime.smime.SMimeParserContext.getDefaultContentTransferEncoding:()Ljava/lang/String;
ldc "7bit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield org.bouncycastle.mime.CanonicalOutputStream.is7Bit:Z
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/mime/CanonicalOutputStream;
0 9 1 parserContext Lorg/bouncycastle/mime/smime/SMimeParserContext;
0 9 2 headers Lorg/bouncycastle/mime/Headers;
0 9 3 outputstream Ljava/io/OutputStream;
MethodParameters:
Name Flags
parserContext
headers
outputstream
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.bouncycastle.mime.CanonicalOutputStream.is7Bit:Z
ifeq 10
1: iload 1
bipush 13
if_icmpne 4
2: aload 0
getfield org.bouncycastle.mime.CanonicalOutputStream.out:Ljava/io/OutputStream;
getstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
invokevirtual java.io.OutputStream.write:([B)V
3: goto 11
4: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 8
5: aload 0
getfield org.bouncycastle.mime.CanonicalOutputStream.lastb:I
bipush 13
if_icmpeq 11
6: aload 0
getfield org.bouncycastle.mime.CanonicalOutputStream.out:Ljava/io/OutputStream;
getstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
invokevirtual java.io.OutputStream.write:([B)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.mime.CanonicalOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.mime.CanonicalOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
11: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.bouncycastle.mime.CanonicalOutputStream.lastb:I
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/mime/CanonicalOutputStream;
0 13 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
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 org.bouncycastle.mime.CanonicalOutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/mime/CanonicalOutputStream;
0 2 1 buf [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 4
baload
invokevirtual org.bouncycastle.mime.CanonicalOutputStream.write:(I)V
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 2
iload 3
iadd
if_icmpne 2
end local 4 5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/mime/CanonicalOutputStream;
0 6 1 buf [B
0 6 2 off I
0 6 3 len I
1 5 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
off
len
public void writeln();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.io.FilterOutputStream.out:Ljava/io/OutputStream;
getstatic org.bouncycastle.mime.CanonicalOutputStream.newline:[B
invokevirtual java.io.OutputStream.write:([B)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/mime/CanonicalOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "CanonicalOutputStream.java"