public class org.bouncycastle.ocsp.OCSPResp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.OCSPResp
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ocsp.OCSPResponse resp;
descriptor: Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.ocsp.OCSPResponse);
descriptor: (Lorg/bouncycastle/asn1/ocsp/OCSPResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/OCSPResp;
0 3 1 resp Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
MethodParameters:
Name Flags
resp
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.asn1.ASN1InputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokespecial org.bouncycastle.ocsp.OCSPResp.<init>:(Lorg/bouncycastle/asn1/ASN1InputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPResp;
0 2 1 resp [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resp
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.asn1.ASN1InputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;)V
invokespecial org.bouncycastle.ocsp.OCSPResp.<init>:(Lorg/bouncycastle/asn1/ASN1InputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPResp;
0 2 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
private void <init>(org.bouncycastle.asn1.ASN1InputStream);
descriptor: (Lorg/bouncycastle/asn1/ASN1InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.ocsp.OCSPResponse.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
putfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
2: goto 7
3: StackMap locals: org.bouncycastle.ocsp.OCSPResp org.bouncycastle.asn1.ASN1InputStream
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "malformed response: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 5: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 2
start local 2 6: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "malformed response: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.ClassCastException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/ocsp/OCSPResp;
0 8 1 aIn Lorg/bouncycastle/asn1/ASN1InputStream;
4 5 2 e Ljava/lang/IllegalArgumentException;
6 7 2 e Ljava/lang/ClassCastException;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
1 2 5 Class java.lang.ClassCastException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
aIn
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponse.getResponseStatus:()Lorg/bouncycastle/asn1/ocsp/OCSPResponseStatus;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponseStatus.getValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPResp;
public java.lang.Object getResponseObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponse.getResponseBytes:()Lorg/bouncycastle/asn1/ocsp/ResponseBytes;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.bouncycastle.asn1.ocsp.ResponseBytes
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.ResponseBytes.getResponseType:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
getstatic org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers.id_pkix_ocsp_basic:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 9
4: aload 1
invokevirtual org.bouncycastle.asn1.ocsp.ResponseBytes.getResponse:()Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
astore 2
start local 2 5: new org.bouncycastle.ocsp.BasicOCSPResp
dup
aload 2
invokestatic org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokespecial org.bouncycastle.ocsp.BasicOCSPResp.<init>:(Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;)V
6: areturn
end local 2 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 8: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "problem decoding object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.ResponseBytes.getResponse:()Lorg/bouncycastle/asn1/ASN1OctetString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/ocsp/OCSPResp;
1 10 1 rb Lorg/bouncycastle/asn1/ocsp/ResponseBytes;
5 7 2 obj Lorg/bouncycastle/asn1/ASN1Object;
8 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
4 6 7 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.ocsp.OCSPException
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponse.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPResp;
Exceptions:
throws java.io.IOException
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 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.ocsp.OCSPResp
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.ocsp.OCSPResp
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
aload 2
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponse.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/ocsp/OCSPResp;
0 6 1 o Ljava/lang/Object;
5 6 2 r Lorg/bouncycastle/ocsp/OCSPResp;
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
getfield org.bouncycastle.ocsp.OCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/OCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPResponse.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPResp;
}
SourceFile: "OCSPResp.java"