public class org.bouncycastle.asn1.ASN1GeneralizedTime extends org.bouncycastle.asn1.ASN1Primitive
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.ASN1GeneralizedTime
super_class: org.bouncycastle.asn1.ASN1Primitive
{
protected byte[] time;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
public static org.bouncycastle.asn1.ASN1GeneralizedTime getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
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.ASN1GeneralizedTime
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.ASN1GeneralizedTime
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 7
3: aload 0
checkcast byte[]
invokestatic org.bouncycastle.asn1.ASN1GeneralizedTime.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
checkcast org.bouncycastle.asn1.ASN1GeneralizedTime
4: areturn
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "encoding error in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.toString:()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 1 7: 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
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 8 0 obj Ljava/lang/Object;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.ASN1GeneralizedTime getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/ASN1Primitive;
astore 2
start local 2 1: iload 1
ifne 2
aload 2
instanceof org.bouncycastle.asn1.ASN1GeneralizedTime
ifeq 3
2: StackMap locals: org.bouncycastle.asn1.ASN1Primitive
StackMap stack:
aload 2
invokestatic org.bouncycastle.asn1.ASN1GeneralizedTime.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
areturn
3: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 2
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 4 1 explicit Z
1 4 2 o Lorg/bouncycastle/asn1/ASN1Primitive;
MethodParameters:
Name Flags
obj
explicit
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Primitive.<init>:()V
1: aload 0
aload 1
invokestatic org.bouncycastle.util.Strings.toByteArray:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
2: aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.getDate:()Ljava/util/Date;
pop
3: goto 6
4: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.lang.String
StackMap stack: java.text.ParseException
astore 2
start local 2 5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid date string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.text.ParseException.getMessage:()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 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 7 1 time Ljava/lang/String;
5 6 2 e Ljava/text/ParseException;
Exception table:
from to target type
2 3 4 Class java.text.ParseException
MethodParameters:
Name Flags
time
public void <init>(java.util.Date);
descriptor: (Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Primitive.<init>:()V
1: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss'Z'"
getstatic org.bouncycastle.asn1.DateUtil.EN_Locale:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 2
start local 2 2: aload 2
new java.util.SimpleTimeZone
dup
iconst_0
ldc "Z"
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
3: aload 0
aload 2
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toByteArray:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 5 1 time Ljava/util/Date;
2 5 2 dateF Ljava/text/SimpleDateFormat;
MethodParameters:
Name Flags
time
public void <init>(java.util.Date, java.util.Locale);
descriptor: (Ljava/util/Date;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Primitive.<init>:()V
1: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss'Z'"
aload 2
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 3
start local 3 2: aload 3
new java.util.SimpleTimeZone
dup
iconst_0
ldc "Z"
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
3: aload 0
aload 3
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toByteArray:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 5 1 time Ljava/util/Date;
0 5 2 locale Ljava/util/Locale;
2 5 3 dateF Ljava/text/SimpleDateFormat;
MethodParameters:
Name Flags
time
locale
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Primitive.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
public java.lang.String getTimeString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokestatic org.bouncycastle.util.Strings.fromByteArray:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
public java.lang.String getTime();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokestatic org.bouncycastle.util.Strings.fromByteArray:([B)Ljava/lang/String;
astore 1
start local 1 1: aload 1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 90
if_icmpne 3
2: new java.lang.StringBuilder
dup
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "GMT+00:00"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_5
isub
istore 2
start local 2 4: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: iload 3
bipush 45
if_icmpeq 6
iload 3
bipush 43
if_icmpne 12
6: StackMap locals: int int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: ldc "GMT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 1
iload 2
iload 2
iconst_3
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 1
iload 2
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_3
isub
istore 2
13: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
14: iload 3
bipush 45
if_icmpeq 15
iload 3
bipush 43
if_icmpne 20
15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: ldc "GMT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 1
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc ":00"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 20: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.calculateGMTOffset:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
1 21 1 stime Ljava/lang/String;
4 20 2 signPos I
5 20 3 sign C
private java.lang.String calculateGMTOffset();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: ldc "+"
astore 1
start local 1 1: invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
astore 2
start local 2 2: aload 2
invokevirtual java.util.TimeZone.getRawOffset:()I
istore 3
start local 3 3: iload 3
ifge 6
4: ldc "-"
astore 1
5: iload 3
ineg
istore 3
6: StackMap locals: java.lang.String java.util.TimeZone int
StackMap stack:
iload 3
ldc 3600000
idiv
istore 4
start local 4 7: iload 3
iload 4
bipush 60
imul
bipush 60
imul
sipush 1000
imul
isub
ldc 60000
idiv
istore 5
start local 5 8: aload 2
invokevirtual java.util.TimeZone.useDaylightTime:()Z
ifeq 14
aload 2
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.getDate:()Ljava/util/Date;
invokevirtual java.util.TimeZone.inDaylightTime:(Ljava/util/Date;)Z
ifeq 14
9: iload 4
aload 1
ldc "+"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
iconst_1
goto 11
StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.lang.String java.util.TimeZone int int int
StackMap stack: int
10: iconst_m1
StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.lang.String java.util.TimeZone int int int
StackMap stack: int int
11: iadd
istore 4
12: goto 14
13: StackMap locals:
StackMap stack: java.text.ParseException
pop
14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "GMT"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iload 4
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.convert:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iload 5
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.convert:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
1 15 1 sign Ljava/lang/String;
2 15 2 timeZone Ljava/util/TimeZone;
3 15 3 offset I
7 15 4 hours I
8 15 5 minutes I
Exception table:
from to target type
8 12 13 Class java.text.ParseException
private java.lang.String convert(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 10
if_icmpge 2
1: new java.lang.StringBuilder
dup
ldc "0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 3 1 time I
MethodParameters:
Name Flags
time
public java.util.Date getDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokestatic org.bouncycastle.util.Strings.fromByteArray:([B)Ljava/lang/String;
astore 2
start local 2 1: aload 2
astore 3
start local 3 2: aload 2
ldc "Z"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
3: aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasFractionalSeconds:()Z
ifeq 6
4: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss.SSS'Z'"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 5: goto 13
end local 1 6: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime top java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasSeconds:()Z
ifeq 9
7: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss'Z'"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 8: goto 13
end local 1 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasMinutes:()Z
ifeq 12
10: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmm'Z'"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 11: goto 13
end local 1 12: StackMap locals:
StackMap stack:
new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHH'Z'"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 13: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.text.SimpleDateFormat java.lang.String java.lang.String
StackMap stack:
aload 1
new java.util.SimpleTimeZone
dup
iconst_0
ldc "Z"
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
14: goto 40
end local 1 15: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime top java.lang.String java.lang.String
StackMap stack:
aload 2
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
ifgt 16
aload 2
bipush 43
invokevirtual java.lang.String.indexOf:(I)I
ifle 29
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.getTime:()Ljava/lang/String;
astore 3
17: aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasFractionalSeconds:()Z
ifeq 20
18: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss.SSSz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 19: goto 27
end local 1 20: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasSeconds:()Z
ifeq 23
21: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmssz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 22: goto 27
end local 1 23: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasMinutes:()Z
ifeq 26
24: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 25: goto 27
end local 1 26: StackMap locals:
StackMap stack:
new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 27: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.text.SimpleDateFormat java.lang.String java.lang.String
StackMap stack:
aload 1
new java.util.SimpleTimeZone
dup
iconst_0
ldc "Z"
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
28: goto 40
end local 1 29: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime top java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasFractionalSeconds:()Z
ifeq 32
30: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss.SSS"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 31: goto 39
end local 1 32: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasSeconds:()Z
ifeq 35
33: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmss"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 34: goto 39
end local 1 35: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasMinutes:()Z
ifeq 38
36: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmm"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 37: goto 39
end local 1 38: StackMap locals:
StackMap stack:
new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHH"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 39: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime java.text.SimpleDateFormat java.lang.String java.lang.String
StackMap stack:
aload 1
new java.util.SimpleTimeZone
dup
iconst_0
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
invokevirtual java.util.TimeZone.getID:()Ljava/lang/String;
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
40: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.hasFractionalSeconds:()Z
ifeq 60
41: aload 3
bipush 14
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 42: iconst_1
istore 5
start local 5 43: goto 48
44: StackMap locals: java.lang.String int
StackMap stack:
aload 4
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 45: bipush 48
iload 6
if_icmpgt 49
iload 6
bipush 57
if_icmple 47
46: goto 49
end local 6 47: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
48: iload 5
aload 4
invokevirtual java.lang.String.length:()I
if_icmplt 44
49: StackMap locals:
StackMap stack:
iload 5
iconst_1
isub
iconst_3
if_icmple 53
50: new java.lang.StringBuilder
dup
aload 4
iconst_0
iconst_4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
51: new java.lang.StringBuilder
dup
aload 3
iconst_0
bipush 14
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
52: goto 60
53: StackMap locals:
StackMap stack:
iload 5
iconst_1
isub
iconst_1
if_icmpne 57
54: new java.lang.StringBuilder
dup
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "00"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
55: new java.lang.StringBuilder
dup
aload 3
iconst_0
bipush 14
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
56: goto 60
57: StackMap locals:
StackMap stack:
iload 5
iconst_1
isub
iconst_2
if_icmpne 60
58: new java.lang.StringBuilder
dup
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
59: new java.lang.StringBuilder
dup
aload 3
iconst_0
bipush 14
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 5 end local 4 60: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
invokestatic org.bouncycastle.asn1.DateUtil.epochAdjust:(Ljava/util/Date;)Ljava/util/Date;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 61 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
5 6 1 dateF Ljava/text/SimpleDateFormat;
8 9 1 dateF Ljava/text/SimpleDateFormat;
11 12 1 dateF Ljava/text/SimpleDateFormat;
13 15 1 dateF Ljava/text/SimpleDateFormat;
19 20 1 dateF Ljava/text/SimpleDateFormat;
22 23 1 dateF Ljava/text/SimpleDateFormat;
25 26 1 dateF Ljava/text/SimpleDateFormat;
27 29 1 dateF Ljava/text/SimpleDateFormat;
31 32 1 dateF Ljava/text/SimpleDateFormat;
34 35 1 dateF Ljava/text/SimpleDateFormat;
37 38 1 dateF Ljava/text/SimpleDateFormat;
39 61 1 dateF Ljava/text/SimpleDateFormat;
1 61 2 stime Ljava/lang/String;
2 61 3 d Ljava/lang/String;
42 60 4 frac Ljava/lang/String;
43 60 5 index I
45 47 6 ch C
Exceptions:
throws java.text.ParseException
protected boolean hasFractionalSeconds();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
iload 1
baload
bipush 46
if_icmpne 5
3: iload 1
bipush 14
if_icmpne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
arraylength
if_icmpne 2
end local 1 7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
1 7 1 i I
protected boolean hasSeconds();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 12
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.isDigit:(I)Z
ifeq 1
aload 0
bipush 13
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.isDigit:(I)Z
ifeq 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/ASN1GeneralizedTime;
protected boolean hasMinutes();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.isDigit:(I)Z
ifeq 1
aload 0
bipush 11
invokevirtual org.bouncycastle.asn1.ASN1GeneralizedTime.isDigit:(I)Z
ifeq 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/ASN1GeneralizedTime;
private boolean isDigit(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
arraylength
iload 1
if_icmple 1
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
iload 1
baload
bipush 48
if_icmplt 1
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
iload 1
baload
bipush 57
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 2 1 pos I
MethodParameters:
Name Flags
pos
boolean isConstructed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
int encodedLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
arraylength
istore 1
start local 1 1: iconst_1
iload 1
invokestatic org.bouncycastle.asn1.StreamUtil.calculateBodyLength:(I)I
iadd
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
1 2 1 length I
void encode(org.bouncycastle.asn1.ASN1OutputStream);
descriptor: (Lorg/bouncycastle/asn1/ASN1OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 24
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeEncoded:(I[B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 2 1 out Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
org.bouncycastle.asn1.ASN1Primitive toDERObject();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.DERGeneralizedTime
dup
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokespecial org.bouncycastle.asn1.DERGeneralizedTime.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
boolean asn1Equals(org.bouncycastle.asn1.ASN1Primitive);
descriptor: (Lorg/bouncycastle/asn1/ASN1Primitive;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.ASN1GeneralizedTime
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
aload 1
checkcast org.bouncycastle.asn1.ASN1GeneralizedTime
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokestatic org.bouncycastle.util.Arrays.areEqual:([B[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
0 3 1 o Lorg/bouncycastle/asn1/ASN1Primitive;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1GeneralizedTime.time:[B
invokestatic org.bouncycastle.util.Arrays.hashCode:([B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
}
SourceFile: "ASN1GeneralizedTime.java"