public class org.bouncycastle.ocsp.OCSPReqGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.OCSPReqGenerator
super_class: java.lang.Object
{
private java.util.List list;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.GeneralName requestorName;
descriptor: Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.X509Extensions requestExtensions;
descriptor: Lorg/bouncycastle/asn1/x509/X509Extensions;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 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.ocsp.OCSPReqGenerator.list:Ljava/util/List;
2: aload 0
aconst_null
putfield org.bouncycastle.ocsp.OCSPReqGenerator.requestorName:Lorg/bouncycastle/asn1/x509/GeneralName;
3: aload 0
aconst_null
putfield org.bouncycastle.ocsp.OCSPReqGenerator.requestExtensions:Lorg/bouncycastle/asn1/x509/X509Extensions;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
public void addRequest(org.bouncycastle.ocsp.CertificateID);
descriptor: (Lorg/bouncycastle/ocsp/CertificateID;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReqGenerator.list:Ljava/util/List;
new org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject
dup
aload 0
aload 1
aconst_null
invokespecial org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject.<init>:(Lorg/bouncycastle/ocsp/OCSPReqGenerator;Lorg/bouncycastle/ocsp/CertificateID;Lorg/bouncycastle/asn1/x509/X509Extensions;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 2 1 certId Lorg/bouncycastle/ocsp/CertificateID;
MethodParameters:
Name Flags
certId
public void addRequest(org.bouncycastle.ocsp.CertificateID, org.bouncycastle.asn1.x509.X509Extensions);
descriptor: (Lorg/bouncycastle/ocsp/CertificateID;Lorg/bouncycastle/asn1/x509/X509Extensions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReqGenerator.list:Ljava/util/List;
new org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject
dup
aload 0
aload 1
aload 2
invokespecial org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject.<init>:(Lorg/bouncycastle/ocsp/OCSPReqGenerator;Lorg/bouncycastle/ocsp/CertificateID;Lorg/bouncycastle/asn1/x509/X509Extensions;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 2 1 certId Lorg/bouncycastle/ocsp/CertificateID;
0 2 2 singleRequestExtensions Lorg/bouncycastle/asn1/x509/X509Extensions;
MethodParameters:
Name Flags
certId
singleRequestExtensions
public void setRequestorName(javax.security.auth.x500.X500Principal);
descriptor: (Ljavax/security/auth/x500/X500Principal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.asn1.x509.GeneralName
dup
iconst_4
new org.bouncycastle.jce.X509Principal
dup
aload 1
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
invokespecial org.bouncycastle.jce.X509Principal.<init>:([B)V
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
putfield org.bouncycastle.ocsp.OCSPReqGenerator.requestorName:Lorg/bouncycastle/asn1/x509/GeneralName;
1: goto 4
2: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot encode principal: "
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 5 1 requestorName Ljavax/security/auth/x500/X500Principal;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
requestorName
public void setRequestorName(org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/x509/GeneralName;)V
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.ocsp.OCSPReqGenerator.requestorName:Lorg/bouncycastle/asn1/x509/GeneralName;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 2 1 requestorName Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
requestorName
public void setRequestExtensions(org.bouncycastle.asn1.x509.X509Extensions);
descriptor: (Lorg/bouncycastle/asn1/x509/X509Extensions;)V
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.ocsp.OCSPReqGenerator.requestExtensions:Lorg/bouncycastle/asn1/x509/X509Extensions;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 2 1 requestExtensions Lorg/bouncycastle/asn1/x509/X509Extensions;
MethodParameters:
Name Flags
requestExtensions
private org.bouncycastle.ocsp.OCSPReq generateRequest(org.bouncycastle.asn1.DERObjectIdentifier, java.security.PrivateKey, java.security.cert.X509Certificate[], java.lang.String, java.security.SecureRandom);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/SecureRandom;)Lorg/bouncycastle/ocsp/OCSPReq;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=15, 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.ocsp.OCSPReqGenerator.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
start local 6 1: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 7
start local 7 2: goto 7
3: StackMap locals: java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 7
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject
invokevirtual org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject.toRequest:()Lorg/bouncycastle/asn1/ocsp/Request;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: goto 7
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 8
start local 8 6: new org.bouncycastle.ocsp.OCSPException
dup
ldc "exception creating Request"
aload 8
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: new org.bouncycastle.asn1.ocsp.TBSRequest
dup
aload 0
getfield org.bouncycastle.ocsp.OCSPReqGenerator.requestorName:Lorg/bouncycastle/asn1/x509/GeneralName;
new org.bouncycastle.asn1.DERSequence
dup
aload 7
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
aload 0
getfield org.bouncycastle.ocsp.OCSPReqGenerator.requestExtensions:Lorg/bouncycastle/asn1/x509/X509Extensions;
invokespecial org.bouncycastle.asn1.ocsp.TBSRequest.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/ASN1Sequence;Lorg/bouncycastle/asn1/x509/X509Extensions;)V
astore 8
start local 8 9: aconst_null
astore 9
start local 9 10: aconst_null
astore 10
start local 10 11: aload 1
ifnull 51
12: aload 0
getfield org.bouncycastle.ocsp.OCSPReqGenerator.requestorName:Lorg/bouncycastle/asn1/x509/GeneralName;
ifnonnull 14
13: new org.bouncycastle.ocsp.OCSPException
dup
ldc "requestorName must be specified if request is signed."
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.bouncycastle.asn1.ocsp.TBSRequest java.security.Signature org.bouncycastle.asn1.ocsp.Signature
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
aload 4
invokestatic org.bouncycastle.ocsp.OCSPUtil.createSignatureInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
astore 9
15: aload 5
ifnull 18
16: aload 9
aload 2
aload 5
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
17: goto 24
18: StackMap locals:
StackMap stack:
aload 9
aload 2
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
19: goto 24
20: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 11
start local 11 21: aload 11
athrow
end local 11 22: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 11
start local 11 23: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "exception creating signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 11
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 24: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 25: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 12
start local 12 26: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 12
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 13
start local 13 27: aload 13
aload 8
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Ljava/lang/Object;)V
28: aload 9
aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.security.Signature.update:([B)V
29: new org.bouncycastle.asn1.DERBitString
dup
aload 9
invokevirtual java.security.Signature.sign:()[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 11
end local 13 end local 12 30: goto 33
31: StackMap locals: org.bouncycastle.ocsp.OCSPReqGenerator org.bouncycastle.asn1.DERObjectIdentifier java.security.PrivateKey java.security.cert.X509Certificate[] java.lang.String java.security.SecureRandom java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.ocsp.TBSRequest java.security.Signature org.bouncycastle.asn1.ocsp.Signature org.bouncycastle.asn1.DERBitString
StackMap stack: java.lang.Exception
astore 12
start local 12 32: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "exception processing TBSRequest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 12
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 12 33: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 1
new org.bouncycastle.asn1.DERNull
dup
invokespecial org.bouncycastle.asn1.DERNull.<init>:()V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
astore 12
start local 12 34: aload 3
ifnull 50
aload 3
arraylength
ifle 50
35: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 13
start local 13 36: iconst_0
istore 14
start local 14 37: goto 42
38: StackMap locals: org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.ASN1EncodableVector int
StackMap stack:
aload 13
new org.bouncycastle.asn1.x509.X509CertificateStructure
dup
39: aload 3
iload 14
aaload
invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.X509CertificateStructure.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
40: invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
41: iinc 14 1
StackMap locals:
StackMap stack:
42: iload 14
aload 3
arraylength
if_icmpne 38
end local 14 43: goto 48
44: StackMap locals: org.bouncycastle.ocsp.OCSPReqGenerator org.bouncycastle.asn1.DERObjectIdentifier java.security.PrivateKey java.security.cert.X509Certificate[] java.lang.String java.security.SecureRandom java.util.Iterator org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.ocsp.TBSRequest java.security.Signature org.bouncycastle.asn1.ocsp.Signature org.bouncycastle.asn1.DERBitString org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack: java.io.IOException
astore 14
start local 14 45: new org.bouncycastle.ocsp.OCSPException
dup
ldc "error processing certs"
aload 14
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 14 46: StackMap locals:
StackMap stack: java.security.cert.CertificateEncodingException
astore 14
start local 14 47: new org.bouncycastle.ocsp.OCSPException
dup
ldc "error encoding certs"
aload 14
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 14 48: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ocsp.Signature
dup
aload 12
aload 11
new org.bouncycastle.asn1.DERSequence
dup
aload 13
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokespecial org.bouncycastle.asn1.ocsp.Signature.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 10
end local 13 49: goto 51
50: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ocsp.Signature
dup
aload 12
aload 11
invokespecial org.bouncycastle.asn1.ocsp.Signature.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERBitString;)V
astore 10
end local 12 end local 11 51: StackMap locals:
StackMap stack:
new org.bouncycastle.ocsp.OCSPReq
dup
new org.bouncycastle.asn1.ocsp.OCSPRequest
dup
aload 8
aload 10
invokespecial org.bouncycastle.asn1.ocsp.OCSPRequest.<init>:(Lorg/bouncycastle/asn1/ocsp/TBSRequest;Lorg/bouncycastle/asn1/ocsp/Signature;)V
invokespecial org.bouncycastle.ocsp.OCSPReq.<init>:(Lorg/bouncycastle/asn1/ocsp/OCSPRequest;)V
areturn
end local 10 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 52 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 52 1 signingAlgorithm Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 52 2 key Ljava/security/PrivateKey;
0 52 3 chain [Ljava/security/cert/X509Certificate;
0 52 4 provider Ljava/lang/String;
0 52 5 random Ljava/security/SecureRandom;
1 52 6 it Ljava/util/Iterator;
2 52 7 requests Lorg/bouncycastle/asn1/ASN1EncodableVector;
6 7 8 e Ljava/lang/Exception;
9 52 8 tbsReq Lorg/bouncycastle/asn1/ocsp/TBSRequest;
10 52 9 sig Ljava/security/Signature;
11 52 10 signature Lorg/bouncycastle/asn1/ocsp/Signature;
21 22 11 e Ljava/security/NoSuchProviderException;
23 24 11 e Ljava/security/GeneralSecurityException;
25 51 11 bitSig Lorg/bouncycastle/asn1/DERBitString;
26 30 12 bOut Ljava/io/ByteArrayOutputStream;
27 30 13 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
32 33 12 e Ljava/lang/Exception;
34 51 12 sigAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
36 49 13 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
37 43 14 i I
45 46 14 e Ljava/io/IOException;
47 48 14 e Ljava/security/cert/CertificateEncodingException;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
14 19 20 Class java.security.NoSuchProviderException
14 19 22 Class java.security.GeneralSecurityException
25 30 31 Class java.lang.Exception
36 43 44 Class java.io.IOException
36 43 46 Class java.security.cert.CertificateEncodingException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
signingAlgorithm
key
chain
provider
random
public org.bouncycastle.ocsp.OCSPReq generate();
descriptor: ()Lorg/bouncycastle/ocsp/OCSPReq;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
invokevirtual org.bouncycastle.ocsp.OCSPReqGenerator.generateRequest:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/SecureRandom;)Lorg/bouncycastle/ocsp/OCSPReq;
1: areturn
2: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 1
start local 1 3: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "no provider! - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
3 4 1 e Ljava/security/NoSuchProviderException;
Exception table:
from to target type
0 1 2 Class java.security.NoSuchProviderException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException
public org.bouncycastle.ocsp.OCSPReq generate(java.lang.String, java.security.PrivateKey, java.security.cert.X509Certificate[], java.lang.String);
descriptor: (Ljava/lang/String;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;)Lorg/bouncycastle/ocsp/OCSPReq;
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.ocsp.OCSPReqGenerator.generate:(Ljava/lang/String;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/SecureRandom;)Lorg/bouncycastle/ocsp/OCSPReq;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 1 1 signingAlgorithm Ljava/lang/String;
0 1 2 key Ljava/security/PrivateKey;
0 1 3 chain [Ljava/security/cert/X509Certificate;
0 1 4 provider Ljava/lang/String;
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException, java.lang.IllegalArgumentException
MethodParameters:
Name Flags
signingAlgorithm
key
chain
provider
public org.bouncycastle.ocsp.OCSPReq generate(java.lang.String, java.security.PrivateKey, java.security.cert.X509Certificate[], java.lang.String, java.security.SecureRandom);
descriptor: (Ljava/lang/String;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/SecureRandom;)Lorg/bouncycastle/ocsp/OCSPReq;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "no signing algorithm specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.bouncycastle.ocsp.OCSPUtil.getAlgorithmOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
astore 6
start local 6 3: aload 0
aload 6
aload 2
aload 3
aload 4
aload 5
invokevirtual org.bouncycastle.ocsp.OCSPReqGenerator.generateRequest:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/SecureRandom;)Lorg/bouncycastle/ocsp/OCSPReq;
4: areturn
end local 6 5: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown signing algorithm specified: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
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 7 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
0 7 1 signingAlgorithm Ljava/lang/String;
0 7 2 key Ljava/security/PrivateKey;
0 7 3 chain [Ljava/security/cert/X509Certificate;
0 7 4 provider Ljava/lang/String;
0 7 5 random Ljava/security/SecureRandom;
3 5 6 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
Exception table:
from to target type
2 4 5 Class java.lang.IllegalArgumentException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException, java.lang.IllegalArgumentException
MethodParameters:
Name Flags
signingAlgorithm
key
chain
provider
random
public java.util.Iterator getSignatureAlgNames();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.bouncycastle.ocsp.OCSPUtil.getAlgNames:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReqGenerator;
}
SourceFile: "OCSPReqGenerator.java"
NestMembers:
org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject
InnerClasses:
private RequestObject = org.bouncycastle.ocsp.OCSPReqGenerator$RequestObject of org.bouncycastle.ocsp.OCSPReqGenerator