public class org.bouncycastle.ocsp.BasicOCSPResp implements java.security.cert.X509Extension
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.BasicOCSPResp
super_class: java.lang.Object
{
org.bouncycastle.asn1.ocsp.BasicOCSPResponse resp;
descriptor: Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
flags: (0x0000)
org.bouncycastle.asn1.ocsp.ResponseData data;
descriptor: Lorg/bouncycastle/asn1/ocsp/ResponseData;
flags: (0x0000)
java.security.cert.X509Certificate[] chain;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0000)
public void <init>(org.bouncycastle.asn1.ocsp.BasicOCSPResponse);
descriptor: (Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;)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
aconst_null
putfield org.bouncycastle.ocsp.BasicOCSPResp.chain:[Ljava/security/cert/X509Certificate;
2: aload 0
aload 1
putfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
3: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
putfield org.bouncycastle.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
0 5 1 resp Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
MethodParameters:
Name Flags
resp
public byte[] getTBSResponseData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.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 tbsResponseData"
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/BasicOCSPResp;
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.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.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/BasicOCSPResp;
public org.bouncycastle.ocsp.RespID getResponderId();
descriptor: ()Lorg/bouncycastle/ocsp/RespID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.ocsp.RespID
dup
aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getResponderID:()Lorg/bouncycastle/asn1/ocsp/ResponderID;
invokespecial org.bouncycastle.ocsp.RespID.<init>:(Lorg/bouncycastle/asn1/ocsp/ResponderID;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
public java.util.Date getProducedAt();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getProducedAt:()Lorg/bouncycastle/asn1/DERGeneralizedTime;
invokevirtual org.bouncycastle.asn1.DERGeneralizedTime.getDate:()Ljava/util/Date;
1: areturn
2: StackMap locals:
StackMap stack: java.text.ParseException
astore 1
start local 1 3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "ParseException:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.ParseException.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.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
3 4 1 e Ljava/text/ParseException;
Exception table:
from to target type
0 1 2 Class java.text.ParseException
public org.bouncycastle.ocsp.SingleResp[] getResponses();
descriptor: ()[Lorg/bouncycastle/ocsp/SingleResp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getResponses:()Lorg/bouncycastle/asn1/ASN1Sequence;
astore 1
start local 1 1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
anewarray org.bouncycastle.ocsp.SingleResp
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.SingleResp[] int
StackMap stack:
aload 2
iload 3
new org.bouncycastle.ocsp.SingleResp
dup
aload 1
iload 3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.ocsp.SingleResponse.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokespecial org.bouncycastle.ocsp.SingleResp.<init>:(Lorg/bouncycastle/asn1/ocsp/SingleResponse;)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/BasicOCSPResp;
1 8 1 s Lorg/bouncycastle/asn1/ASN1Sequence;
2 8 2 rs [Lorg/bouncycastle/ocsp/SingleResp;
3 7 3 i I
public org.bouncycastle.asn1.x509.X509Extensions getResponseExtensions();
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.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getResponseExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp.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/BasicOCSPResp;
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.BasicOCSPResp.getResponseExtensions:()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.DERObjectIdentifier
astore 5
start local 5 6: aload 3
aload 5
invokevirtual org.bouncycastle.asn1.x509.X509Extensions.getExtension:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)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.DERObjectIdentifier.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/BasicOCSPResp;
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/DERObjectIdentifier;
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.BasicOCSPResp.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp.getResponseExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.x509.X509Extensions.getExtension:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)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.BasicOCSPResp 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/BasicOCSPResp;
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
public java.lang.String getSignatureAlgName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokestatic org.bouncycastle.ocsp.OCSPUtil.getAlgorithmName:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.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 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
public org.bouncycastle.ocsp.RespData getResponseData();
descriptor: ()Lorg/bouncycastle/ocsp/RespData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.ocsp.RespData
dup
aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokespecial org.bouncycastle.ocsp.RespData.<init>:(Lorg/bouncycastle/asn1/ocsp/ResponseData;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
public byte[] getSignature();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp 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.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.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/BasicOCSPResp;
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
aload 1
invokevirtual org.bouncycastle.ocsp.BasicOCSPResp.getCertList:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 1: 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 2 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
0 2 1 provider Ljava/lang/String;
1 2 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: new java.security.cert.CollectionCertStoreParameters
dup
aload 0
aload 2
invokevirtual org.bouncycastle.ocsp.BasicOCSPResp.getCertList:(Ljava/lang/String;)Ljava/util/List;
invokespecial java.security.cert.CollectionCertStoreParameters.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 1: 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;
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 3
start local 3 4: 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 5 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
0 5 1 type Ljava/lang/String;
0 5 2 provider Ljava/lang/String;
1 3 3 params Ljava/security/cert/CertStoreParameters;
4 5 3 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
0 2 3 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, org.bouncycastle.ocsp.OCSPException
MethodParameters:
Name Flags
type
provider
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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.bouncycastle.ocsp.BasicOCSPResp.getSignatureAlgName:()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 1: aload 3
aload 1
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
2: aload 3
aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
ldc "DER"
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.security.Signature.update:([B)V
3: aload 3
aload 0
invokevirtual org.bouncycastle.ocsp.BasicOCSPResp.getSignature:()[B
invokevirtual java.security.Signature.verify:([B)Z
4: ireturn
end local 3 5: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 6: aload 3
athrow
end local 3 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 8: 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 9 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
0 9 1 key Ljava/security/PublicKey;
0 9 2 sigProvider Ljava/lang/String;
1 5 3 signature Ljava/security/Signature;
6 7 3 e Ljava/security/NoSuchProviderException;
8 9 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.security.NoSuchProviderException
0 4 7 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=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.ocsp.BasicOCSPResp
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
aload 2
getfield org.bouncycastle.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.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/BasicOCSPResp;
0 6 1 o Ljava/lang/Object;
5 6 2 r Lorg/bouncycastle/ocsp/BasicOCSPResp;
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.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/BasicOCSPResp;
}
SourceFile: "BasicOCSPResp.java"