public class org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate extends org.bouncycastle.asn1.ASN1Encodable implements org.bouncycastle.asn1.ASN1Choice
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate
super_class: org.bouncycastle.asn1.ASN1Encodable
{
public static final int certificate;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int publicKeyCertificate;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int attributeCertificate;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private org.bouncycastle.asn1.x509.X509CertificateStructure cert;
descriptor: Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
flags: (0x0002) ACC_PRIVATE
private byte[] publicKeyCert;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] attributeCert;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 4
3: new org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate
dup
aload 0
invokestatic org.bouncycastle.asn1.x509.X509CertificateStructure.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokespecial org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.<init>:(Lorg/bouncycastle/asn1/x509/X509CertificateStructure;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1TaggedObject
ifeq 6
5: new org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1TaggedObject
invokespecial org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.<init>:(Lorg/bouncycastle/asn1/ASN1TaggedObject;)V
areturn
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal object in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "choice item must be explicitly tagged"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 3 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
private void <init>(org.bouncycastle.asn1.ASN1TaggedObject);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
ifne 4
2: aload 0
aload 1
iconst_1
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
putfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
3: goto 8
4: StackMap locals: org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate org.bouncycastle.asn1.ASN1TaggedObject
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
iconst_1
if_icmpne 7
5: aload 0
aload 1
iconst_1
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
putfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.attributeCert:[B
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown tag number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
0 9 1 tagged Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
tagged
public void <init>(org.bouncycastle.asn1.x509.X509CertificateStructure);
descriptor: (Lorg/bouncycastle/asn1/x509/X509CertificateStructure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.cert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
0 3 1 certificate Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
MethodParameters:
Name Flags
certificate
public void <init>(int, byte[]);
descriptor: (I[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.bouncycastle.asn1.DERTaggedObject
dup
iload 1
new org.bouncycastle.asn1.DEROctetString
dup
aload 2
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ILorg/bouncycastle/asn1/DEREncodable;)V
invokespecial org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.<init>:(Lorg/bouncycastle/asn1/ASN1TaggedObject;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
0 2 1 type I
0 2 2 certificateOctets [B
MethodParameters:
Name Flags
type
certificateOctets
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.cert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
ifnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
ifnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
public byte[] getCertificateBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.cert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
ifnull 5
1: aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.cert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokevirtual org.bouncycastle.asn1.x509.X509CertificateStructure.getEncoded:()[B
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "can't decode certificate: "
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;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
ifnull 7
6: aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.attributeCert:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
4 5 1 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
ifnull 2
1: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.publicKeyCert:[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ILorg/bouncycastle/asn1/DEREncodable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.attributeCert:[B
ifnull 4
3: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.attributeCert:[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ILorg/bouncycastle/asn1/DEREncodable;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.isismtt.ocsp.RequestedCertificate.cert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokevirtual org.bouncycastle.asn1.x509.X509CertificateStructure.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/isismtt/ocsp/RequestedCertificate;
}
SourceFile: "RequestedCertificate.java"