final class sun.security.jca.ProviderConfig
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.jca.ProviderConfig
super_class: java.lang.Object
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String P11_SOL_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SunPKCS11"
private static final java.lang.String P11_SOL_ARG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "${java.home}/conf/security/sunpkcs11-solaris.cfg"
private static final int MAX_LOAD_TRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30
private final java.lang.String provName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String argument;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int tries;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean isLoading;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jca"
ldc "ProviderConfig"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
1: putstatic sun.security.jca.ProviderConfig.debug:Lsun/security/util/Debug;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
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 1
ldc "SunPKCS11"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
aload 2
ldc "${java.home}/conf/security/sunpkcs11-solaris.cfg"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual sun.security.jca.ProviderConfig.checkSunPKCS11Solaris:()V
3: StackMap locals: sun.security.jca.ProviderConfig java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
putfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
4: aload 0
aload 2
invokestatic sun.security.jca.ProviderConfig.expand:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/jca/ProviderConfig;
0 6 1 provName Ljava/lang/String;
0 6 2 argument Ljava/lang/String;
MethodParameters:
Name Flags
provName
argument
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc ""
invokespecial sun.security.jca.ProviderConfig.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jca/ProviderConfig;
0 2 1 provName Ljava/lang/String;
MethodParameters:
Name Flags
provName
void <init>(java.security.Provider);
descriptor: (Ljava/security/Provider;)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
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
putfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
2: aload 0
ldc ""
putfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
3: aload 0
aload 1
putfield sun.security.jca.ProviderConfig.provider:Ljava/security/Provider;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/jca/ProviderConfig;
0 5 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
private void checkSunPKCS11Solaris();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.security.jca.ProviderConfig$1
dup
aload 0
invokespecial sun.security.jca.ProviderConfig$1.<init>:(Lsun/security/jca/ProviderConfig;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 1
start local 1 2: aload 1
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
if_acmpne 4
3: aload 0
bipush 30
putfield sun.security.jca.ProviderConfig.tries:I
4: StackMap locals: java.lang.Boolean
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/jca/ProviderConfig;
2 5 1 o Ljava/lang/Boolean;
private boolean hasArgument();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jca/ProviderConfig;
private boolean shouldLoad();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jca.ProviderConfig.tries:I
bipush 30
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jca/ProviderConfig;
private void disableLoad();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 30
putfield sun.security.jca.ProviderConfig.tries:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jca/ProviderConfig;
boolean isLoaded();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jca.ProviderConfig.provider:Ljava/security/Provider;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jca/ProviderConfig;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.jca.ProviderConfig
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.jca.ProviderConfig
astore 2
start local 2 5: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
aload 2
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
aload 2
getfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: sun.security.jca.ProviderConfig
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/jca/ProviderConfig;
0 9 1 obj Ljava/lang/Object;
5 9 2 other Lsun/security/jca/ProviderConfig;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jca/ProviderConfig;
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
invokevirtual sun.security.jca.ProviderConfig.hasArgument:()Z
ifeq 2
1: new java.lang.StringBuilder
dup
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "('"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.jca.ProviderConfig.argument: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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jca/ProviderConfig;
synchronized java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.jca.ProviderConfig.provider:Ljava/security/Provider;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.security.Provider
StackMap stack:
aload 0
invokevirtual sun.security.jca.ProviderConfig.shouldLoad:()Z
ifne 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "SUN"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "sun.security.provider.Sun"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: StackMap locals:
StackMap stack:
new sun.security.provider.Sun
dup
invokespecial sun.security.provider.Sun.<init>:()V
astore 1
7: goto 36
StackMap locals:
StackMap stack:
8: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "SunRsaSign"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "sun.security.rsa.SunRsaSign"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: StackMap locals:
StackMap stack:
new sun.security.rsa.SunRsaSign
dup
invokespecial sun.security.rsa.SunRsaSign.<init>:()V
astore 1
10: goto 36
StackMap locals:
StackMap stack:
11: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "SunJCE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "com.sun.crypto.provider.SunJCE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: StackMap locals:
StackMap stack:
new com.sun.crypto.provider.SunJCE
dup
invokespecial com.sun.crypto.provider.SunJCE.<init>:()V
astore 1
13: goto 36
StackMap locals:
StackMap stack:
14: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "SunJSSE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "com.sun.net.ssl.internal.ssl.Provider"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.jca.ProviderConfig.hasArgument:()Z
ifeq 18
16: new com.sun.net.ssl.internal.ssl.Provider
dup
aload 0
getfield sun.security.jca.ProviderConfig.argument:Ljava/lang/String;
invokespecial com.sun.net.ssl.internal.ssl.Provider.<init>:(Ljava/lang/String;)V
astore 1
17: goto 36
18: StackMap locals:
StackMap stack:
new com.sun.net.ssl.internal.ssl.Provider
dup
invokespecial com.sun.net.ssl.internal.ssl.Provider.<init>:()V
astore 1
19: goto 36
StackMap locals:
StackMap stack:
20: aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "Apple"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 0
getfield sun.security.jca.ProviderConfig.provName:Ljava/lang/String;
ldc "apple.security.AppleProvider"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: StackMap locals:
StackMap stack:
new sun.security.jca.ProviderConfig$2
dup
aload 0
invokespecial sun.security.jca.ProviderConfig$2.<init>:(Lsun/security/jca/ProviderConfig;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.Provider
astore 1
22: goto 36
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jca.ProviderConfig.isLoading:Z
ifeq 28
24: getstatic sun.security.jca.ProviderConfig.debug:Lsun/security/util/Debug;
ifnull 27
25: getstatic sun.security.jca.ProviderConfig.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Recursion loading provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
26: new java.lang.Exception
dup
ldc "Call trace"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.Exception.printStackTrace:()V
27: StackMap locals:
StackMap stack:
aconst_null
areturn
28: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.jca.ProviderConfig.isLoading:Z
29: aload 0
dup
getfield sun.security.jca.ProviderConfig.tries:I
iconst_1
iadd
putfield sun.security.jca.ProviderConfig.tries:I
30: aload 0
invokevirtual sun.security.jca.ProviderConfig.doLoadProvider:()Ljava/security/Provider;
astore 1
31: goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 2
33: aload 0
iconst_0
putfield sun.security.jca.ProviderConfig.isLoading:Z
34: aload 2
athrow
35: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.jca.ProviderConfig.isLoading:Z
36: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.security.jca.ProviderConfig.provider:Ljava/security/Provider;
37: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/security/jca/ProviderConfig;
1 38 1 p Ljava/security/Provider;
Exception table:
from to target type
28 32 32 any
private java.security.Provider doLoadProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.jca.ProviderConfig$3
dup
aload 0
invokespecial sun.security.jca.ProviderConfig$3.<init>:(Lsun/security/jca/ProviderConfig;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.Provider
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jca/ProviderConfig;
private static java.lang.String expand(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "${"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new sun.security.jca.ProviderConfig$4
dup
aload 0
invokespecial sun.security.jca.ProviderConfig$4.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value final
}
SourceFile: "ProviderConfig.java"
NestMembers:
sun.security.jca.ProviderConfig$1 sun.security.jca.ProviderConfig$2 sun.security.jca.ProviderConfig$3 sun.security.jca.ProviderConfig$4 sun.security.jca.ProviderConfig$ProviderLoader sun.security.jca.ProviderConfig$ProviderLoader$1
InnerClasses:
sun.security.jca.ProviderConfig$1
sun.security.jca.ProviderConfig$2
sun.security.jca.ProviderConfig$3
sun.security.jca.ProviderConfig$4
private final ProviderLoader = sun.security.jca.ProviderConfig$ProviderLoader of sun.security.jca.ProviderConfig