public class org.bouncycastle.asn1.DERApplicationSpecific extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.DERApplicationSpecific
super_class: org.bouncycastle.asn1.ASN1Object
{
private final boolean isConstructed;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int tag;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] octets;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(boolean, int, byte[]);
descriptor: (ZI[B)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
iload 1
putfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
2: aload 0
iload 2
putfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
3: aload 0
aload 3
putfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 5 1 isConstructed Z
0 5 2 tag I
0 5 3 octets [B
MethodParameters:
Name Flags
isConstructed
tag
octets
public void <init>(int, byte[]);
descriptor: (I[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
iload 1
aload 2
invokespecial org.bouncycastle.asn1.DERApplicationSpecific.<init>:(ZI[B)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 2 1 tag I
0 2 2 octets [B
MethodParameters:
Name Flags
tag
octets
public void <init>(int, org.bouncycastle.asn1.DEREncodable);
descriptor: (ILorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
iload 1
aload 2
invokespecial org.bouncycastle.asn1.DERApplicationSpecific.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 2 1 tag I
0 2 2 object Lorg/bouncycastle/asn1/DEREncodable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tag
object
public void <init>(boolean, int, org.bouncycastle.asn1.DEREncodable);
descriptor: (ZILorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 3
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokevirtual org.bouncycastle.asn1.DERObject.getDEREncoded:()[B
astore 4
start local 4 2: aload 0
iload 1
putfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
3: aload 0
iload 2
putfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
4: iload 1
ifeq 7
5: aload 0
aload 4
putfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
6: goto 11
7: StackMap locals: org.bouncycastle.asn1.DERApplicationSpecific int int org.bouncycastle.asn1.DEREncodable byte[]
StackMap stack:
aload 0
aload 4
invokevirtual org.bouncycastle.asn1.DERApplicationSpecific.getLengthOfLength:([B)I
istore 5
start local 5 8: aload 4
arraylength
iload 5
isub
newarray 8
astore 6
start local 6 9: aload 4
iload 5
aload 6
iconst_0
aload 6
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
aload 6
putfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
end local 6 end local 5 11: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 12 1 explicit Z
0 12 2 tag I
0 12 3 object Lorg/bouncycastle/asn1/DEREncodable;
2 12 4 data [B
8 11 5 lenBytes I
9 11 6 tmp [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
explicit
tag
object
public void <init>(int, org.bouncycastle.asn1.ASN1EncodableVector);
descriptor: (ILorg/bouncycastle/asn1/ASN1EncodableVector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
iload 1
putfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
2: aload 0
iconst_1
putfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
3: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 11
6: StackMap locals: org.bouncycastle.asn1.DERApplicationSpecific int org.bouncycastle.asn1.ASN1EncodableVector java.io.ByteArrayOutputStream int
StackMap stack:
aload 3
aload 2
iload 4
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.get:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Encodable
invokevirtual org.bouncycastle.asn1.ASN1Encodable.getEncoded:()[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
7: goto 10
8: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 9: new org.bouncycastle.asn1.ASN1ParsingException
dup
new java.lang.StringBuilder
dup
ldc "malformed object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial org.bouncycastle.asn1.ASN1ParsingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 2
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.size:()I
if_icmpne 6
end local 4 12: aload 0
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
putfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 14 1 tagNo I
0 14 2 vec Lorg/bouncycastle/asn1/ASN1EncodableVector;
4 14 3 bOut Ljava/io/ByteArrayOutputStream;
5 12 4 i I
9 10 5 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
MethodParameters:
Name Flags
tagNo
vec
private int getLengthOfLength(byte[]);
descriptor: ([B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_2
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
iinc 2 1
3: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
isub
baload
sipush 128
iand
ifne 2
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 5 1 data [B
1 5 2 count I
MethodParameters:
Name Flags
data
public boolean isConstructed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
public byte[] getContents();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
public int getApplicationTag();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
public org.bouncycastle.asn1.DERObject getObject();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 0
invokevirtual org.bouncycastle.asn1.DERApplicationSpecific.getContents:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
Exceptions:
throws java.io.IOException
public org.bouncycastle.asn1.DERObject getObject(int);
descriptor: (I)Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
bipush 31
if_icmplt 2
1: new java.io.IOException
dup
ldc "unsupported tag number"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.DERApplicationSpecific.getEncoded:()[B
astore 2
start local 2 3: aload 0
iload 1
aload 2
invokevirtual org.bouncycastle.asn1.DERApplicationSpecific.replaceTagNumber:(I[B)[B
astore 3
start local 3 4: aload 2
iconst_0
baload
bipush 32
iand
ifeq 6
5: aload 3
iconst_0
dup2
baload
bipush 32
ior
i2b
bastore
6: StackMap locals: byte[] byte[]
StackMap stack:
new org.bouncycastle.asn1.ASN1InputStream
dup
aload 3
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 7 1 derTagNo I
3 7 2 orig [B
4 7 3 tmp [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derTagNo
void encode(org.bouncycastle.asn1.DEROutputStream);
descriptor: (Lorg/bouncycastle/asn1/DEROutputStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: bipush 64
istore 2
start local 2 1: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
ifeq 3
2: iload 2
bipush 32
ior
istore 2
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeEncoded:(II[B)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 5 1 out Lorg/bouncycastle/asn1/DEROutputStream;
1 5 2 classBits I
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=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.DERApplicationSpecific
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.asn1.DERApplicationSpecific
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
aload 2
getfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
if_icmpne 7
4: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
aload 2
getfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
if_icmpne 7
5: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
aload 2
getfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
invokestatic org.bouncycastle.util.Arrays.areEqual:([B[B)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: org.bouncycastle.asn1.DERApplicationSpecific
StackMap stack:
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 8 1 o Lorg/bouncycastle/asn1/DERObject;
3 8 2 other Lorg/bouncycastle/asn1/DERApplicationSpecific;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.isConstructed:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.tag:I
ixor
aload 0
getfield org.bouncycastle.asn1.DERApplicationSpecific.octets:[B
invokestatic org.bouncycastle.util.Arrays.hashCode:([B)I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
private byte[] replaceTagNumber(int, byte[]);
descriptor: (I[B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_0
baload
bipush 31
iand
istore 3
start local 3 1: iconst_1
istore 4
start local 4 2: iload 3
bipush 31
if_icmpne 12
3: iconst_0
istore 3
4: aload 2
iload 4
iinc 4 1
baload
sipush 255
iand
istore 5
start local 5 5: iload 5
bipush 127
iand
ifne 10
6: new org.bouncycastle.asn1.ASN1ParsingException
dup
ldc "corrupted stream - invalid high tag number found"
invokespecial org.bouncycastle.asn1.ASN1ParsingException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int int int
StackMap stack:
iload 3
iload 5
bipush 127
iand
ior
istore 3
8: iload 3
bipush 7
ishl
istore 3
9: aload 2
iload 4
iinc 4 1
baload
sipush 255
iand
istore 5
10: StackMap locals:
StackMap stack:
iload 5
iflt 11
iload 5
sipush 128
iand
ifne 7
11: StackMap locals:
StackMap stack:
iload 3
iload 5
bipush 127
iand
ior
istore 3
end local 5 12: StackMap locals:
StackMap stack:
aload 2
arraylength
iload 4
isub
iconst_1
iadd
newarray 8
astore 5
start local 5 13: aload 2
iload 4
aload 5
iconst_1
aload 5
arraylength
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 5
iconst_0
iload 1
i2b
bastore
15: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/asn1/DERApplicationSpecific;
0 16 1 newTag I
0 16 2 input [B
1 16 3 tagNo I
2 16 4 index I
5 12 5 b I
13 16 5 tmp [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newTag
input
}
SourceFile: "DERApplicationSpecific.java"