public class org.bouncycastle.ocsp.SingleResp implements java.security.cert.X509Extension
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.SingleResp
super_class: java.lang.Object
{
org.bouncycastle.asn1.ocsp.SingleResponse resp;
descriptor: Lorg/bouncycastle/asn1/ocsp/SingleResponse;
flags: (0x0000)
public void <init>(org.bouncycastle.asn1.ocsp.SingleResponse);
descriptor: (Lorg/bouncycastle/asn1/ocsp/SingleResponse;)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.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/SingleResp;
0 3 1 resp Lorg/bouncycastle/asn1/ocsp/SingleResponse;
MethodParameters:
Name Flags
resp
public org.bouncycastle.ocsp.CertificateID getCertID();
descriptor: ()Lorg/bouncycastle/ocsp/CertificateID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.ocsp.CertificateID
dup
aload 0
getfield org.bouncycastle.ocsp.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getCertID:()Lorg/bouncycastle/asn1/ocsp/CertID;
invokespecial org.bouncycastle.ocsp.CertificateID.<init>:(Lorg/bouncycastle/asn1/ocsp/CertID;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/SingleResp;
public java.lang.Object getCertStatus();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getCertStatus:()Lorg/bouncycastle/asn1/ocsp/CertStatus;
astore 1
start local 1 1: aload 1
invokevirtual org.bouncycastle.asn1.ocsp.CertStatus.getTagNo:()I
ifne 3
2: aconst_null
areturn
3: StackMap locals: org.bouncycastle.asn1.ocsp.CertStatus
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.CertStatus.getTagNo:()I
iconst_1
if_icmpne 5
4: new org.bouncycastle.ocsp.RevokedStatus
dup
aload 1
invokevirtual org.bouncycastle.asn1.ocsp.CertStatus.getStatus:()Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.ocsp.RevokedInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ocsp/RevokedInfo;
invokespecial org.bouncycastle.ocsp.RevokedStatus.<init>:(Lorg/bouncycastle/asn1/ocsp/RevokedInfo;)V
areturn
5: StackMap locals:
StackMap stack:
new org.bouncycastle.ocsp.UnknownStatus
dup
invokespecial org.bouncycastle.ocsp.UnknownStatus.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/ocsp/SingleResp;
1 6 1 s Lorg/bouncycastle/asn1/ocsp/CertStatus;
public java.util.Date getThisUpdate();
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.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getThisUpdate:()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/SingleResp;
3 4 1 e Ljava/text/ParseException;
Exception table:
from to target type
0 1 2 Class java.text.ParseException
public java.util.Date getNextUpdate();
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.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getNextUpdate:()Lorg/bouncycastle/asn1/DERGeneralizedTime;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.ocsp.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getNextUpdate:()Lorg/bouncycastle/asn1/DERGeneralizedTime;
invokevirtual org.bouncycastle.asn1.DERGeneralizedTime.getDate:()Ljava/util/Date;
3: areturn
4: StackMap locals:
StackMap stack: java.text.ParseException
astore 1
start local 1 5: 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 6 0 this Lorg/bouncycastle/ocsp/SingleResp;
5 6 1 e Ljava/text/ParseException;
Exception table:
from to target type
2 3 4 Class java.text.ParseException
public org.bouncycastle.asn1.x509.X509Extensions getSingleExtensions();
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.SingleResp.resp:Lorg/bouncycastle/asn1/ocsp/SingleResponse;
invokevirtual org.bouncycastle.asn1.ocsp.SingleResponse.getSingleExtensions:()Lorg/bouncycastle/asn1/x509/X509Extensions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/SingleResp;
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.SingleResp.getCriticalExtensionOIDs:()Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifne 2
iconst_1
ireturn
StackMap locals: java.util.Set
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/SingleResp;
1 3 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.SingleResp.getSingleExtensions:()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/SingleResp;
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.SingleResp.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/SingleResp;
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.SingleResp.getExtensionOIDs:(Z)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/SingleResp;
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.SingleResp.getSingleExtensions:()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.SingleResp 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/SingleResp;
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: "SingleResp.java"