public class org.bouncycastle.asn1.cmp.CertOrEncCert 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.CertOrEncCert
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.cmp.CMPCertificate certificate;
descriptor: Lorg/bouncycastle/asn1/cmp/CMPCertificate;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.crmf.EncryptedValue encryptedCert;
descriptor: Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0002) ACC_PRIVATE
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
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.cmp.CMPCertificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cmp/CMPCertificate;
putfield org.bouncycastle.asn1.cmp.CertOrEncCert.certificate:Lorg/bouncycastle/asn1/cmp/CMPCertificate;
3: goto 8
4: StackMap locals: org.bouncycastle.asn1.cmp.CertOrEncCert 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
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.crmf.EncryptedValue.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
putfield org.bouncycastle.asn1.cmp.CertOrEncCert.encryptedCert:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown tag: "
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/cmp/CertOrEncCert;
0 9 1 tagged Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
tagged
public static org.bouncycastle.asn1.cmp.CertOrEncCert getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
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.CertOrEncCert
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.cmp.CertOrEncCert
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1TaggedObject
ifeq 4
3: new org.bouncycastle.asn1.cmp.CertOrEncCert
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1TaggedObject
invokespecial org.bouncycastle.asn1.cmp.CertOrEncCert.<init>:(Lorg/bouncycastle/asn1/ASN1TaggedObject;)V
areturn
4: 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 5 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public void <init>(org.bouncycastle.asn1.cmp.CMPCertificate);
descriptor: (Lorg/bouncycastle/asn1/cmp/CMPCertificate;)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
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "'certificate' cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.cmp.CertOrEncCert org.bouncycastle.asn1.cmp.CMPCertificate
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.cmp.CertOrEncCert.certificate:Lorg/bouncycastle/asn1/cmp/CMPCertificate;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
0 5 1 certificate Lorg/bouncycastle/asn1/cmp/CMPCertificate;
MethodParameters:
Name Flags
certificate
public void <init>(org.bouncycastle.asn1.crmf.EncryptedValue);
descriptor: (Lorg/bouncycastle/asn1/crmf/EncryptedValue;)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
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "'encryptedCert' cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.cmp.CertOrEncCert org.bouncycastle.asn1.crmf.EncryptedValue
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.cmp.CertOrEncCert.encryptedCert:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
0 5 1 encryptedCert Lorg/bouncycastle/asn1/crmf/EncryptedValue;
MethodParameters:
Name Flags
encryptedCert
public org.bouncycastle.asn1.cmp.CMPCertificate getCertificate();
descriptor: ()Lorg/bouncycastle/asn1/cmp/CMPCertificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CertOrEncCert.certificate:Lorg/bouncycastle/asn1/cmp/CMPCertificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
public org.bouncycastle.asn1.crmf.EncryptedValue getEncryptedCert();
descriptor: ()Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cmp.CertOrEncCert.encryptedCert:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
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.CertOrEncCert.certificate:Lorg/bouncycastle/asn1/cmp/CMPCertificate;
ifnull 2
1: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_0
aload 0
getfield org.bouncycastle.asn1.cmp.CertOrEncCert.certificate:Lorg/bouncycastle/asn1/cmp/CMPCertificate;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
areturn
2: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_1
aload 0
getfield org.bouncycastle.asn1.cmp.CertOrEncCert.encryptedCert:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/cmp/CertOrEncCert;
}
SourceFile: "CertOrEncCert.java"