public class org.bouncycastle.asn1.cmp.CMPCertificate extends org.bouncycastle.asn1.ASN1Object 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.ASN1Object
{
private org.bouncycastle.asn1.x509.Certificate x509v3PKCert;
descriptor: Lorg/bouncycastle/asn1/x509/Certificate;
flags: (0x0002) ACC_PRIVATE
private int otherTagValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1Object otherCert;
descriptor: Lorg/bouncycastle/asn1/ASN1Object;
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<init>:(ILorg/bouncycastle/asn1/ASN1Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
0 2 1 x509v2AttrCert Lorg/bouncycastle/asn1/x509/AttributeCertificate;
MethodParameters:
Name Flags
x509v2AttrCert
public void <init>(int, org.bouncycastle.asn1.ASN1Object);
descriptor: (ILorg/bouncycastle/asn1/ASN1Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
iload 1
putfield org.bouncycastle.asn1.cmp.CMPCertificate.otherTagValue:I
2: aload 0
aload 2
putfield org.bouncycastle.asn1.cmp.CMPCertificate.otherCert:Lorg/bouncycastle/asn1/ASN1Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
0 4 1 type I
0 4 2 otherCert Lorg/bouncycastle/asn1/ASN1Object;
MethodParameters:
Name Flags
type
otherCert
public void <init>(org.bouncycastle.asn1.x509.Certificate);
descriptor: (Lorg/bouncycastle/asn1/x509/Certificate;)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.ASN1Object.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.x509.Certificate.getVersionNumber:()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.Certificate
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/Certificate;
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/Certificate;
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=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.cmp.CMPCertificate
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.cmp.CMPCertificate
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 7
3: aload 0
checkcast byte[]
invokestatic org.bouncycastle.asn1.ASN1Primitive.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
astore 0
4: goto 7
5: StackMap locals:
StackMap stack: java.io.IOException
pop
6: new java.lang.IllegalArgumentException
dup
ldc "Invalid encoding in CMPCertificate"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 9
8: new org.bouncycastle.asn1.cmp.CMPCertificate
dup
aload 0
invokestatic org.bouncycastle.asn1.x509.Certificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
areturn
9: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1TaggedObject
ifeq 12
10: aload 0
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 1
start local 1 11: new org.bouncycastle.asn1.cmp.CMPCertificate
dup
aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<init>:(ILorg/bouncycastle/asn1/ASN1Object;)V
areturn
end local 1 12: 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 13 0 o Ljava/lang/Object;
11 12 1 taggedObject Lorg/bouncycastle/asn1/ASN1TaggedObject;
Exception table:
from to target type
3 4 5 Class java.io.IOException
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/Certificate;
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.Certificate getX509v3PKCert();
descriptor: ()Lorg/bouncycastle/asn1/x509/Certificate;
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/Certificate;
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.otherCert:Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.x509.AttributeCertificate.getInstance:(Ljava/lang/Object;)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 int getOtherCertTag();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.otherTagValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
public org.bouncycastle.asn1.ASN1Object getOtherCert();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.otherCert:Lorg/bouncycastle/asn1/ASN1Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.otherCert:Lorg/bouncycastle/asn1/ASN1Object;
ifnull 2
1: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.otherTagValue:I
aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.otherCert:Lorg/bouncycastle/asn1/ASN1Object;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.cmp.CMPCertificate.x509v3PKCert:Lorg/bouncycastle/asn1/x509/Certificate;
invokevirtual org.bouncycastle.asn1.x509.Certificate.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/cmp/CMPCertificate;
}
SourceFile: "CMPCertificate.java"