public class org.bouncycastle.asn1.ASN1UTCTime extends org.bouncycastle.asn1.ASN1Primitive
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.ASN1UTCTime
super_class: org.bouncycastle.asn1.ASN1Primitive
{
private byte[] time;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.ASN1UTCTime getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1UTCTime;
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.ASN1UTCTime
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.ASN1UTCTime
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 7
3: aload 0
checkcast byte[]
invokestatic org.bouncycastle.asn1.ASN1UTCTime.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
checkcast org.bouncycastle.asn1.ASN1UTCTime
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.ASN1UTCTime getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1UTCTime;
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.ASN1UTCTime
ifeq 3
2: StackMap locals: org.bouncycastle.asn1.ASN1Object
StackMap stack:
aload 2
invokestatic org.bouncycastle.asn1.ASN1UTCTime.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1UTCTime;
areturn
3: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1UTCTime
dup
aload 2
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.ASN1UTCTime.<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/ASN1Object;
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.ASN1UTCTime.time:[B
2: aload 0
invokevirtual org.bouncycastle.asn1.ASN1UTCTime.getDate:()Ljava/util/Date;
pop
3: goto 6
4: StackMap locals: org.bouncycastle.asn1.ASN1UTCTime 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/ASN1UTCTime;
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 "yyMMddHHmmss'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.ASN1UTCTime.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/ASN1UTCTime;
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 "yyMMddHHmmss'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.ASN1UTCTime.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/ASN1UTCTime;
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.ASN1UTCTime.time:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
0 3 1 time [B
MethodParameters:
Name Flags
time
public java.util.Date getDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.text.SimpleDateFormat
dup
ldc "yyMMddHHmmssz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.bouncycastle.asn1.ASN1UTCTime.getTime:()Ljava/lang/String;
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
1 2 1 dateF Ljava/text/SimpleDateFormat;
Exceptions:
throws java.text.ParseException
public java.util.Date getAdjustedDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.text.SimpleDateFormat
dup
ldc "yyyyMMddHHmmssz"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: 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
2: aload 1
aload 0
invokevirtual org.bouncycastle.asn1.ASN1UTCTime.getAdjustedTime:()Ljava/lang/String;
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
1 3 1 dateF Ljava/text/SimpleDateFormat;
Exceptions:
throws java.text.ParseException
public java.lang.String getTime();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1UTCTime.time:[B
invokestatic org.bouncycastle.util.Strings.fromByteArray:([B)Ljava/lang/String;
astore 1
start local 1 1: aload 1
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
ifge 5
aload 1
bipush 43
invokevirtual java.lang.String.indexOf:(I)I
ifge 5
2: aload 1
invokevirtual java.lang.String.length:()I
bipush 11
if_icmpne 4
3: new java.lang.StringBuilder
dup
aload 1
iconst_0
bipush 10
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 "00GMT+00:00"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
bipush 12
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
5: StackMap locals:
StackMap stack:
aload 1
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 6: iload 2
ifge 8
7: aload 1
bipush 43
invokevirtual java.lang.String.indexOf:(I)I
istore 2
8: StackMap locals: int
StackMap stack:
aload 1
astore 3
start local 3 9: iload 2
aload 1
invokevirtual java.lang.String.length:()I
iconst_3
isub
if_icmpne 11
10: new java.lang.StringBuilder
dup
aload 3
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
11: StackMap locals: java.lang.String
StackMap stack:
iload 2
bipush 10
if_icmpne 13
12: new java.lang.StringBuilder
dup
aload 3
iconst_0
bipush 10
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 "00GMT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
bipush 10
bipush 13
invokevirtual java.lang.String.substring:(II)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 3
bipush 13
bipush 15
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
iconst_0
bipush 12
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"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
bipush 12
bipush 15
invokevirtual java.lang.String.substring:(II)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 3
bipush 15
bipush 17
invokevirtual java.lang.String.substring:(II)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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
1 14 1 stime Ljava/lang/String;
6 14 2 index I
9 14 3 d Ljava/lang/String;
public java.lang.String getAdjustedTime();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1UTCTime.getTime:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 53
if_icmpge 3
2: new java.lang.StringBuilder
dup
ldc "20"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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:
new java.lang.StringBuilder
dup
ldc "19"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 4 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
1 4 1 d Ljava/lang/String;
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/ASN1UTCTime;
int encodedLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1UTCTime.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/ASN1UTCTime;
1 2 1 length I
void encode(org.bouncycastle.asn1.ASN1OutputStream);
descriptor: (Lorg/bouncycastle/asn1/ASN1OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
bipush 23
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.write:(I)V
1: aload 0
getfield org.bouncycastle.asn1.ASN1UTCTime.time:[B
arraylength
istore 2
start local 2 2: aload 1
iload 2
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeLength:(I)V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.asn1.ASN1UTCTime.time:[B
iload 3
baload
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.write:(I)V
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmpne 5
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/ASN1UTCTime;
0 9 1 out Lorg/bouncycastle/asn1/ASN1OutputStream;
2 9 2 length I
4 8 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
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.ASN1UTCTime
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ASN1UTCTime.time:[B
aload 1
checkcast org.bouncycastle.asn1.ASN1UTCTime
getfield org.bouncycastle.asn1.ASN1UTCTime.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/ASN1UTCTime;
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.ASN1UTCTime.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/ASN1UTCTime;
public java.lang.String toString();
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.ASN1UTCTime.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/ASN1UTCTime;
}
SourceFile: "ASN1UTCTime.java"