class sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint extends sun.security.util.DisabledAlgorithmConstraints$Constraint
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint
super_class: sun.security.util.DisabledAlgorithmConstraints$Constraint
{
private java.util.Date denyAfterDate;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
private static final java.text.SimpleDateFormat dateFormat;
descriptor: Ljava/text/SimpleDateFormat;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.text.SimpleDateFormat
dup
ldc "EEE, MMM d HH:mm:ss z yyyy"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
1: putstatic sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.dateFormat:Ljava/text/SimpleDateFormat;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, int, int, int);
descriptor: (Ljava/lang/String;III)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial sun.security.util.DisabledAlgorithmConstraints$Constraint.<init>:()V
1: aload 0
aload 1
putfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.algorithm:Ljava/lang/String;
2: getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
ifnull 6
3: getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "DenyAfterConstraint read in as: year "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", month = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", day = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
6: StackMap locals: sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint java.lang.String int int int
StackMap stack:
new java.util.Calendar$Builder
dup
invokespecial java.util.Calendar$Builder.<init>:()V
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.util.Calendar$Builder.setTimeZone:(Ljava/util/TimeZone;)Ljava/util/Calendar$Builder;
7: iload 2
iload 3
iconst_1
isub
iload 4
invokevirtual java.util.Calendar$Builder.setDate:(III)Ljava/util/Calendar$Builder;
invokevirtual java.util.Calendar$Builder.build:()Ljava/util/Calendar;
8: astore 5
start local 5 9: iload 2
aload 5
iconst_1
invokevirtual java.util.Calendar.getActualMaximum:(I)I
if_icmpgt 11
10: iload 2
aload 5
iconst_1
invokevirtual java.util.Calendar.getActualMinimum:(I)I
if_icmpge 14
11: StackMap locals: java.util.Calendar
StackMap stack:
new java.lang.IllegalArgumentException
dup
12: new java.lang.StringBuilder
dup
ldc "Invalid year given in constraint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
aload 5
iconst_2
invokevirtual java.util.Calendar.getActualMaximum:(I)I
if_icmpgt 16
15: iload 3
iconst_1
isub
aload 5
iconst_2
invokevirtual java.util.Calendar.getActualMinimum:(I)I
if_icmpge 19
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
17: new java.lang.StringBuilder
dup
ldc "Invalid month given in constraint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iload 4
aload 5
iconst_5
invokevirtual java.util.Calendar.getActualMaximum:(I)I
if_icmpgt 21
20: iload 4
aload 5
iconst_5
invokevirtual java.util.Calendar.getActualMinimum:(I)I
if_icmpge 24
21: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
22: new java.lang.StringBuilder
dup
ldc "Invalid Day of Month given in constraint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual java.util.Calendar.getTime:()Ljava/util/Date;
putfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.denyAfterDate:Ljava/util/Date;
25: getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
ifnull 29
26: getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "DenyAfterConstraint date set to: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: getstatic sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.dateFormat:Ljava/text/SimpleDateFormat;
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.denyAfterDate:Ljava/util/Date;
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
return
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 30 0 this Lsun/security/util/DisabledAlgorithmConstraints$DenyAfterConstraint;
0 30 1 algo Ljava/lang/String;
0 30 2 year I
0 30 3 month I
0 30 4 day I
9 30 5 c Ljava/util/Calendar;
MethodParameters:
Name Flags
algo
year
month
day
public void permits(sun.security.util.ConstraintsParameters);
descriptor: (Lsun/security/util/ConstraintsParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getJARTimestamp:()Ljava/security/Timestamp;
ifnull 4
1: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getJARTimestamp:()Ljava/security/Timestamp;
invokevirtual java.security.Timestamp.getTimestamp:()Ljava/util/Date;
astore 2
start local 2 2: ldc "JAR Timestamp date: "
astore 3
start local 3 3: goto 10
end local 3 end local 2 StackMap locals:
StackMap stack:
4: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getPKIXParamDate:()Ljava/util/Date;
ifnull 8
5: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getPKIXParamDate:()Ljava/util/Date;
astore 2
start local 2 6: ldc "PKIXParameter date: "
astore 3
start local 3 7: goto 10
end local 3 end local 2 8: StackMap locals:
StackMap stack:
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 9: ldc "Current date: "
astore 3
start local 3 10: StackMap locals: java.util.Date java.lang.String
StackMap stack:
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.denyAfterDate:Ljava/util/Date;
aload 2
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifne 21
11: aload 0
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.next:(Lsun/security/util/ConstraintsParameters;)Z
ifeq 13
12: return
13: StackMap locals:
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
14: new java.lang.StringBuilder
dup
ldc "denyAfter constraint check failed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.algorithm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc " used with Constraint date: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: getstatic sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.dateFormat:Ljava/text/SimpleDateFormat;
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.denyAfterDate:Ljava/util/Date;
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)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
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: getstatic sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.dateFormat:Ljava/text/SimpleDateFormat;
aload 2
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.extendedMsg:(Lsun/security/util/ConstraintsParameters;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: aconst_null
aconst_null
iconst_m1
getstatic java.security.cert.CertPathValidatorException$BasicReason.ALGORITHM_CONSTRAINED:Ljava/security/cert/CertPathValidatorException$BasicReason;
20: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/util/DisabledAlgorithmConstraints$DenyAfterConstraint;
0 22 1 cp Lsun/security/util/ConstraintsParameters;
2 4 2 currentDate Ljava/util/Date;
6 8 2 currentDate Ljava/util/Date;
9 22 2 currentDate Ljava/util/Date;
3 4 3 errmsg Ljava/lang/String;
7 8 3 errmsg Ljava/lang/String;
10 22 3 errmsg Ljava/lang/String;
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cp
public boolean permits(java.security.Key);
descriptor: (Ljava/security/Key;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.next:(Ljava/security/Key;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
ifnull 4
3: getstatic sun.security.util.DisabledAlgorithmConstraints.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "DenyAfterConstraints.permits(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.algorithm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint.denyAfterDate:Ljava/util/Date;
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/util/DisabledAlgorithmConstraints$DenyAfterConstraint;
0 5 1 key Ljava/security/Key;
MethodParameters:
Name Flags
key
}
SourceFile: "DisabledAlgorithmConstraints.java"
NestHost: sun.security.util.DisabledAlgorithmConstraints
InnerClasses:
public final BasicReason = java.security.cert.CertPathValidatorException$BasicReason of java.security.cert.CertPathValidatorException
public abstract Reason = java.security.cert.CertPathValidatorException$Reason of java.security.cert.CertPathValidatorException
public Builder = java.util.Calendar$Builder of java.util.Calendar
private abstract Constraint = sun.security.util.DisabledAlgorithmConstraints$Constraint of sun.security.util.DisabledAlgorithmConstraints
private DenyAfterConstraint = sun.security.util.DisabledAlgorithmConstraints$DenyAfterConstraint of sun.security.util.DisabledAlgorithmConstraints