public abstract class org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.asn1.ASN1Object
super_class: java.lang.Object
{
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/asn1/ASN1Object;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/ASN1Object;
1 4 1 bOut Ljava/io/ByteArrayOutputStream;
2 4 2 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
public byte[] getEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "DER"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 2: new org.bouncycastle.asn1.DEROutputStream
dup
aload 2
invokespecial org.bouncycastle.asn1.DEROutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 3: aload 3
aload 0
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 1
ldc "DL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
6: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 7: new org.bouncycastle.asn1.DLOutputStream
dup
aload 2
invokespecial org.bouncycastle.asn1.DLOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 8: aload 3
aload 0
invokevirtual org.bouncycastle.asn1.DLOutputStream.writeObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
9: aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1Object.getEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/ASN1Object;
0 11 1 encoding Ljava/lang/String;
2 5 2 bOut Ljava/io/ByteArrayOutputStream;
3 5 3 dOut Lorg/bouncycastle/asn1/DEROutputStream;
7 10 2 bOut Ljava/io/ByteArrayOutputStream;
8 10 3 dOut Lorg/bouncycastle/asn1/DLOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
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.ASN1Object.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Object;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.ASN1Encodable
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.asn1.ASN1Encodable
astore 2
start local 2 5: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Object.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
aload 2
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/ASN1Object;
0 6 1 o Ljava/lang/Object;
5 6 2 other Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
o
public org.bouncycastle.asn1.ASN1Primitive toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Object.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Object;
protected static boolean hasEncodedTagValue(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof byte[]
ifeq 1
aload 0
checkcast byte[]
iconst_0
baload
iload 1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Ljava/lang/Object;
0 2 1 tagValue I
MethodParameters:
Name Flags
obj
tagValue
public abstract org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "ASN1Object.java"