public class org.bouncycastle.asn1.cmp.CMPCertificate 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.cmp.CMPCertificate
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.x509.X509CertificateStructure x509v3PKCert;
descriptor: Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AttributeCertificate x509v2AttrCert;
descriptor: Lorg/bouncycastle/asn1/x509/AttributeCertificate;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.x509.AttributeCertificate);
descriptor: (Lorg/bouncycastle/asn1/x509/AttributeCertificate;)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.cmp.CMPCertificate.x509v2AttrCert:Lorg/bouncycastle/asn1/x509/AttributeCertificate;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
0 3 1 x509v2AttrCert Lorg/bouncycastle/asn1/x509/AttributeCertificate;
MethodParameters:
Name Flags
x509v2AttrCert
public void <init>(org.bouncycastle.asn1.x509.X509CertificateStructure);
descriptor: (Lorg/bouncycastle/asn1/x509/X509CertificateStructure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.x509.X509CertificateStructure.getVersion:()I
iconst_3
if_icmpeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "only version 3 certificates allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.cmp.CMPCertificate org.bouncycastle.asn1.x509.X509CertificateStructure
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
0 5 1 x509v3PKCert Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
MethodParameters:
Name Flags
x509v3PKCert
public static org.bouncycastle.asn1.cmp.CMPCertificate getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/cmp/CMPCertificate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.cmp.CMPCertificate
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.cmp.CMPCertificate
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 4
3: new org.bouncycastle.asn1.cmp.CMPCertificate
dup
aload 0
invokestatic org.bouncycastle.asn1.x509.X509CertificateStructure.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<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.cmp.CMPCertificate
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1TaggedObject
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.x509.AttributeCertificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/AttributeCertificate;
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<init>:(Lorg/bouncycastle/asn1/x509/AttributeCertificate;)V
areturn
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean isX509v3PKCert();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
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/asn1/cmp/CMPCertificate;
public org.bouncycastle.asn1.x509.X509CertificateStructure getX509v3PKCert();
descriptor: ()Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
public org.bouncycastle.asn1.x509.AttributeCertificate getX509v2AttrCert();
descriptor: ()Lorg/bouncycastle/asn1/x509/AttributeCertificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v2AttrCert:Lorg/bouncycastle/asn1/x509/AttributeCertificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v2AttrCert:Lorg/bouncycastle/asn1/x509/AttributeCertificate;
ifnull 2
1: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_1
aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v2AttrCert:Lorg/bouncycastle/asn1/x509/AttributeCertificate;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokevirtual org.bouncycastle.asn1.x509.X509CertificateStructure.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
}
SourceFile: "CMPCertificate.java"