final class sun.security.pkcs11.Config
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.pkcs11.Config
super_class: java.lang.Object
{
static final int ERR_HALT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int ERR_IGNORE_ALL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int ERR_IGNORE_LIB;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final boolean staticAllowSingleThreadedModules;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.String, sun.security.pkcs11.Config> configMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lsun/security/pkcs11/Config;>;
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private java.io.Reader reader;
descriptor: Ljava/io/Reader;
flags: (0x0002) ACC_PRIVATE
private java.io.StreamTokenizer st;
descriptor: Ljava/io/StreamTokenizer;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.String> parsedKeywords;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String library;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int slotID;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int slotListIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.Long> enabledMechanisms;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Long;>;
private java.util.Set<java.lang.Long> disabledMechanisms;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Long;>;
private boolean showInfo;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.security.pkcs11.TemplateManager templateManager;
descriptor: Lsun/security/pkcs11/TemplateManager;
flags: (0x0002) ACC_PRIVATE
private int handleStartupErrors;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean keyStoreCompatibilityMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean explicitCancel;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int insertionCheckInterval;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean omitInitialize;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean allowSingleThreadedModules;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String functionList;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean nssUseSecmod;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String nssLibraryDirectory;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String nssSecmodDirectory;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String nssModule;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.pkcs11.Secmod$DbMode nssDbMode;
descriptor: Lsun/security/pkcs11/Secmod$DbMode;
flags: (0x0002) ACC_PRIVATE
private boolean nssNetscapeDbWorkaround;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String nssArgs;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean nssUseSecmodTrust;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] CK_A0;
descriptor: [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc "sun.security.pkcs11.allowSingleThreadedModules"
astore 0
start local 0 1: new sun.security.action.GetPropertyAction
dup
aload 0
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: ldc "false"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: iconst_0
putstatic sun.security.pkcs11.Config.staticAllowSingleThreadedModules:Z
4: goto 6
5: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_1
putstatic sun.security.pkcs11.Config.staticAllowSingleThreadedModules:Z
end local 1 end local 0 6: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
7: putstatic sun.security.pkcs11.Config.configMap:Ljava/util/Map;
8: iconst_0
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
putstatic sun.security.pkcs11.Config.CK_A0:[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
return
LocalVariableTable:
Start End Slot Name Signature
1 6 0 p Ljava/lang/String;
2 6 1 s Ljava/lang/String;
static sun.security.pkcs11.Config getConfig(java.lang.String, java.io.InputStream);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;)Lsun/security/pkcs11/Config;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.security.pkcs11.Config.configMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs11.Config
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: sun.security.pkcs11.Config
StackMap stack:
new sun.security.pkcs11.Config
dup
aload 0
aload 1
invokespecial sun.security.pkcs11.Config.<init>:(Ljava/lang/String;Ljava/io/InputStream;)V
astore 2
4: getstatic sun.security.pkcs11.Config.configMap:Ljava/util/Map;
aload 0
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 8: new java.security.ProviderException
dup
ldc "Error parsing configuration"
aload 3
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
0 9 1 stream Ljava/io/InputStream;
1 9 2 config Lsun/security/pkcs11/Config;
8 9 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
name final
stream final
static sun.security.pkcs11.Config removeConfig(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/pkcs11/Config;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.pkcs11.Config.configMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs11.Config
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static void debug(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
private void <init>(java.lang.String, java.io.InputStream);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.pkcs11.Config.slotID:I
2: aload 0
iconst_m1
putfield sun.security.pkcs11.Config.slotListIndex:I
3: aload 0
iconst_0
putfield sun.security.pkcs11.Config.showInfo:Z
4: aload 0
iconst_1
putfield sun.security.pkcs11.Config.handleStartupErrors:I
5: aload 0
iconst_1
putfield sun.security.pkcs11.Config.keyStoreCompatibilityMode:Z
6: aload 0
iconst_1
putfield sun.security.pkcs11.Config.explicitCancel:Z
7: aload 0
sipush 2000
putfield sun.security.pkcs11.Config.insertionCheckInterval:I
8: aload 0
iconst_0
putfield sun.security.pkcs11.Config.omitInitialize:Z
9: aload 0
iconst_1
putfield sun.security.pkcs11.Config.allowSingleThreadedModules:Z
10: aload 0
ldc "C_GetFunctionList"
putfield sun.security.pkcs11.Config.functionList:Ljava/lang/String;
11: aload 0
getstatic sun.security.pkcs11.Secmod$DbMode.READ_WRITE:Lsun/security/pkcs11/Secmod$DbMode;
putfield sun.security.pkcs11.Config.nssDbMode:Lsun/security/pkcs11/Secmod$DbMode;
12: aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssNetscapeDbWorkaround:Z
13: aload 0
iconst_0
putfield sun.security.pkcs11.Config.nssUseSecmodTrust:Z
14: aload 2
ifnonnull 20
15: aload 1
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
16: aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
ldc "\\n"
ldc "\n"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 3
start local 3 17: aload 0
new java.io.StringReader
dup
aload 3
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
putfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
end local 3 18: goto 20
19: StackMap locals: sun.security.pkcs11.Config java.lang.String java.io.InputStream
StackMap stack:
new java.io.FileInputStream
dup
aload 1
invokestatic sun.security.pkcs11.Config.expand:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 2
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
ifnonnull 22
21: aload 0
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
putfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
22: StackMap locals:
StackMap stack:
aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.security.pkcs11.Config.parsedKeywords:Ljava/util/Set;
23: aload 0
new java.io.StreamTokenizer
dup
aload 0
getfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
invokespecial java.io.StreamTokenizer.<init>:(Ljava/io/Reader;)V
putfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
24: aload 0
invokevirtual sun.security.pkcs11.Config.setupTokenizer:()V
25: aload 0
invokevirtual sun.security.pkcs11.Config.parse:()V
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/security/pkcs11/Config;
0 27 1 filename Ljava/lang/String;
0 27 2 in Ljava/io/InputStream;
17 18 3 config Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
in
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
java.lang.String getLibrary();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.library:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.description:Ljava/lang/String;
ifnull 2
1: aload 0
getfield sun.security.pkcs11.Config.description:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "SunPKCS11-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " using library "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.Config.library:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/Config;
int getSlotID();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.slotID:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
int getSlotListIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.slotID:I
iconst_m1
if_icmpne 2
aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
iconst_m1
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/Config;
boolean getShowInfo();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.pkcs11.SunPKCS11.debug:Lsun/security/util/Debug;
ifnonnull 1
aload 0
getfield sun.security.pkcs11.Config.showInfo:Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/Config;
sun.security.pkcs11.TemplateManager getTemplateManager();
descriptor: ()Lsun/security/pkcs11/TemplateManager;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ifnonnull 2
1: aload 0
new sun.security.pkcs11.TemplateManager
dup
invokespecial sun.security.pkcs11.TemplateManager.<init>:()V
putfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/Config;
boolean isEnabled(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.Config.enabledMechanisms:Ljava/util/Set;
ifnull 2
1: aload 0
getfield sun.security.pkcs11.Config.enabledMechanisms:Ljava/util/Set;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.disabledMechanisms:Ljava/util/Set;
ifnull 6
3: aload 0
getfield sun.security.pkcs11.Config.disabledMechanisms:Ljava/util/Set;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/pkcs11/Config;
0 7 1 m J
MethodParameters:
Name Flags
m
int getHandleStartupErrors();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.handleStartupErrors:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getKeyStoreCompatibilityMode();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.keyStoreCompatibilityMode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getExplicitCancel();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.explicitCancel:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
int getInsertionCheckInterval();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.insertionCheckInterval:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getOmitInitialize();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.omitInitialize:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getAllowSingleThreadedModules();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.pkcs11.Config.staticAllowSingleThreadedModules:Z
ifeq 1
aload 0
getfield sun.security.pkcs11.Config.allowSingleThreadedModules:Z
ifeq 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/pkcs11/Config;
java.lang.String getFunctionList();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.functionList:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getNssUseSecmod();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssUseSecmod:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
java.lang.String getNssLibraryDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssLibraryDirectory:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
java.lang.String getNssSecmodDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssSecmodDirectory:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
java.lang.String getNssModule();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssModule:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
sun.security.pkcs11.Secmod$DbMode getNssDbMode();
descriptor: ()Lsun/security/pkcs11/Secmod$DbMode;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssDbMode:Lsun/security/pkcs11/Secmod$DbMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
public boolean getNssNetscapeDbWorkaround();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssUseSecmod:Z
ifeq 1
aload 0
getfield sun.security.pkcs11.Config.nssNetscapeDbWorkaround:Z
ifeq 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/pkcs11/Config;
java.lang.String getNssArgs();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssArgs:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
boolean getNssUseSecmodTrust();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.nssUseSecmodTrust:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
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=2, args_size=1
start local 0 0: aload 0
invokestatic sun.security.util.PropertyExpander.expand:(Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s final
private void setupTokenizer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokevirtual java.io.StreamTokenizer.resetSyntax:()V
1: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 97
bipush 122
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
2: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 65
bipush 90
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
3: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 48
bipush 57
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
4: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 58
bipush 58
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
5: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 46
bipush 46
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
6: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 95
bipush 95
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
7: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 45
bipush 45
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
8: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 47
bipush 47
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
9: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 92
bipush 92
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
10: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 36
bipush 36
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
11: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 123
bipush 123
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
12: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 125
bipush 125
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
13: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 42
bipush 42
invokevirtual java.io.StreamTokenizer.wordChars:(II)V
14: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
iconst_0
bipush 32
invokevirtual java.io.StreamTokenizer.whitespaceChars:(II)V
15: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 35
invokevirtual java.io.StreamTokenizer.commentChar:(I)V
16: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
iconst_1
invokevirtual java.io.StreamTokenizer.eolIsSignificant:(Z)V
17: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
bipush 34
invokevirtual java.io.StreamTokenizer.quoteChar:(I)V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/pkcs11/Config;
private sun.security.pkcs11.ConfigurationException excToken(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new sun.security.pkcs11.ConfigurationException
dup
new java.lang.StringBuilder
dup
aload 1
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.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
0 1 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
private sun.security.pkcs11.ConfigurationException excLine(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new sun.security.pkcs11.ConfigurationException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokevirtual java.io.StreamTokenizer.lineno:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Config;
0 1 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
private void parse();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: goto 101
3: StackMap locals: int
StackMap stack:
iload 1
bipush 10
if_icmpne 5
4: goto 0
5: StackMap locals:
StackMap stack:
iload 1
bipush -3
if_icmpeq 7
6: aload 0
ldc "Unexpected token:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
astore 2
start local 2 8: aload 2
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseStringEntry:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.name:Ljava/lang/String;
10: goto 99
StackMap locals: java.lang.String
StackMap stack:
11: aload 2
ldc "library"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseLibrary:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.library:Ljava/lang/String;
13: goto 99
StackMap locals:
StackMap stack:
14: aload 2
ldc "description"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseDescription:(Ljava/lang/String;)V
16: goto 99
StackMap locals:
StackMap stack:
17: aload 2
ldc "slot"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseSlotID:(Ljava/lang/String;)V
19: goto 99
StackMap locals:
StackMap stack:
20: aload 2
ldc "slotListIndex"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseSlotListIndex:(Ljava/lang/String;)V
22: goto 99
StackMap locals:
StackMap stack:
23: aload 2
ldc "enabledMechanisms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseEnabledMechanisms:(Ljava/lang/String;)V
25: goto 99
StackMap locals:
StackMap stack:
26: aload 2
ldc "disabledMechanisms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseDisabledMechanisms:(Ljava/lang/String;)V
28: goto 99
StackMap locals:
StackMap stack:
29: aload 2
ldc "attributes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseAttributes:(Ljava/lang/String;)V
31: goto 99
StackMap locals:
StackMap stack:
32: aload 2
ldc "handleStartupErrors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseHandleStartupErrors:(Ljava/lang/String;)V
34: goto 99
StackMap locals:
StackMap stack:
35: aload 2
ldc "insertionCheckInterval"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 39
36: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseIntegerEntry:(Ljava/lang/String;)I
putfield sun.security.pkcs11.Config.insertionCheckInterval:I
37: aload 0
getfield sun.security.pkcs11.Config.insertionCheckInterval:I
bipush 100
if_icmpge 99
38: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " must be at least 100 ms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
39: StackMap locals:
StackMap stack:
aload 2
ldc "showInfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.showInfo:Z
41: goto 99
StackMap locals:
StackMap stack:
42: aload 2
ldc "keyStoreCompatibilityMode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.keyStoreCompatibilityMode:Z
44: goto 99
StackMap locals:
StackMap stack:
45: aload 2
ldc "explicitCancel"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
46: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.explicitCancel:Z
47: goto 99
StackMap locals:
StackMap stack:
48: aload 2
ldc "omitInitialize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 51
49: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.omitInitialize:Z
50: goto 99
StackMap locals:
StackMap stack:
51: aload 2
ldc "allowSingleThreadedModules"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 54
52: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.allowSingleThreadedModules:Z
53: goto 99
StackMap locals:
StackMap stack:
54: aload 2
ldc "functionList"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 57
55: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseStringEntry:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.functionList:Ljava/lang/String;
56: goto 99
StackMap locals:
StackMap stack:
57: aload 2
ldc "nssUseSecmod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 60
58: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
59: goto 99
StackMap locals:
StackMap stack:
60: aload 2
ldc "nssLibraryDirectory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 64
61: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseLibrary:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.nssLibraryDirectory:Ljava/lang/String;
62: aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
63: goto 99
StackMap locals:
StackMap stack:
64: aload 2
ldc "nssSecmodDirectory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
65: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseStringEntry:(Ljava/lang/String;)Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.expand:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.nssSecmodDirectory:Ljava/lang/String;
66: aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
67: goto 99
StackMap locals:
StackMap stack:
68: aload 2
ldc "nssModule"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 72
69: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseStringEntry:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.nssModule:Ljava/lang/String;
70: aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
71: goto 99
StackMap locals:
StackMap stack:
72: aload 2
ldc "nssDbMode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 86
73: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseStringEntry:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 74: aload 3
ldc "readWrite"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 77
75: aload 0
getstatic sun.security.pkcs11.Secmod$DbMode.READ_WRITE:Lsun/security/pkcs11/Secmod$DbMode;
putfield sun.security.pkcs11.Config.nssDbMode:Lsun/security/pkcs11/Secmod$DbMode;
76: goto 84
StackMap locals: java.lang.String
StackMap stack:
77: aload 3
ldc "readOnly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 80
78: aload 0
getstatic sun.security.pkcs11.Secmod$DbMode.READ_ONLY:Lsun/security/pkcs11/Secmod$DbMode;
putfield sun.security.pkcs11.Config.nssDbMode:Lsun/security/pkcs11/Secmod$DbMode;
79: goto 84
StackMap locals:
StackMap stack:
80: aload 3
ldc "noDb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 83
81: aload 0
getstatic sun.security.pkcs11.Secmod$DbMode.NO_DB:Lsun/security/pkcs11/Secmod$DbMode;
putfield sun.security.pkcs11.Config.nssDbMode:Lsun/security/pkcs11/Secmod$DbMode;
82: goto 84
83: StackMap locals:
StackMap stack:
aload 0
ldc "nssDbMode must be one of readWrite, readOnly, and noDb:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
84: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
end local 3 85: goto 99
StackMap locals:
StackMap stack:
86: aload 2
ldc "nssNetscapeDbWorkaround"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
87: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.nssNetscapeDbWorkaround:Z
88: aload 0
iconst_1
putfield sun.security.pkcs11.Config.nssUseSecmod:Z
89: goto 99
StackMap locals:
StackMap stack:
90: aload 2
ldc "nssArgs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 93
91: aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseNSSArgs:(Ljava/lang/String;)V
92: goto 99
StackMap locals:
StackMap stack:
93: aload 2
ldc "nssUseSecmodTrust"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 96
94: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.parseBooleanEntry:(Ljava/lang/String;)Z
putfield sun.security.pkcs11.Config.nssUseSecmodTrust:Z
95: goto 99
96: StackMap locals:
StackMap stack:
new sun.security.pkcs11.ConfigurationException
dup
97: new java.lang.StringBuilder
dup
ldc "Unknown keyword '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "', line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokevirtual java.io.StreamTokenizer.lineno:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
98: invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
99: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.parsedKeywords:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 end local 1 100: goto 0
101: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
invokevirtual java.io.Reader.close:()V
102: aload 0
aconst_null
putfield sun.security.pkcs11.Config.reader:Ljava/io/Reader;
103: aload 0
aconst_null
putfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
104: aload 0
aconst_null
putfield sun.security.pkcs11.Config.parsedKeywords:Ljava/util/Set;
105: aload 0
getfield sun.security.pkcs11.Config.name:Ljava/lang/String;
ifnonnull 107
106: new sun.security.pkcs11.ConfigurationException
dup
ldc "name must be specified"
invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
107: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.nssUseSecmod:Z
ifne 110
108: aload 0
getfield sun.security.pkcs11.Config.library:Ljava/lang/String;
ifnonnull 124
109: new sun.security.pkcs11.ConfigurationException
dup
ldc "library must be specified"
invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
110: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.library:Ljava/lang/String;
ifnull 114
111: new sun.security.pkcs11.ConfigurationException
dup
112: ldc "library must not be specified in NSS mode"
113: invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
114: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.slotID:I
iconst_m1
if_icmpne 115
aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
iconst_m1
if_icmpeq 118
115: StackMap locals:
StackMap stack:
new sun.security.pkcs11.ConfigurationException
dup
116: ldc "slot and slotListIndex must not be specified in NSS mode"
117: invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
118: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.nssArgs:Ljava/lang/String;
ifnull 122
119: new sun.security.pkcs11.ConfigurationException
dup
120: ldc "nssArgs must not be specified in NSS mode"
121: invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
122: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.nssUseSecmodTrust:Z
ifeq 124
123: new sun.security.pkcs11.ConfigurationException
dup
ldc "nssUseSecmodTrust is an internal option and must not be specified in NSS mode"
invokespecial sun.security.pkcs11.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
124: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 125 0 this Lsun/security/pkcs11/Config;
1 100 1 token I
8 100 2 word Ljava/lang/String;
74 85 3 mode Ljava/lang/String;
Exceptions:
throws java.io.IOException
private int nextToken();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokevirtual java.io.StreamTokenizer.nextToken:()I
istore 1
start local 1 1: aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/Config;
1 3 1 token I
Exceptions:
throws java.io.IOException
private void parseEquals();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 1
start local 1 1: iload 1
bipush 61
if_icmpeq 3
2: aload 0
ldc "Expected '=', read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
3: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/Config;
1 4 1 token I
Exceptions:
throws java.io.IOException
private void parseOpenBraces();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 1
start local 1 1: iload 1
bipush 10
if_icmpne 3
2: goto 0
3: StackMap locals: int
StackMap stack:
iload 1
bipush -3
if_icmpne 5
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
ldc "{"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
ldc "Expected '{', read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/pkcs11/Config;
1 6 1 token I
Exceptions:
throws java.io.IOException
private boolean isCloseBraces(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush -3
if_icmpne 1
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
ldc "}"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/Config;
0 2 1 token I
MethodParameters:
Name Flags
token
private java.lang.String parseWord();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 1
start local 1 1: iload 1
bipush -3
if_icmpeq 3
2: aload 0
ldc "Unexpected value:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/Config;
1 4 1 token I
Exceptions:
throws java.io.IOException
private java.lang.String parseStringEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
start local 2 3: iload 2
bipush -3
if_icmpeq 5
iload 2
bipush 34
if_icmpeq 5
4: aload 0
ldc "Unexpected value:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
astore 3
start local 3 6: new java.lang.StringBuilder
dup
aload 1
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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
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 Lsun/security/pkcs11/Config;
0 8 1 keyword Ljava/lang/String;
3 8 2 token I
6 8 3 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private boolean parseBooleanEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
invokevirtual sun.security.pkcs11.Config.parseBoolean:()Z
istore 2
start local 2 3: new java.lang.StringBuilder
dup
aload 1
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;
iload 2
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/pkcs11/Config;
0 5 1 keyword Ljava/lang/String;
3 5 2 value Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private int parseIntegerEntry(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
istore 2
start local 2 3: new java.lang.StringBuilder
dup
aload 1
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;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/pkcs11/Config;
0 5 1 keyword Ljava/lang/String;
3 5 2 value I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private boolean parseBoolean();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 1
start local 1 1: ldc "true"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "false"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
ldc "Expected boolean value, read:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/pkcs11/Config;
1 6 1 val Ljava/lang/String;
Exceptions:
throws java.io.IOException
private java.lang.String parseLine();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 1
start local 1 1: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
start local 2 2: iload 2
bipush 10
if_icmpeq 8
iload 2
iconst_m1
if_icmpne 4
3: goto 8
4: StackMap locals: int
StackMap stack:
iload 2
bipush -3
if_icmpeq 6
5: aload 0
ldc "Unexpected value"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 2 7: goto 1
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/pkcs11/Config;
1 9 1 s Ljava/lang/String;
2 7 2 token I
Exceptions:
throws java.io.IOException
private int decodeNumber(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "0x"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 1
aload 1
ldc "0X"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
2: ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
6: aload 0
ldc "Expected number, read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/pkcs11/Config;
0 7 1 str Ljava/lang/String;
Exception table:
from to target type
0 2 5 Class java.lang.NumberFormatException
3 4 5 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
private static boolean isNumber(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 3: iload 1
bipush 48
if_icmplt 4
iload 1
bipush 57
if_icmpgt 4
iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
3 5 1 ch C
MethodParameters:
Name Flags
s
private void parseComma();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 1
start local 1 1: iload 1
bipush 44
if_icmpeq 3
2: aload 0
ldc "Expected ',', read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
3: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/Config;
1 4 1 token I
Exceptions:
throws java.io.IOException
private static boolean isByteArray(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "0h"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 val Ljava/lang/String;
MethodParameters:
Name Flags
val
private byte[] decodeByteArray(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "0h"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: aload 0
ldc "Expected byte array value, read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
3: new java.math.BigInteger
dup
aload 1
bipush 16
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;I)V
invokevirtual java.math.BigInteger.toByteArray:()[B
4: areturn
5: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
6: aload 0
ldc "Expected byte array value, read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/pkcs11/Config;
0 7 1 str Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
private void checkDup(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.Config.parsedKeywords:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " must only be specified once"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/Config;
0 3 1 keyword Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private java.lang.String parseLibrary(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
invokevirtual sun.security.pkcs11.Config.parseLine:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
invokestatic sun.security.pkcs11.Config.expand:(Ljava/lang/String;)Ljava/lang/String;
astore 2
4: aload 2
ldc "/$ISA/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpeq 17
6: ldc "os.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 7: ldc "os.arch"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 8: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 9: aload 2
iload 3
iconst_5
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 10: aload 4
ldc "SunOS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
aload 5
ldc "sparcv9"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/sparcv9"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
12: goto 17
StackMap locals: sun.security.pkcs11.Config java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
13: aload 4
ldc "SunOS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
aload 5
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/amd64"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 7 end local 6 end local 5 end local 4 17: StackMap locals: sun.security.pkcs11.Config java.lang.String java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
18: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/pkcs11/Config;
0 19 1 keyword Ljava/lang/String;
3 19 2 lib Ljava/lang/String;
5 19 3 i I
7 17 4 osName Ljava/lang/String;
8 17 5 osArch Ljava/lang/String;
9 17 6 prefix Ljava/lang/String;
10 17 7 suffix Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseDescription(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
aload 0
invokevirtual sun.security.pkcs11.Config.parseLine:()Ljava/lang/String;
putfield sun.security.pkcs11.Config.description:Ljava/lang/String;
3: new java.lang.StringBuilder
dup
ldc "description: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.description:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/pkcs11/Config;
0 5 1 keyword Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseSlotID(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.Config.slotID:I
iflt 2
1: aload 0
ldc "Duplicate slot definition"
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
iflt 6
3: aload 0
4: ldc "Only one of slot and slotListIndex must be specified"
5: invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
7: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 2
start local 2 8: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
putfield sun.security.pkcs11.Config.slotID:I
9: new java.lang.StringBuilder
dup
ldc "slot: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.slotID:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/pkcs11/Config;
0 11 1 keyword Ljava/lang/String;
8 11 2 slotString Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseSlotListIndex(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
iflt 2
1: aload 0
ldc "Duplicate slotListIndex definition"
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.slotID:I
iflt 6
3: aload 0
4: ldc "Only one of slot and slotListIndex must be specified"
5: invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
7: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 2
start local 2 8: aload 0
aload 0
aload 2
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
putfield sun.security.pkcs11.Config.slotListIndex:I
9: new java.lang.StringBuilder
dup
ldc "slotListIndex: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.slotListIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/pkcs11/Config;
0 11 1 keyword Ljava/lang/String;
8 11 2 slotString Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseEnabledMechanisms(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.parseMechanisms:(Ljava/lang/String;)Ljava/util/Set;
putfield sun.security.pkcs11.Config.enabledMechanisms:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/Config;
0 2 1 keyword Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseDisabledMechanisms(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.parseMechanisms:(Ljava/lang/String;)Ljava/util/Set;
putfield sun.security.pkcs11.Config.disabledMechanisms:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/Config;
0 2 1 keyword Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private java.util.Set<java.lang.Long> parseMechanisms(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
3: aload 0
invokevirtual sun.security.pkcs11.Config.parseOpenBraces:()V
4: StackMap locals: java.util.Set
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 3
start local 3 5: aload 0
iload 3
invokevirtual sun.security.pkcs11.Config.isCloseBraces:(I)Z
ifeq 7
6: goto 14
7: StackMap locals: int
StackMap stack:
iload 3
bipush 10
if_icmpne 9
8: goto 4
9: StackMap locals:
StackMap stack:
iload 3
bipush -3
if_icmpeq 11
10: aload 0
ldc "Expected mechanism, read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.parseMechanism:(Ljava/lang/String;)J
lstore 4
start local 4 12: aload 2
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 3 13: goto 4
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/pkcs11/Config;
0 15 1 keyword Ljava/lang/String;
2 15 2 mechs Ljava/util/Set<Ljava/lang/Long;>;
5 13 3 token I
12 13 4 mech J
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/Long;>;
MethodParameters:
Name Flags
keyword
private long parseMechanism(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.pkcs11.Config.isNumber:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
i2l
lreturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.security.pkcs11.wrapper.Functions.getMechanismId:(Ljava/lang/String;)J
3: lreturn
4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
5: aload 0
new java.lang.StringBuilder
dup
ldc "Unknown mechanism: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/pkcs11/Config;
0 6 1 mech Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mech
private void parseAttributes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ifnonnull 2
1: aload 0
new sun.security.pkcs11.TemplateManager
dup
invokespecial sun.security.pkcs11.TemplateManager.<init>:()V
putfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
start local 2 3: iload 2
bipush 61
if_icmpne 9
4: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ldc "compatibility"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
new java.lang.StringBuilder
dup
ldc "Expected 'compatibility', read "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
7: StackMap locals: int java.lang.String
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.setCompatibilityAttributes:()V
8: return
end local 3 9: StackMap locals:
StackMap stack:
iload 2
bipush 40
if_icmpeq 11
10: aload 0
ldc "Expected '(' or '=', read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.parseOperation:()Ljava/lang/String;
astore 3
start local 3 12: aload 0
invokevirtual sun.security.pkcs11.Config.parseComma:()V
13: aload 0
invokevirtual sun.security.pkcs11.Config.parseObjectClass:()J
lstore 4
start local 4 14: aload 0
invokevirtual sun.security.pkcs11.Config.parseComma:()V
15: aload 0
invokevirtual sun.security.pkcs11.Config.parseKeyAlgorithm:()J
lstore 6
start local 6 16: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
17: iload 2
bipush 41
if_icmpeq 19
18: aload 0
ldc "Expected ')', read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
19: StackMap locals: java.lang.String long long
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
20: aload 0
invokevirtual sun.security.pkcs11.Config.parseOpenBraces:()V
21: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 22: StackMap locals: java.util.List
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
23: aload 0
iload 2
invokevirtual sun.security.pkcs11.Config.isCloseBraces:(I)Z
ifeq 25
24: goto 35
25: StackMap locals:
StackMap stack:
iload 2
bipush 10
if_icmpne 27
26: goto 22
27: StackMap locals:
StackMap stack:
iload 2
bipush -3
if_icmpeq 29
28: aload 0
ldc "Expected mechanism, read"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
astore 9
start local 9 30: aload 0
aload 9
invokevirtual sun.security.pkcs11.Config.decodeAttributeName:(Ljava/lang/String;)J
lstore 10
start local 10 31: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
32: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 12
start local 12 33: aload 8
aload 0
lload 10
aload 12
invokevirtual sun.security.pkcs11.Config.decodeAttributeValue:(JLjava/lang/String;)Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 10 end local 9 34: goto 22
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
36: aload 3
lload 4
lload 6
aload 8
getstatic sun.security.pkcs11.Config.CK_A0:[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
37: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
38: return
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/security/pkcs11/Config;
0 39 1 keyword Ljava/lang/String;
3 39 2 token I
5 9 3 s Ljava/lang/String;
12 39 3 op Ljava/lang/String;
14 39 4 objectClass J
16 39 6 keyAlg J
22 39 8 attributes Ljava/util/List<Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;>;
30 34 9 attributeName Ljava/lang/String;
31 34 10 attributeId J
33 34 12 attributeValue Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void setCompatibilityAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 4
ldc 2147483426
1: bipush 7
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
2: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.TOKEN_FALSE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
3: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SENSITIVE_FALSE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_2
4: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.EXTRACTABLE_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_3
5: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.ENCRYPT_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_4
6: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DECRYPT_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_5
7: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.WRAP_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
bipush 6
8: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.UNWRAP_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
9: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
10: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 4
ldc 16
11: bipush 7
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
12: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SIGN_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
13: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.VERIFY_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_2
14: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.ENCRYPT_NULL:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_3
15: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DECRYPT_NULL:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_4
16: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.WRAP_NULL:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_5
17: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.UNWRAP_NULL:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
bipush 6
18: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DERIVE_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
19: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
20: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 3
ldc 2147483426
21: iconst_3
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
22: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.TOKEN_FALSE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
23: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SENSITIVE_FALSE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_2
24: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.EXTRACTABLE_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
25: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
26: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 2
ldc 2147483426
27: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
28: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.TOKEN_FALSE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
29: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
30: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 3
lconst_0
31: iconst_4
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
32: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DECRYPT_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
33: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SIGN_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_2
34: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SIGN_RECOVER_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_3
35: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.UNWRAP_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
36: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
37: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 2
lconst_0
38: iconst_4
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
39: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.ENCRYPT_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
40: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.VERIFY_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_2
41: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.VERIFY_RECOVER_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_3
42: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.WRAP_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
43: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
44: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 3
lconst_1
45: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
46: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SIGN_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
47: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
48: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 2
lconst_1
49: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
50: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.VERIFY_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
51: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
52: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 3
ldc 2
53: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
54: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DERIVE_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
55: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
56: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 3
ldc 3
57: iconst_2
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
58: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.SIGN_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
dup
iconst_1
59: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.DERIVE_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
60: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
61: aload 0
getfield sun.security.pkcs11.Config.templateManager:Lsun/security/pkcs11/TemplateManager;
ldc "*"
ldc 2
ldc 3
62: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
63: getstatic sun.security.pkcs11.wrapper.CK_ATTRIBUTE.VERIFY_TRUE:Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
aastore
64: invokevirtual sun.security.pkcs11.TemplateManager.addTemplate:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
65: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lsun/security/pkcs11/Config;
private java.lang.String parseOperation();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 1
start local 1 1: ldc "*"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: ldc "*"
areturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "generate"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: ldc "generate"
areturn
5: StackMap locals:
StackMap stack:
ldc "import"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: ldc "import"
areturn
7: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Unknown operation "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/pkcs11/Config;
1 8 1 op Ljava/lang/String;
Exceptions:
throws java.io.IOException
private long parseObjectClass();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.security.pkcs11.wrapper.Functions.getObjectClassId:(Ljava/lang/String;)J
2: lreturn
3: StackMap locals: sun.security.pkcs11.Config java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
4: aload 0
new java.lang.StringBuilder
dup
ldc "Unknown object class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/pkcs11/Config;
1 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
private long parseKeyAlgorithm();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.security.pkcs11.Config.isNumber:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
i2l
lreturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic sun.security.pkcs11.wrapper.Functions.getKeyId:(Ljava/lang/String;)J
4: lreturn
5: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
6: aload 0
new java.lang.StringBuilder
dup
ldc "Unknown key algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/pkcs11/Config;
1 7 1 name Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
private long decodeAttributeName(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.pkcs11.Config.isNumber:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
i2l
lreturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.security.pkcs11.wrapper.Functions.getAttributeId:(Ljava/lang/String;)J
3: lreturn
4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
5: aload 0
new java.lang.StringBuilder
dup
ldc "Unknown attribute name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/pkcs11/Config;
0 6 1 name Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE decodeAttributeValue(long, java.lang.String);
descriptor: (JLjava/lang/String;)Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
ldc "null"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lload 1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
areturn
2: StackMap locals:
StackMap stack:
aload 3
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lload 1
iconst_1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JZ)V
areturn
4: StackMap locals:
StackMap stack:
aload 3
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lload 1
iconst_0
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JZ)V
areturn
6: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.security.pkcs11.Config.isByteArray:(Ljava/lang/String;)Z
ifeq 8
7: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lload 1
aload 0
aload 3
invokevirtual sun.security.pkcs11.Config.decodeByteArray:(Ljava/lang/String;)[B
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
areturn
8: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.security.pkcs11.Config.isNumber:(Ljava/lang/String;)Z
ifeq 10
9: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lload 1
aload 0
aload 3
invokevirtual sun.security.pkcs11.Config.decodeNumber:(Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
areturn
10: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Unknown attribute value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.pkcs11.Config.excLine:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/pkcs11/Config;
0 11 1 id J
0 11 3 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
id
value
private void parseNSSArgs(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
invokevirtual sun.security.pkcs11.Config.nextToken:()I
istore 2
start local 2 3: iload 2
bipush 34
if_icmpeq 5
4: aload 0
ldc "Expected quoted string"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
5: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Config.st:Ljava/io/StreamTokenizer;
getfield java.io.StreamTokenizer.sval:Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.expand:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.pkcs11.Config.nssArgs:Ljava/lang/String;
6: new java.lang.StringBuilder
dup
ldc "nssArgs: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.nssArgs:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/pkcs11/Config;
0 8 1 keyword Ljava/lang/String;
3 8 2 token I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
private void parseHandleStartupErrors(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.pkcs11.Config.checkDup:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.security.pkcs11.Config.parseEquals:()V
2: aload 0
invokevirtual sun.security.pkcs11.Config.parseWord:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "ignoreAll"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
iconst_2
putfield sun.security.pkcs11.Config.handleStartupErrors:I
5: goto 13
StackMap locals: java.lang.String
StackMap stack:
6: aload 2
ldc "ignoreMissingLibrary"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
iconst_3
putfield sun.security.pkcs11.Config.handleStartupErrors:I
8: goto 13
StackMap locals:
StackMap stack:
9: aload 2
ldc "halt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
iconst_1
putfield sun.security.pkcs11.Config.handleStartupErrors:I
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
ldc "Invalid value for handleStartupErrors:"
invokevirtual sun.security.pkcs11.Config.excToken:(Ljava/lang/String;)Lsun/security/pkcs11/ConfigurationException;
athrow
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "handleStartupErrors: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.pkcs11.Config.handleStartupErrors:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.pkcs11.Config.debug:(Ljava/lang/Object;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/pkcs11/Config;
0 15 1 keyword Ljava/lang/String;
3 15 2 val Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
}
SourceFile: "Config.java"
InnerClasses:
public final DbMode = sun.security.pkcs11.Secmod$DbMode of sun.security.pkcs11.Secmod