class sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint extends sun.security.util.DisabledAlgorithmConstraints$Constraint
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint
super_class: sun.security.util.DisabledAlgorithmConstraints$Constraint
{
private int minSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int prohibitedSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$sun$security$util$DisabledAlgorithmConstraints$Constraint$Operator;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(java.lang.String, sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator, int);
descriptor: (Ljava/lang/String;Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.util.DisabledAlgorithmConstraints$Constraint.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.prohibitedSize:I
2: aload 0
aload 1
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.algorithm:Ljava/lang/String;
3: invokestatic sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.$SWITCH_TABLE$sun$security$util$DisabledAlgorithmConstraints$Constraint$Operator:()[I
aload 2
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 4
2: 8
3: 11
4: 14
5: 17
6: 20
default: 25
}
4: StackMap locals: sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint java.lang.String sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator int
StackMap stack:
aload 0
iconst_0
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
5: aload 0
ldc 2147483647
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
6: aload 0
iload 3
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.prohibitedSize:I
7: goto 27
8: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
9: aload 0
iload 3
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
10: goto 27
11: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
12: aload 0
ldc 2147483647
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
13: goto 27
14: StackMap locals:
StackMap stack:
aload 0
iload 3
iconst_1
iadd
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
15: aload 0
ldc 2147483647
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
16: goto 27
17: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
18: aload 0
iload 3
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
19: goto 27
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
21: aload 0
iload 3
iconst_1
if_icmple 22
iload 3
iconst_1
isub
goto 23
StackMap locals:
StackMap stack: sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint
22: iconst_0
StackMap locals: sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint java.lang.String sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator int
StackMap stack: sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint int
23: putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
24: goto 27
25: StackMap locals:
StackMap stack:
aload 0
ldc 2147483647
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
26: aload 0
iconst_m1
putfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
27: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;
0 28 1 algo Ljava/lang/String;
0 28 2 operator Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
0 28 3 length I
MethodParameters:
Name Flags
algo
operator
length
public void permits(sun.security.util.ConstraintsParameters);
descriptor: (Lsun/security/util/ConstraintsParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getPublicKey:()Ljava/security/Key;
ifnull 4
2: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getPublicKey:()Ljava/security/Key;
astore 2
3: goto 6
StackMap locals: java.security.Key
StackMap stack:
4: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getCertificate:()Ljava/security/cert/X509Certificate;
ifnull 6
5: aload 1
invokevirtual sun.security.util.ConstraintsParameters.getCertificate:()Ljava/security/cert/X509Certificate;
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnull 17
aload 0
aload 2
invokevirtual sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.permitsImpl:(Ljava/security/Key;)Z
ifne 17
7: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.nextConstraint:Lsun/security/util/DisabledAlgorithmConstraints$Constraint;
ifnull 10
8: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.nextConstraint:Lsun/security/util/DisabledAlgorithmConstraints$Constraint;
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint.permits:(Lsun/security/util/ConstraintsParameters;)V
9: return
10: StackMap locals:
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
11: new java.lang.StringBuilder
dup
ldc "Algorithm constraints check failed on keysize limits. "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.algorithm: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 2
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "bit key"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 0
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.extendedMsg:(Lsun/security/util/ConstraintsParameters;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: aconst_null
aconst_null
iconst_m1
getstatic java.security.cert.CertPathValidatorException$BasicReason.ALGORITHM_CONSTRAINED:Ljava/security/cert/CertPathValidatorException$BasicReason;
16: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;
0 18 1 cp Lsun/security/util/ConstraintsParameters;
1 18 2 key Ljava/security/Key;
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
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.nextConstraint:Lsun/security/util/DisabledAlgorithmConstraints$Constraint;
ifnull 2
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.nextConstraint:Lsun/security/util/DisabledAlgorithmConstraints$Constraint;
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint.permits:(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 "KeySizeConstraints.permits(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.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
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.permitsImpl:(Ljava/security/Key;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;
0 5 1 key Ljava/security/Key;
MethodParameters:
Name Flags
key
public boolean permits(java.security.AlgorithmParameters);
descriptor: (Ljava/security/AlgorithmParameters;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.security.AlgorithmParameters.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.algorithm:Ljava/lang/String;
aload 1
invokevirtual java.security.AlgorithmParameters.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 6
2: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.algorithm:Ljava/lang/String;
invokestatic sun.security.util.AlgorithmDecomposer.getAliases:(Ljava/lang/String;)Ljava/util/Collection;
3: astore 3
start local 3 4: aload 3
aload 2
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 6
5: iconst_1
ireturn
end local 3 6: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/AlgorithmParameters;)I
istore 3
start local 3 7: iload 3
ifne 9
8: iconst_0
ireturn
9: StackMap locals: int
StackMap stack:
iload 3
ifle 15
10: iload 3
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
if_icmplt 12
iload 3
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
if_icmpgt 12
11: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.prohibitedSize:I
iload 3
if_icmpne 13
12: StackMap locals:
StackMap stack:
iconst_0
goto 14
StackMap locals:
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: ireturn
15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;
0 16 1 parameters Ljava/security/AlgorithmParameters;
1 16 2 paramAlg Ljava/lang/String;
4 6 3 aliases Ljava/util/Collection<Ljava/lang/String;>;
7 16 3 keySize I
MethodParameters:
Name Flags
parameters
private boolean permitsImpl(java.security.Key);
descriptor: (Ljava/security/Key;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.algorithm:Ljava/lang/String;
aload 1
invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
istore 2
start local 2 3: iload 2
ifne 5
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iload 2
ifle 11
6: iload 2
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.minSize:I
if_icmplt 8
iload 2
aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.maxSize:I
if_icmpgt 8
7: aload 0
getfield sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.prohibitedSize:I
iload 2
if_icmpne 9
8: StackMap locals:
StackMap stack:
iconst_0
goto 10
StackMap locals:
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;
0 12 1 key Ljava/security/Key;
3 12 2 size I
MethodParameters:
Name Flags
key
static int[] $SWITCH_TABLE$sun$security$util$DisabledAlgorithmConstraints$Constraint$Operator();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.$SWITCH_TABLE$sun$security$util$DisabledAlgorithmConstraints$Constraint$Operator:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.values:()[Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.EQ:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.GE:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.GT:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.LE:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.LT:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.NE:Lsun/security/util/DisabledAlgorithmConstraints$Constraint$Operator;
invokevirtual sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.$SWITCH_TABLE$sun$security$util$DisabledAlgorithmConstraints$Constraint$Operator:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
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
private abstract Constraint = sun.security.util.DisabledAlgorithmConstraints$Constraint of sun.security.util.DisabledAlgorithmConstraints
final Operator = sun.security.util.DisabledAlgorithmConstraints$Constraint$Operator of sun.security.util.DisabledAlgorithmConstraints$Constraint
private KeySizeConstraint = sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint of sun.security.util.DisabledAlgorithmConstraints