public class org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder
super_class: java.lang.Object
{
private java.util.List list;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.Extensions responseExtensions;
descriptor: Lorg/bouncycastle/asn1/x509/Extensions;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.ocsp.RespID responderID;
descriptor: Lorg/bouncycastle/cert/ocsp/RespID;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.cert.ocsp.RespID);
descriptor: (Lorg/bouncycastle/cert/ocsp/RespID;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.list:Ljava/util/List;
2: aload 0
aconst_null
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responseExtensions:Lorg/bouncycastle/asn1/x509/Extensions;
3: aload 0
aload 1
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responderID:Lorg/bouncycastle/cert/ocsp/RespID;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 5 1 responderID Lorg/bouncycastle/cert/ocsp/RespID;
MethodParameters:
Name Flags
responderID
public void <init>(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.operator.DigestCalculator);
descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/operator/DigestCalculator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.list:Ljava/util/List;
2: aload 0
aconst_null
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responseExtensions:Lorg/bouncycastle/asn1/x509/Extensions;
3: aload 0
new org.bouncycastle.cert.ocsp.RespID
dup
aload 1
aload 2
invokespecial org.bouncycastle.cert.ocsp.RespID.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/operator/DigestCalculator;)V
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responderID:Lorg/bouncycastle/cert/ocsp/RespID;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 5 1 key Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
0 5 2 digCalc Lorg/bouncycastle/operator/DigestCalculator;
Exceptions:
throws org.bouncycastle.cert.ocsp.OCSPException
MethodParameters:
Name Flags
key
digCalc
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder addResponse(org.bouncycastle.cert.ocsp.CertificateID, org.bouncycastle.cert.ocsp.CertificateStatus);
descriptor: (Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
aconst_null
aconst_null
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.addResponse:(Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 certID Lorg/bouncycastle/cert/ocsp/CertificateID;
0 2 2 certStatus Lorg/bouncycastle/cert/ocsp/CertificateStatus;
MethodParameters:
Name Flags
certID
certStatus
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder addResponse(org.bouncycastle.cert.ocsp.CertificateID, org.bouncycastle.cert.ocsp.CertificateStatus, org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
aconst_null
aload 3
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.addResponse:(Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 certID Lorg/bouncycastle/cert/ocsp/CertificateID;
0 2 2 certStatus Lorg/bouncycastle/cert/ocsp/CertificateStatus;
0 2 3 singleExtensions Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
certID
certStatus
singleExtensions
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder addResponse(org.bouncycastle.cert.ocsp.CertificateID, org.bouncycastle.cert.ocsp.CertificateStatus, java.util.Date, org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
aload 3
aload 4
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.addResponse:(Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
pop
1: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 certID Lorg/bouncycastle/cert/ocsp/CertificateID;
0 2 2 certStatus Lorg/bouncycastle/cert/ocsp/CertificateStatus;
0 2 3 nextUpdate Ljava/util/Date;
0 2 4 singleExtensions Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
certID
certStatus
nextUpdate
singleExtensions
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder addResponse(org.bouncycastle.cert.ocsp.CertificateID, org.bouncycastle.cert.ocsp.CertificateStatus, java.util.Date, java.util.Date);
descriptor: (Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.addResponse:(Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
pop
1: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 certID Lorg/bouncycastle/cert/ocsp/CertificateID;
0 2 2 certStatus Lorg/bouncycastle/cert/ocsp/CertificateStatus;
0 2 3 thisUpdate Ljava/util/Date;
0 2 4 nextUpdate Ljava/util/Date;
MethodParameters:
Name Flags
certID
certStatus
thisUpdate
nextUpdate
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder addResponse(org.bouncycastle.cert.ocsp.CertificateID, org.bouncycastle.cert.ocsp.CertificateStatus, java.util.Date, java.util.Date, org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.list:Ljava/util/List;
new org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject.<init>:(Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;Lorg/bouncycastle/cert/ocsp/CertificateID;Lorg/bouncycastle/cert/ocsp/CertificateStatus;Ljava/util/Date;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
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 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 certID Lorg/bouncycastle/cert/ocsp/CertificateID;
0 2 2 certStatus Lorg/bouncycastle/cert/ocsp/CertificateStatus;
0 2 3 thisUpdate Ljava/util/Date;
0 2 4 nextUpdate Ljava/util/Date;
0 2 5 singleExtensions Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
certID
certStatus
thisUpdate
nextUpdate
singleExtensions
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder setResponseExtensions(org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responseExtensions:Lorg/bouncycastle/asn1/x509/Extensions;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 2 1 responseExtensions Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
responseExtensions
public org.bouncycastle.cert.ocsp.BasicOCSPResp build(org.bouncycastle.operator.ContentSigner, org.bouncycastle.cert.X509CertificateHolder[], java.util.Date);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;[Lorg/bouncycastle/cert/X509CertificateHolder;Ljava/util/Date;)Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 1: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 5
start local 5 2: goto 7
3: StackMap locals: java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 5
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject.toResponse:()Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: goto 7
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 6: new org.bouncycastle.cert.ocsp.OCSPException
dup
ldc "exception creating Request"
aload 6
invokespecial org.bouncycastle.cert.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: new org.bouncycastle.asn1.ocsp.ResponseData
dup
aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responderID:Lorg/bouncycastle/cert/ocsp/RespID;
invokevirtual org.bouncycastle.cert.ocsp.RespID.toASN1Primitive:()Lorg/bouncycastle/asn1/ocsp/ResponderID;
new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 3
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/util/Date;)V
new org.bouncycastle.asn1.DERSequence
dup
aload 5
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder.responseExtensions:Lorg/bouncycastle/asn1/x509/Extensions;
invokespecial org.bouncycastle.asn1.ocsp.ResponseData.<init>:(Lorg/bouncycastle/asn1/ocsp/ResponderID;Lorg/bouncycastle/asn1/ASN1GeneralizedTime;Lorg/bouncycastle/asn1/ASN1Sequence;Lorg/bouncycastle/asn1/x509/Extensions;)V
astore 6
start local 6 9: aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getOutputStream:()Ljava/io/OutputStream;
astore 8
start local 8 10: aload 8
aload 6
ldc "DER"
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
11: aload 8
invokevirtual java.io.OutputStream.close:()V
12: new org.bouncycastle.asn1.DERBitString
dup
aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getSignature:()[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 7
end local 8 start local 7 13: goto 16
end local 7 14: StackMap locals: org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder org.bouncycastle.operator.ContentSigner org.bouncycastle.cert.X509CertificateHolder[] java.util.Date java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.ocsp.ResponseData
StackMap stack: java.lang.Exception
astore 8
start local 8 15: new org.bouncycastle.cert.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "exception processing TBSRequest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokespecial org.bouncycastle.cert.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 start local 7 16: StackMap locals: org.bouncycastle.asn1.DERBitString
StackMap stack:
aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 8
start local 8 17: aconst_null
astore 9
start local 9 18: aload 2
ifnull 26
aload 2
arraylength
ifle 26
19: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 10
start local 10 20: iconst_0
istore 11
start local 11 21: goto 24
22: StackMap locals: org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder org.bouncycastle.operator.ContentSigner org.bouncycastle.cert.X509CertificateHolder[] java.util.Date java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.ocsp.ResponseData org.bouncycastle.asn1.DERBitString org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.DERSequence org.bouncycastle.asn1.ASN1EncodableVector int
StackMap stack:
aload 10
aload 2
iload 11
aaload
invokevirtual org.bouncycastle.cert.X509CertificateHolder.toASN1Structure:()Lorg/bouncycastle/asn1/x509/Certificate;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
23: iinc 11 1
StackMap locals:
StackMap stack:
24: iload 11
aload 2
arraylength
if_icmpne 22
end local 11 25: new org.bouncycastle.asn1.DERSequence
dup
aload 10
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
astore 9
end local 10 26: StackMap locals:
StackMap stack:
new org.bouncycastle.cert.ocsp.BasicOCSPResp
dup
new org.bouncycastle.asn1.ocsp.BasicOCSPResponse
dup
aload 6
aload 8
aload 7
aload 9
invokespecial org.bouncycastle.asn1.ocsp.BasicOCSPResponse.<init>:(Lorg/bouncycastle/asn1/ocsp/ResponseData;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Sequence;)V
invokespecial org.bouncycastle.cert.ocsp.BasicOCSPResp.<init>:(Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;)V
areturn
end local 9 end local 8 end local 7 end local 6 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 27 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPRespBuilder;
0 27 1 signer Lorg/bouncycastle/operator/ContentSigner;
0 27 2 chain [Lorg/bouncycastle/cert/X509CertificateHolder;
0 27 3 producedAt Ljava/util/Date;
1 27 4 it Ljava/util/Iterator;
2 27 5 responses Lorg/bouncycastle/asn1/ASN1EncodableVector;
6 7 6 e Ljava/lang/Exception;
9 27 6 tbsResp Lorg/bouncycastle/asn1/ocsp/ResponseData;
13 14 7 bitSig Lorg/bouncycastle/asn1/DERBitString;
16 27 7 bitSig Lorg/bouncycastle/asn1/DERBitString;
10 13 8 sigOut Ljava/io/OutputStream;
15 16 8 e Ljava/lang/Exception;
17 27 8 sigAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
18 27 9 chainSeq Lorg/bouncycastle/asn1/DERSequence;
20 26 10 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
21 25 11 i I
Exception table:
from to target type
3 4 5 Class java.lang.Exception
9 13 14 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cert.ocsp.OCSPException
MethodParameters:
Name Flags
signer
chain
producedAt
}
SourceFile: "BasicOCSPRespBuilder.java"
NestMembers:
org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject
InnerClasses:
private ResponseObject = org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder$ResponseObject of org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder