public class org.bouncycastle.util.encoders.Hex
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.encoders.Hex
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.HexEncoder
dup
invokespecial org.bouncycastle.util.encoders.HexEncoder.<init>:()V
putstatic org.bouncycastle.util.encoders.Hex.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/Hex;
public static java.lang.String toHexString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.bouncycastle.util.encoders.Hex.toHexString:([BII)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data [B
MethodParameters:
Name Flags
data
public static java.lang.String toHexString(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic org.bouncycastle.util.encoders.Hex.encode:([BII)[B
astore 3
start local 3 1: aload 3
invokestatic org.bouncycastle.util.Strings.fromByteArray:([B)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 data [B
0 2 1 off I
0 2 2 length I
1 2 3 encoded [B
MethodParameters:
Name Flags
data
off
length
public static byte[] encode(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.bouncycastle.util.encoders.Hex.encode:([BII)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data [B
MethodParameters:
Name Flags
data
public static byte[] encode(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 1: getstatic org.bouncycastle.util.encoders.Hex.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
pop
2: goto 5
3: StackMap locals: byte[] int int java.io.ByteArrayOutputStream
StackMap stack: java.lang.Exception
astore 4
start local 4 4: new org.bouncycastle.util.encoders.EncoderException
dup
new java.lang.StringBuilder
dup
ldc "exception encoding Hex string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.bouncycastle.util.encoders.EncoderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 5: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [B
0 6 1 off I
0 6 2 length I
1 6 3 bOut Ljava/io/ByteArrayOutputStream;
4 5 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
data
off
length
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.Hex.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.Hex.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=3, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: getstatic org.bouncycastle.util.encoders.Hex.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
iconst_0
aload 0
arraylength
aload 1
invokeinterface org.bouncycastle.util.encoders.Encoder.decode:([BIILjava/io/OutputStream;)I
pop
2: goto 5
3: StackMap locals: byte[] java.io.ByteArrayOutputStream
StackMap stack: java.lang.Exception
astore 2
start local 2 4: new org.bouncycastle.util.encoders.DecoderException
dup
new java.lang.StringBuilder
dup
ldc "exception decoding Hex data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.util.encoders.DecoderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [B
1 6 1 bOut Ljava/io/ByteArrayOutputStream;
4 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
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=3, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: getstatic org.bouncycastle.util.encoders.Hex.encoder:Lorg/bouncycastle/util/encoders/Encoder;
aload 0
aload 1
invokeinterface org.bouncycastle.util.encoders.Encoder.decode:(Ljava/lang/String;Ljava/io/OutputStream;)I
pop
2: goto 5
3: StackMap locals: java.lang.String java.io.ByteArrayOutputStream
StackMap stack: java.lang.Exception
astore 2
start local 2 4: new org.bouncycastle.util.encoders.DecoderException
dup
new java.lang.StringBuilder
dup
ldc "exception decoding Hex string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.util.encoders.DecoderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data Ljava/lang/String;
1 6 1 bOut Ljava/io/ByteArrayOutputStream;
4 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
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.Hex.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: "Hex.java"