public class org.bouncycastle.asn1.crmf.OptionalValidity extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.crmf.OptionalValidity
super_class: org.bouncycastle.asn1.ASN1Object
{
private org.bouncycastle.asn1.x509.Time notBefore;
descriptor: Lorg/bouncycastle/asn1/x509/Time;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.Time notAfter;
descriptor: Lorg/bouncycastle/asn1/x509/Time;
flags: (0x0002) ACC_PRIVATE
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, 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.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 8
3: StackMap locals: org.bouncycastle.asn1.crmf.OptionalValidity org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 3
start local 3 4: aload 3
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
ifne 7
5: aload 0
aload 3
iconst_1
invokestatic org.bouncycastle.asn1.x509.Time.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/Time;
putfield org.bouncycastle.asn1.crmf.OptionalValidity.notBefore:Lorg/bouncycastle/asn1/x509/Time;
6: goto 8
7: StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject
StackMap stack:
aload 0
aload 3
iconst_1
invokestatic org.bouncycastle.asn1.x509.Time.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/Time;
putfield org.bouncycastle.asn1.crmf.OptionalValidity.notAfter:Lorg/bouncycastle/asn1/x509/Time;
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/asn1/crmf/OptionalValidity;
0 10 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
2 10 2 en Ljava/util/Enumeration;
4 8 3 tObj Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
seq
public static org.bouncycastle.asn1.crmf.OptionalValidity getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/crmf/OptionalValidity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.crmf.OptionalValidity
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.crmf.OptionalValidity
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.crmf.OptionalValidity
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.crmf.OptionalValidity.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
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.x509.Time, org.bouncycastle.asn1.x509.Time);
descriptor: (Lorg/bouncycastle/asn1/x509/Time;Lorg/bouncycastle/asn1/x509/Time;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 1
ifnonnull 3
aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "at least one of notBefore/notAfter must not be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.crmf.OptionalValidity org.bouncycastle.asn1.x509.Time org.bouncycastle.asn1.x509.Time
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.crmf.OptionalValidity.notBefore:Lorg/bouncycastle/asn1/x509/Time;
4: aload 0
aload 2
putfield org.bouncycastle.asn1.crmf.OptionalValidity.notAfter:Lorg/bouncycastle/asn1/x509/Time;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/crmf/OptionalValidity;
0 6 1 notBefore Lorg/bouncycastle/asn1/x509/Time;
0 6 2 notAfter Lorg/bouncycastle/asn1/x509/Time;
MethodParameters:
Name Flags
notBefore
notAfter
public org.bouncycastle.asn1.x509.Time getNotBefore();
descriptor: ()Lorg/bouncycastle/asn1/x509/Time;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notBefore:Lorg/bouncycastle/asn1/x509/Time;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/OptionalValidity;
public org.bouncycastle.asn1.x509.Time getNotAfter();
descriptor: ()Lorg/bouncycastle/asn1/x509/Time;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notAfter:Lorg/bouncycastle/asn1/x509/Time;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/crmf/OptionalValidity;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notBefore:Lorg/bouncycastle/asn1/x509/Time;
ifnull 3
2: aload 1
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_0
aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notBefore:Lorg/bouncycastle/asn1/x509/Time;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notAfter:Lorg/bouncycastle/asn1/x509/Time;
ifnull 5
4: aload 1
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_1
aload 0
getfield org.bouncycastle.asn1.crmf.OptionalValidity.notAfter:Lorg/bouncycastle/asn1/x509/Time;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
5: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/crmf/OptionalValidity;
1 6 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "OptionalValidity.java"