public class org.bouncycastle.asn1.eac.PackedDate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.eac.PackedDate
super_class: java.lang.Object
{
private byte[] time;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
aload 1
invokevirtual org.bouncycastle.asn1.eac.PackedDate.convert:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.eac.PackedDate.time:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
0 3 1 time Ljava/lang/String;
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 java.lang.Object.<init>:()V
1: new java.text.SimpleDateFormat
dup
ldc "yyMMdd'Z'"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)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 0
aload 2
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual org.bouncycastle.asn1.eac.PackedDate.convert:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.eac.PackedDate.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/eac/PackedDate;
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 java.lang.Object.<init>:()V
1: new java.text.SimpleDateFormat
dup
ldc "yyMMdd'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 0
aload 3
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual org.bouncycastle.asn1.eac.PackedDate.convert:(Ljava/lang/String;)[B
putfield org.bouncycastle.asn1.eac.PackedDate.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/eac/PackedDate;
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
private byte[] convert(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.toCharArray:()[C
astore 2
start local 2 1: bipush 6
newarray 8
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: char[] byte[] int
StackMap stack:
aload 3
iload 4
aload 2
iload 4
caload
bipush 48
isub
i2b
bastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
bipush 6
if_icmpne 4
end local 4 7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
0 8 1 sTime Ljava/lang/String;
1 8 2 digs [C
2 8 3 date [B
3 7 4 i I
MethodParameters:
Name Flags
sTime
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 java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.eac.PackedDate.time:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
public java.util.Date getDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.text.SimpleDateFormat
dup
ldc "yyyyMMdd"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
new java.lang.StringBuilder
dup
ldc "20"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.eac.PackedDate.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
1 2 1 dateF Ljava/text/SimpleDateFormat;
Exceptions:
throws java.text.ParseException
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.eac.PackedDate.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/eac/PackedDate;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.eac.PackedDate
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.asn1.eac.PackedDate
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.asn1.eac.PackedDate.time:[B
aload 2
getfield org.bouncycastle.asn1.eac.PackedDate.time:[B
invokestatic org.bouncycastle.util.Arrays.areEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
0 4 1 o Ljava/lang/Object;
3 4 2 other Lorg/bouncycastle/asn1/eac/PackedDate;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.eac.PackedDate.time:[B
arraylength
newarray 5
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: char[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.bouncycastle.asn1.eac.PackedDate.time:[B
iload 2
baload
sipush 255
iand
bipush 48
iadd
i2c
castore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmpne 3
end local 2 6: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([C)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
1 7 1 dateC [C
2 6 2 i I
public byte[] getEncoding();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.eac.PackedDate.time:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/eac/PackedDate;
}
SourceFile: "PackedDate.java"