public class org.bouncycastle.ocsp.OCSPRespGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.OCSPRespGenerator
super_class: java.lang.Object
{
public static final int SUCCESSFUL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int MALFORMED_REQUEST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int INTERNAL_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int TRY_LATER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int SIG_REQUIRED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int UNAUTHORIZED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
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/ocsp/OCSPRespGenerator;
public org.bouncycastle.ocsp.OCSPResp generate(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Lorg/bouncycastle/ocsp/OCSPResp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new org.bouncycastle.ocsp.OCSPResp
dup
new org.bouncycastle.asn1.ocsp.OCSPResponse
dup
new org.bouncycastle.asn1.ocsp.OCSPResponseStatus
dup
iload 1
invokespecial org.bouncycastle.asn1.ocsp.OCSPResponseStatus.<init>:(I)V
aconst_null
invokespecial org.bouncycastle.asn1.ocsp.OCSPResponse.<init>:(Lorg/bouncycastle/asn1/ocsp/OCSPResponseStatus;Lorg/bouncycastle/asn1/ocsp/ResponseBytes;)V
invokespecial org.bouncycastle.ocsp.OCSPResp.<init>:(Lorg/bouncycastle/asn1/ocsp/OCSPResponse;)V
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof org.bouncycastle.ocsp.BasicOCSPResp
ifeq 14
3: aload 2
checkcast org.bouncycastle.ocsp.BasicOCSPResp
astore 3
start local 3 4: new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokevirtual org.bouncycastle.ocsp.BasicOCSPResp.getEncoded:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
astore 4
start local 4 5: goto 8
end local 4 6: StackMap locals: org.bouncycastle.ocsp.OCSPRespGenerator int java.lang.Object org.bouncycastle.ocsp.BasicOCSPResp
StackMap stack: java.io.IOException
astore 5
start local 5 7: new org.bouncycastle.ocsp.OCSPException
dup
ldc "can't encode object."
aload 5
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 start local 4 8: StackMap locals: org.bouncycastle.asn1.ASN1OctetString
StackMap stack:
new org.bouncycastle.asn1.ocsp.ResponseBytes
dup
9: getstatic org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers.id_pkix_ocsp_basic:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 4
10: invokespecial org.bouncycastle.asn1.ocsp.ResponseBytes.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/ASN1OctetString;)V
astore 5
start local 5 11: new org.bouncycastle.ocsp.OCSPResp
dup
new org.bouncycastle.asn1.ocsp.OCSPResponse
dup
12: new org.bouncycastle.asn1.ocsp.OCSPResponseStatus
dup
iload 1
invokespecial org.bouncycastle.asn1.ocsp.OCSPResponseStatus.<init>:(I)V
aload 5
invokespecial org.bouncycastle.asn1.ocsp.OCSPResponse.<init>:(Lorg/bouncycastle/asn1/ocsp/OCSPResponseStatus;Lorg/bouncycastle/asn1/ocsp/ResponseBytes;)V
13: invokespecial org.bouncycastle.ocsp.OCSPResp.<init>:(Lorg/bouncycastle/asn1/ocsp/OCSPResponse;)V
areturn
end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
new org.bouncycastle.ocsp.OCSPException
dup
ldc "unknown response object"
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/ocsp/OCSPRespGenerator;
0 15 1 status I
0 15 2 response Ljava/lang/Object;
4 14 3 r Lorg/bouncycastle/ocsp/BasicOCSPResp;
5 6 4 octs Lorg/bouncycastle/asn1/ASN1OctetString;
8 14 4 octs Lorg/bouncycastle/asn1/ASN1OctetString;
7 8 5 e Ljava/io/IOException;
11 14 5 rb Lorg/bouncycastle/asn1/ocsp/ResponseBytes;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException
MethodParameters:
Name Flags
status
response
}
SourceFile: "OCSPRespGenerator.java"