public class org.bouncycastle.asn1.DERUniversalString extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.DERString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.DERUniversalString
super_class: org.bouncycastle.asn1.ASN1Object
{
private static final char[] table;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private byte[] string;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 16
newarray 5
dup
iconst_0
bipush 48
castore
dup
iconst_1
bipush 49
castore
dup
iconst_2
bipush 50
castore
dup
iconst_3
bipush 51
castore
dup
iconst_4
bipush 52
castore
dup
iconst_5
bipush 53
castore
dup
bipush 6
bipush 54
castore
dup
bipush 7
bipush 55
castore
dup
bipush 8
bipush 56
castore
dup
bipush 9
bipush 57
castore
dup
bipush 10
bipush 65
castore
dup
bipush 11
bipush 66
castore
dup
bipush 12
bipush 67
castore
dup
bipush 13
bipush 68
castore
dup
bipush 14
bipush 69
castore
dup
bipush 15
bipush 70
castore
putstatic org.bouncycastle.asn1.DERUniversalString.table:[C
return
LocalVariableTable:
Start End Slot Name Signature
public static org.bouncycastle.asn1.DERUniversalString getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERUniversalString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.DERUniversalString
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.DERUniversalString
areturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal object in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.DERUniversalString getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERUniversalString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
astore 2
start local 2 1: iload 1
ifne 2
aload 2
instanceof org.bouncycastle.asn1.DERUniversalString
ifeq 3
2: StackMap locals: org.bouncycastle.asn1.DERObject
StackMap stack:
aload 2
invokestatic org.bouncycastle.asn1.DERUniversalString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERUniversalString;
areturn
3: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERUniversalString
dup
aload 2
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.DERUniversalString.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 4 1 explicit Z
1 4 2 o Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
obj
explicit
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.DERUniversalString.string:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DERUniversalString;
0 3 1 string [B
MethodParameters:
Name Flags
string
public java.lang.String getString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
ldc "#"
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 2: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 2
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 3: aload 3
aload 0
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Ljava/lang/Object;)V
4: goto 7
5: StackMap locals: org.bouncycastle.asn1.DERUniversalString java.lang.StringBuffer java.io.ByteArrayOutputStream org.bouncycastle.asn1.ASN1OutputStream
StackMap stack: java.io.IOException
pop
6: new java.lang.RuntimeException
dup
ldc "internal error encoding BitString"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 13
10: StackMap locals: byte[] int
StackMap stack:
aload 1
getstatic org.bouncycastle.asn1.DERUniversalString.table:[C
aload 4
iload 5
baload
iconst_4
iushr
bipush 15
iand
caload
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
11: aload 1
getstatic org.bouncycastle.asn1.DERUniversalString.table:[C
aload 4
iload 5
baload
bipush 15
iand
caload
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 4
arraylength
if_icmpne 10
end local 5 14: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/asn1/DERUniversalString;
1 15 1 buf Ljava/lang/StringBuffer;
2 15 2 bOut Ljava/io/ByteArrayOutputStream;
3 15 3 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
8 15 4 string [B
9 14 5 i I
Exception table:
from to target type
3 4 5 Class java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.DERUniversalString.getString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERUniversalString;
public byte[] getOctets();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DERUniversalString.string:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERUniversalString;
void encode(org.bouncycastle.asn1.DEROutputStream);
descriptor: (Lorg/bouncycastle/asn1/DEROutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 28
aload 0
invokevirtual org.bouncycastle.asn1.DERUniversalString.getOctets:()[B
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeEncoded:(I[B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DERUniversalString;
0 2 1 out Lorg/bouncycastle/asn1/DEROutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
boolean asn1Equals(org.bouncycastle.asn1.DERObject);
descriptor: (Lorg/bouncycastle/asn1/DERObject;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.DERUniversalString
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.DERUniversalString.getString:()Ljava/lang/String;
aload 1
checkcast org.bouncycastle.asn1.DERUniversalString
invokevirtual org.bouncycastle.asn1.DERUniversalString.getString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DERUniversalString;
0 3 1 o Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.DERUniversalString.getString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERUniversalString;
}
SourceFile: "DERUniversalString.java"