public class org.bouncycastle.util.encoders.Base64
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.encoders.Base64
super_class: java.lang.Object
{
private static final org.bouncycastle.util.encoders.Encoder encoder;
descriptor: Lorg/bouncycastle/util/encoders/Encoder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.bouncycastle.util.encoders.Base64Encoder
dup
invokespecial org.bouncycastle.util.encoders.Base64Encoder.<init>:()V
putstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/util/encoders/Base64;
public static byte[] encode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
arraylength
iconst_2
iadd
iconst_3
idiv
iconst_4
imul
istore 1
start local 1 1: new java.io.ByteArrayOutputStream
dup
iload 1
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 2: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
iconst_0
aload 0
arraylength
aload 2
invokeinterface org.bouncycastle.util.encoders.Encoder.encode:([BIILjava/io/OutputStream;)I
pop
3: goto 6
4: StackMap locals: byte[] int java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
astore 3
start local 3 5: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "exception encoding base64 string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 data [B
1 7 1 len I
2 7 2 bOut Ljava/io/ByteArrayOutputStream;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
data
public static int encode(byte[], java.io.OutputStream);
descriptor: ([BLjava/io/OutputStream;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
iconst_0
aload 0
arraylength
aload 1
invokeinterface org.bouncycastle.util.encoders.Encoder.encode:([BIILjava/io/OutputStream;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data [B
0 1 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
out
public static int encode(byte[], int, int, java.io.OutputStream);
descriptor: ([BIILjava/io/OutputStream;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
iload 1
iload 2
aload 3
invokeinterface org.bouncycastle.util.encoders.Encoder.encode:([BIILjava/io/OutputStream;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data [B
0 1 1 off I
0 1 2 length I
0 1 3 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
off
length
out
public static byte[] decode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
arraylength
iconst_4
idiv
iconst_3
imul
istore 1
start local 1 1: new java.io.ByteArrayOutputStream
dup
iload 1
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 2: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
iconst_0
aload 0
arraylength
aload 2
invokeinterface org.bouncycastle.util.encoders.Encoder.decode:([BIILjava/io/OutputStream;)I
pop
3: goto 6
4: StackMap locals: byte[] int java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
astore 3
start local 3 5: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "exception decoding base64 string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 data [B
1 7 1 len I
2 7 2 bOut Ljava/io/ByteArrayOutputStream;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
data
public static byte[] decode(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
iconst_4
idiv
iconst_3
imul
istore 1
start local 1 1: new java.io.ByteArrayOutputStream
dup
iload 1
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 2: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
aload 2
invokeinterface org.bouncycastle.util.encoders.Encoder.decode:(Ljava/lang/String;Ljava/io/OutputStream;)I
pop
3: goto 6
4: StackMap locals: java.lang.String int java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
astore 3
start local 3 5: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "exception decoding base64 string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 data Ljava/lang/String;
1 7 1 len I
2 7 2 bOut Ljava/io/ByteArrayOutputStream;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
data
public static int decode(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.bouncycastle.util.encoders.Base64.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
aload 1
invokeinterface org.bouncycastle.util.encoders.Encoder.decode:(Ljava/lang/String;Ljava/io/OutputStream;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Ljava/lang/String;
0 1 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
out
}
SourceFile: "Base64.java"