public class sun.security.x509.CertificateValidity implements sun.security.x509.CertAttrSet<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.CertificateValidity
super_class: java.lang.Object
{
public static final java.lang.String IDENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "x509.info.validity"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "validity"
public static final java.lang.String NOT_BEFORE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "notBefore"
public static final java.lang.String NOT_AFTER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "notAfter"
static final long YR_2050;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2524608000000
private java.util.Date notBefore;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
private java.util.Date notAfter;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
private java.util.Date getNotBefore();
descriptor: ()Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.Date
dup
aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokespecial java.util.Date.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CertificateValidity;
private java.util.Date getNotAfter();
descriptor: ()Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.Date
dup
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokespecial java.util.Date.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CertificateValidity;
private void construct(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 2
1: new java.io.IOException
dup
ldc "Invalid encoded CertificateValidity, starting sequence tag missing."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 4
3: new java.io.IOException
dup
ldc "No data encoded for CertificateValidity"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.util.DerInputStream
dup
aload 1
invokevirtual sun.security.util.DerValue.toByteArray:()[B
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 2
start local 2 5: aload 2
iconst_2
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 3
start local 3 6: aload 3
arraylength
iconst_2
if_icmpeq 8
7: new java.io.IOException
dup
ldc "Invalid encoding for CertificateValidity"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: sun.security.util.DerInputStream sun.security.util.DerValue[]
StackMap stack:
aload 3
iconst_0
aaload
getfield sun.security.util.DerValue.tag:B
bipush 23
if_icmpne 11
9: aload 0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUTCTime:()Ljava/util/Date;
putfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
10: goto 15
StackMap locals:
StackMap stack:
11: aload 3
iconst_0
aaload
getfield sun.security.util.DerValue.tag:B
bipush 24
if_icmpne 14
12: aload 0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getGeneralizedTime:()Ljava/util/Date;
putfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
13: goto 15
14: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding for CertificateValidity"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
iconst_1
aaload
getfield sun.security.util.DerValue.tag:B
bipush 23
if_icmpne 18
16: aload 0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUTCTime:()Ljava/util/Date;
putfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
17: goto 22
StackMap locals:
StackMap stack:
18: aload 3
iconst_1
aaload
getfield sun.security.util.DerValue.tag:B
bipush 24
if_icmpne 21
19: aload 0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getGeneralizedTime:()Ljava/util/Date;
putfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
20: goto 22
21: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding for CertificateValidity"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/x509/CertificateValidity;
0 23 1 derVal Lsun/security/util/DerValue;
5 23 2 derIn Lsun/security/util/DerInputStream;
6 23 3 seq [Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derVal
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CertificateValidity;
public void <init>(java.util.Date, java.util.Date);
descriptor: (Ljava/util/Date;Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
2: aload 0
aload 2
putfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/CertificateValidity;
0 4 1 notBefore Ljava/util/Date;
0 4 2 notAfter Ljava/util/Date;
MethodParameters:
Name Flags
notBefore
notAfter
public void <init>(sun.security.util.DerInputStream);
descriptor: (Lsun/security/util/DerInputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.security.x509.CertificateValidity.construct:(Lsun/security/util/DerValue;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/CertificateValidity;
0 4 1 in Lsun/security/util/DerInputStream;
2 4 2 derVal Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
ifnull 1
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
ifnonnull 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Validity: [From: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc ",\n To: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual java.util.Date.toString:()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;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/CertificateValidity;
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
ifnull 1
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "CertAttrSet:CertificateValidity: null values to encode.\n"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 3: aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
ldc 2524608000000
lcmp
ifge 6
4: aload 2
aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putUTCTime:(Ljava/util/Date;)V
5: goto 7
6: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 2
aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putGeneralizedTime:(Ljava/util/Date;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
ldc 2524608000000
lcmp
ifge 10
8: aload 2
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putUTCTime:(Ljava/util/Date;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putGeneralizedTime:(Ljava/util/Date;)V
11: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 12: aload 3
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
13: aload 1
aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/x509/CertificateValidity;
0 15 1 out Ljava/io/OutputStream;
3 15 2 pair Lsun/security/util/DerOutputStream;
12 15 3 seq Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public void set(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.util.Date
ifne 2
1: new java.io.IOException
dup
ldc "Attribute must be of type Date."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "notBefore"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
aload 2
checkcast java.util.Date
putfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
4: goto 9
StackMap locals:
StackMap stack:
5: aload 1
ldc "notAfter"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
aload 2
checkcast java.util.Date
putfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
7: goto 9
8: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet: CertificateValidity."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/CertificateValidity;
0 10 1 name Ljava/lang/String;
0 10 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public java.util.Date get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "notBefore"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokevirtual sun.security.x509.CertificateValidity.getNotBefore:()Ljava/util/Date;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "notAfter"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
invokevirtual sun.security.x509.CertificateValidity.getNotAfter:()Ljava/util/Date;
areturn
4: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet: CertificateValidity."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/CertificateValidity;
0 5 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void delete(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 1
ldc "notBefore"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aconst_null
putfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
ldc "notAfter"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
aconst_null
putfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
5: goto 7
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet: CertificateValidity."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/CertificateValidity;
0 8 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getElements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.security.x509.AttributeNameEnumeration
dup
invokespecial sun.security.x509.AttributeNameEnumeration.<init>:()V
astore 1
start local 1 1: aload 1
ldc "notBefore"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
ldc "notAfter"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
3: aload 1
invokevirtual sun.security.x509.AttributeNameEnumeration.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/CertificateValidity;
1 4 1 elements Lsun/security/x509/AttributeNameEnumeration;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "validity"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CertificateValidity;
public void valid();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.security.x509.CertificateValidity.valid:(Ljava/util/Date;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/CertificateValidity;
1 3 1 now Ljava/util/Date;
Exceptions:
throws java.security.cert.CertificateNotYetValidException, java.security.cert.CertificateExpiredException
public void valid(java.util.Date);
descriptor: (Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
aload 1
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 4
1: new java.security.cert.CertificateNotYetValidException
dup
new java.lang.StringBuilder
dup
ldc "NotBefore: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield sun.security.x509.CertificateValidity.notBefore:Ljava/util/Date;
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.security.cert.CertificateNotYetValidException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
aload 1
invokevirtual java.util.Date.before:(Ljava/util/Date;)Z
ifeq 8
5: new java.security.cert.CertificateExpiredException
dup
new java.lang.StringBuilder
dup
ldc "NotAfter: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield sun.security.x509.CertificateValidity.notAfter:Ljava/util/Date;
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.security.cert.CertificateExpiredException.<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 Lsun/security/x509/CertificateValidity;
0 9 1 now Ljava/util/Date;
Exceptions:
throws java.security.cert.CertificateNotYetValidException, java.security.cert.CertificateExpiredException
MethodParameters:
Name Flags
now
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.security.x509.CertificateValidity.get:(Ljava/lang/String;)Ljava/util/Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.cert.CertificateException, java.io.IOException
}
Signature: Ljava/lang/Object;Lsun/security/x509/CertAttrSet<Ljava/lang/String;>;
SourceFile: "CertificateValidity.java"