public class org.bouncycastle.ocsp.OCSPReq implements java.security.cert.X509Extension
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.OCSPReq
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ocsp.OCSPRequest req;
descriptor: Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.ocsp.OCSPRequest);
descriptor: (Lorg/bouncycastle/asn1/ocsp/OCSPRequest;)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.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/OCSPReq;
0 3 1 req Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
MethodParameters:
Name Flags
req
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.OCSPReq.<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/OCSPReq;
0 2 1 req [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
req
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.OCSPReq.<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/OCSPReq;
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.OCSPRequest.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
putfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
2: goto 7
3: StackMap locals: org.bouncycastle.ocsp.OCSPReq 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 request: "
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 request: "
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/OCSPReq;
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 byte[] getTBSRequest();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ocsp.TBSRequest.getEncoded:()[B
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new org.bouncycastle.ocsp.OCSPException
dup
ldc "problem encoding tbsRequest"
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/OCSPReq;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException
public int getVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ocsp.TBSRequest.getVersion:()Lorg/bouncycastle/asn1/DERInteger;
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public org.bouncycastle.asn1.x509.GeneralName getRequestorName();
descriptor: ()Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ocsp.TBSRequest.getRequestorName:()Lorg/bouncycastle/asn1/x509/GeneralName;
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public org.bouncycastle.ocsp.Req[] getRequestList();
descriptor: ()[Lorg/bouncycastle/ocsp/Req;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ocsp.TBSRequest.getRequestList:()Lorg/bouncycastle/asn1/ASN1Sequence;
astore 1
start local 1 1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
anewarray org.bouncycastle.ocsp.Req
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.ocsp.Req[] int
StackMap stack:
aload 2
iload 3
new org.bouncycastle.ocsp.Req
dup
aload 1
iload 3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.ocsp.Request.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/Request;
invokespecial org.bouncycastle.ocsp.Req.<init>:(Lorg/bouncycastle/asn1/ocsp/Request;)V
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmpne 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/ocsp/OCSPReq;
1 8 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
2 8 2 requests [Lorg/bouncycastle/ocsp/Req;
3 7 3 i I
public org.bouncycastle.asn1.x509.X509Extensions getRequestExtensions();
descriptor: ()Lorg/bouncycastle/asn1/x509/X509Extensions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ocsp.TBSRequest.getRequestExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
invokestatic org.bouncycastle.asn1.x509.X509Extensions.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/X509Extensions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public java.lang.String getSignatureAlgOID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.isSigned:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getOptionalSignature:()Lorg/bouncycastle/asn1/ocsp/Signature;
invokevirtual org.bouncycastle.asn1.ocsp.Signature.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public byte[] getSignature();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.isSigned:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getOptionalSignature:()Lorg/bouncycastle/asn1/ocsp/Signature;
invokevirtual org.bouncycastle.asn1.ocsp.Signature.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/OCSPReq;
private java.util.List getCertList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 2: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 3
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 3: aload 1
invokestatic org.bouncycastle.ocsp.OCSPUtil.createX509CertificateFactory:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 5
start local 5 4: goto 7
end local 5 5: StackMap locals: org.bouncycastle.ocsp.OCSPReq java.lang.String java.util.List java.io.ByteArrayOutputStream org.bouncycastle.asn1.ASN1OutputStream
StackMap stack: java.security.cert.CertificateException
astore 6
start local 6 6: new org.bouncycastle.ocsp.OCSPException
dup
ldc "can't get certificate factory."
aload 6
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 6 start local 5 7: StackMap locals: java.security.cert.CertificateFactory
StackMap stack:
aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getOptionalSignature:()Lorg/bouncycastle/asn1/ocsp/Signature;
invokevirtual org.bouncycastle.asn1.ocsp.Signature.getCerts:()Lorg/bouncycastle/asn1/ASN1Sequence;
astore 6
start local 6 8: aload 6
ifnull 26
9: aload 6
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 7
start local 7 10: goto 25
11: StackMap locals: org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 4
aload 7
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Ljava/lang/Object;)V
12: aload 2
aload 5
13: new java.io.ByteArrayInputStream
dup
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
14: invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: goto 24
16: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 17: new org.bouncycastle.ocsp.OCSPException
dup
18: ldc "can't re-encode certificate!"
aload 8
19: invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 20: StackMap locals:
StackMap stack: java.security.cert.CertificateException
astore 8
start local 8 21: new org.bouncycastle.ocsp.OCSPException
dup
22: ldc "can't re-encode certificate!"
aload 8
23: invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 24: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.ByteArrayOutputStream.reset:()V
25: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 11
end local 7 26: StackMap locals:
StackMap stack:
aload 2
areturn
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/ocsp/OCSPReq;
0 27 1 provider Ljava/lang/String;
1 27 2 certs Ljava/util/List;
2 27 3 bOut Ljava/io/ByteArrayOutputStream;
3 27 4 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
4 5 5 cf Ljava/security/cert/CertificateFactory;
7 27 5 cf Ljava/security/cert/CertificateFactory;
6 7 6 ex Ljava/security/cert/CertificateException;
8 27 6 s Lorg/bouncycastle/asn1/ASN1Sequence;
10 26 7 e Ljava/util/Enumeration;
17 20 8 ex Ljava/io/IOException;
21 24 8 ex Ljava/security/cert/CertificateException;
Exception table:
from to target type
3 4 5 Class java.security.cert.CertificateException
11 15 16 Class java.io.IOException
11 15 20 Class java.security.cert.CertificateException
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
provider
public java.security.cert.X509Certificate[] getCerts(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.isSigned:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.ocsp.OCSPReq.getCertList:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 3: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.security.cert.X509Certificate
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/OCSPReq;
0 4 1 provider Ljava/lang/String;
3 4 2 certs Ljava/util/List;
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
provider
public java.security.cert.CertStore getCertificates(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/security/cert/CertStore;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.isSigned:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.security.cert.CollectionCertStoreParameters
dup
aload 0
aload 2
invokevirtual org.bouncycastle.ocsp.OCSPReq.getCertList:(Ljava/lang/String;)Ljava/util/List;
invokespecial java.security.cert.CollectionCertStoreParameters.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 3: aload 1
aload 3
aload 2
invokestatic org.bouncycastle.ocsp.OCSPUtil.createCertStoreInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;Ljava/lang/String;)Ljava/security/cert/CertStore;
4: areturn
end local 3 5: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 3
start local 3 6: new org.bouncycastle.ocsp.OCSPException
dup
ldc "can't setup the CertStore"
aload 3
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
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/OCSPReq;
0 7 1 type Ljava/lang/String;
0 7 2 provider Ljava/lang/String;
3 5 3 params Ljava/security/cert/CertStoreParameters;
6 7 3 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
2 4 5 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, org.bouncycastle.ocsp.OCSPException
MethodParameters:
Name Flags
type
provider
public boolean isSigned();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getOptionalSignature:()Lorg/bouncycastle/asn1/ocsp/Signature;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public boolean verify(java.security.PublicKey, java.lang.String);
descriptor: (Ljava/security/PublicKey;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.isSigned:()Z
ifne 2
1: new org.bouncycastle.ocsp.OCSPException
dup
ldc "attempt to verify signature on unsigned object"
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getSignatureAlgOID:()Ljava/lang/String;
aload 2
invokestatic org.bouncycastle.ocsp.OCSPUtil.createSignatureInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
astore 3
start local 3 3: aload 3
aload 1
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
4: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 4
start local 4 5: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 4
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 6: aload 5
aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ocsp.OCSPRequest.getTbsRequest:()Lorg/bouncycastle/asn1/ocsp/TBSRequest;
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Ljava/lang/Object;)V
7: aload 3
aload 4
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.security.Signature.update:([B)V
8: aload 3
aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getSignature:()[B
invokevirtual java.security.Signature.verify:([B)Z
9: ireturn
end local 5 end local 4 end local 3 10: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 11: aload 3
athrow
end local 3 12: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 13: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "exception processing sig: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/ocsp/OCSPReq;
0 14 1 key Ljava/security/PublicKey;
0 14 2 sigProvider Ljava/lang/String;
3 10 3 signature Ljava/security/Signature;
5 10 4 bOut Ljava/io/ByteArrayOutputStream;
6 10 5 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
11 12 3 e Ljava/security/NoSuchProviderException;
13 14 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 9 10 Class java.security.NoSuchProviderException
2 9 12 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.ocsp.OCSPException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
key
sigProvider
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: new org.bouncycastle.asn1.ASN1OutputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1OutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 2: aload 2
aload 0
getfield org.bouncycastle.ocsp.OCSPReq.req:Lorg/bouncycastle/asn1/ocsp/OCSPRequest;
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeObject:(Ljava/lang/Object;)V
3: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/OCSPReq;
1 4 1 bOut Ljava/io/ByteArrayOutputStream;
2 4 2 aOut Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
public boolean hasUnsupportedCriticalExtension();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getCriticalExtensionOIDs:()Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifne 3
2: iconst_1
ireturn
3: StackMap locals: java.util.Set
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/OCSPReq;
1 4 1 extns Ljava/util/Set;
private java.util.Set getExtensionOIDs(boolean);
descriptor: (Z)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getRequestExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
astore 3
start local 3 2: aload 3
ifnull 10
3: aload 3
invokevirtual org.bouncycastle.asn1.x509.X509Extensions.oids:()Ljava/util/Enumeration;
astore 4
start local 4 4: goto 9
5: StackMap locals: java.util.Set org.bouncycastle.asn1.x509.X509Extensions java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
astore 5
start local 5 6: aload 3
aload 5
invokevirtual org.bouncycastle.asn1.x509.X509Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/X509Extension;
astore 6
start local 6 7: iload 1
aload 6
invokevirtual org.bouncycastle.asn1.x509.X509Extension.isCritical:()Z
if_icmpne 9
8: aload 2
aload 5
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
end local 4 10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/ocsp/OCSPReq;
0 11 1 critical Z
1 11 2 set Ljava/util/Set;
2 11 3 extensions Lorg/bouncycastle/asn1/x509/X509Extensions;
4 10 4 e Ljava/util/Enumeration;
6 9 5 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
7 9 6 ext Lorg/bouncycastle/asn1/x509/X509Extension;
MethodParameters:
Name Flags
critical
public java.util.Set getCriticalExtensionOIDs();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.bouncycastle.ocsp.OCSPReq.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public java.util.Set getNonCriticalExtensionOIDs();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/OCSPReq;
public byte[] getExtensionValue(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.ocsp.OCSPReq.getRequestExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.x509.X509Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/X509Extension;
astore 3
start local 3 3: aload 3
ifnull 8
4: aload 3
invokevirtual org.bouncycastle.asn1.x509.X509Extension.getValue:()Lorg/bouncycastle/asn1/ASN1OctetString;
ldc "DER"
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getEncoded:(Ljava/lang/String;)[B
5: areturn
6: StackMap locals: org.bouncycastle.ocsp.OCSPReq java.lang.String org.bouncycastle.asn1.x509.X509Extensions org.bouncycastle.asn1.x509.X509Extension
StackMap stack: java.lang.Exception
astore 4
start local 4 7: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "error encoding "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/ocsp/OCSPReq;
0 9 1 oid Ljava/lang/String;
1 9 2 exts Lorg/bouncycastle/asn1/x509/X509Extensions;
3 8 3 ext Lorg/bouncycastle/asn1/x509/X509Extension;
7 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
oid
}
SourceFile: "OCSPReq.java"