public class org.bouncycastle.cert.ocsp.BasicOCSPResp implements org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.ocsp.BasicOCSPResp
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ocsp.BasicOCSPResponse resp;
descriptor: Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ocsp.ResponseData data;
descriptor: Lorg/bouncycastle/asn1/ocsp/ResponseData;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.Extensions extensions;
descriptor: Lorg/bouncycastle/asn1/x509/Extensions;
flags: (0x0002) ACC_PRIVATE
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
aload 1
putfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
2: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
putfield org.bouncycastle.cert.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
3: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getTbsResponseData:()Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getResponseExtensions:()Lorg/bouncycastle/asn1/x509/Extensions;
invokestatic org.bouncycastle.asn1.x509.Extensions.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Extensions;
putfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/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=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.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
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithmID();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
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.cert.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getVersion:()Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.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/cert/ocsp/BasicOCSPResp;
public org.bouncycastle.cert.ocsp.RespID getResponderId();
descriptor: ()Lorg/bouncycastle/cert/ocsp/RespID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.cert.ocsp.RespID
dup
aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getResponderID:()Lorg/bouncycastle/asn1/ocsp/ResponderID;
invokespecial org.bouncycastle.cert.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/cert/ocsp/BasicOCSPResp;
public java.util.Date getProducedAt();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.data:Lorg/bouncycastle/asn1/ocsp/ResponseData;
invokevirtual org.bouncycastle.asn1.ocsp.ResponseData.getProducedAt:()Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
invokestatic org.bouncycastle.cert.ocsp.OCSPUtils.extractDate:(Lorg/bouncycastle/asn1/ASN1GeneralizedTime;)Ljava/util/Date;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
public org.bouncycastle.cert.ocsp.SingleResp[] getResponses();
descriptor: ()[Lorg/bouncycastle/cert/ocsp/SingleResp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.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.cert.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.cert.ocsp.SingleResp[] int
StackMap stack:
aload 2
iload 3
new org.bouncycastle.cert.ocsp.SingleResp
dup
aload 1
iload 3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ocsp.SingleResponse.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokespecial org.bouncycastle.cert.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/cert/ocsp/BasicOCSPResp;
1 8 1 s Lorg/bouncycastle/asn1/ASN1Sequence;
2 8 2 rs [Lorg/bouncycastle/cert/ocsp/SingleResp;
3 7 3 i I
public boolean hasExtensions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
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/cert/ocsp/BasicOCSPResp;
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
ifnull 2
1: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
aload 1
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
0 3 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
oid
public java.util.List getExtensionOIDs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
invokestatic org.bouncycastle.cert.ocsp.OCSPUtils.getExtensionOIDs:(Lorg/bouncycastle/asn1/x509/Extensions;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
public java.util.Set getCriticalExtensionOIDs();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
invokestatic org.bouncycastle.cert.ocsp.OCSPUtils.getCriticalExtensionOIDs:(Lorg/bouncycastle/asn1/x509/Extensions;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
public java.util.Set getNonCriticalExtensionOIDs();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.extensions:Lorg/bouncycastle/asn1/x509/Extensions;
invokestatic org.bouncycastle.cert.ocsp.OCSPUtils.getNonCriticalExtensionOIDs:(Lorg/bouncycastle/asn1/x509/Extensions;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
public org.bouncycastle.asn1.ASN1ObjectIdentifier getSignatureAlgOID();
descriptor: ()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.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.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/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.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getOctets:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
public org.bouncycastle.cert.X509CertificateHolder[] getCerts();
descriptor: ()[Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getCerts:()Lorg/bouncycastle/asn1/ASN1Sequence;
ifnull 11
1: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getCerts:()Lorg/bouncycastle/asn1/ASN1Sequence;
astore 1
start local 1 2: aload 1
ifnull 10
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
anewarray org.bouncycastle.cert.X509CertificateHolder
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.cert.X509CertificateHolder[] int
StackMap stack:
aload 2
iload 3
new org.bouncycastle.cert.X509CertificateHolder
dup
aload 1
iload 3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.x509.Certificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.cert.X509CertificateHolder.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmpne 6
end local 3 9: aload 2
areturn
end local 2 10: StackMap locals:
StackMap stack:
getstatic org.bouncycastle.cert.ocsp.OCSPUtils.EMPTY_CERTS:[Lorg/bouncycastle/cert/X509CertificateHolder;
areturn
end local 1 11: StackMap locals:
StackMap stack:
getstatic org.bouncycastle.cert.ocsp.OCSPUtils.EMPTY_CERTS:[Lorg/bouncycastle/cert/X509CertificateHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
2 11 1 s Lorg/bouncycastle/asn1/ASN1Sequence;
4 10 2 certs [Lorg/bouncycastle/cert/X509CertificateHolder;
5 9 3 i I
public boolean isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider);
descriptor: (Lorg/bouncycastle/operator/ContentVerifierProvider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
invokevirtual org.bouncycastle.asn1.ocsp.BasicOCSPResponse.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.ContentVerifierProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/ContentVerifier;
astore 2
start local 2 1: aload 2
invokeinterface org.bouncycastle.operator.ContentVerifier.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 2: aload 3
aload 0
getfield org.bouncycastle.cert.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.io.OutputStream.write:([B)V
3: aload 3
invokevirtual java.io.OutputStream.close:()V
4: aload 2
aload 0
invokevirtual org.bouncycastle.cert.ocsp.BasicOCSPResp.getSignature:()[B
invokeinterface org.bouncycastle.operator.ContentVerifier.verify:([B)Z
5: ireturn
end local 3 end local 2 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new org.bouncycastle.cert.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "exception processing sig: "
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;
aload 2
invokespecial org.bouncycastle.cert.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/cert/ocsp/BasicOCSPResp;
0 8 1 verifierProvider Lorg/bouncycastle/operator/ContentVerifierProvider;
1 6 2 verifier Lorg/bouncycastle/operator/ContentVerifier;
2 6 3 vOut Ljava/io/OutputStream;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cert.ocsp.OCSPException
MethodParameters:
Name Flags
verifierProvider
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.cert.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/cert/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.cert.ocsp.BasicOCSPResp
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.cert.ocsp.BasicOCSPResp
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.cert.ocsp.BasicOCSPResp.resp:Lorg/bouncycastle/asn1/ocsp/BasicOCSPResponse;
aload 2
getfield org.bouncycastle.cert.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/cert/ocsp/BasicOCSPResp;
0 6 1 o Ljava/lang/Object;
5 6 2 r Lorg/bouncycastle/cert/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.cert.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/cert/ocsp/BasicOCSPResp;
}
SourceFile: "BasicOCSPResp.java"