public class sun.security.provider.IdentityDatabase extends java.security.IdentityScope implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.provider.IdentityDatabase
super_class: java.security.IdentityScope
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4923799573357658384
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean error;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
java.io.File sourceFile;
descriptor: Ljava/io/File;
flags: (0x0000)
java.util.Hashtable<java.lang.String, java.security.Identity> identities;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/security/Identity;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.security.provider.IdentityDatabase$1
dup
invokespecial sun.security.provider.IdentityDatabase$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "restoring..."
invokespecial sun.security.provider.IdentityDatabase.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/IdentityDatabase;
Exceptions:
throws java.security.InvalidParameterException
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokespecial sun.security.provider.IdentityDatabase.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/IdentityDatabase;
0 3 1 file Ljava/io/File;
Exceptions:
throws java.security.InvalidParameterException
MethodParameters:
Name Flags
file
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.security.IdentityScope.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/IdentityDatabase;
0 3 1 name Ljava/lang/String;
Exceptions:
throws java.security.InvalidParameterException
MethodParameters:
Name Flags
name
public static sun.security.provider.IdentityDatabase fromStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lsun/security/provider/IdentityDatabase;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new java.io.ObjectInputStream
dup
aload 0
invokespecial java.io.ObjectInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 2: aload 2
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast sun.security.provider.IdentityDatabase
astore 1
end local 2 3: goto 16
StackMap locals: java.io.InputStream sun.security.provider.IdentityDatabase
StackMap stack: java.lang.ClassNotFoundException
4: astore 2
start local 2 5: ldc "This should not be happening."
aload 2
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: ldc "The version of the database is obsolete. Cannot initialize."
7: invokestatic sun.security.provider.IdentityDatabase.error:(Ljava/lang/String;)V
end local 2 8: goto 16
9: StackMap locals:
StackMap stack: java.io.InvalidClassException
astore 2
start local 2 10: ldc "This should not be happening."
aload 2
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: ldc "Unable to initialize system identity scope: InvalidClassException. \nThis is most likely due to a serialization versioning problem: a class used in key management was obsoleted"
invokestatic sun.security.provider.IdentityDatabase.error:(Ljava/lang/String;)V
end local 2 12: goto 16
13: StackMap locals:
StackMap stack: java.io.StreamCorruptedException
astore 2
start local 2 14: ldc "The serialization stream is corrupted. Unable to load."
aload 2
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
15: ldc "Unable to initialize system identity scope. StreamCorruptedException."
invokestatic sun.security.provider.IdentityDatabase.error:(Ljava/lang/String;)V
end local 2 16: StackMap locals:
StackMap stack:
aload 1
ifnonnull 18
17: new sun.security.provider.IdentityDatabase
dup
ldc "uninitialized"
invokespecial sun.security.provider.IdentityDatabase.<init>:(Ljava/lang/String;)V
astore 1
18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 is Ljava/io/InputStream;
1 19 1 db Lsun/security/provider/IdentityDatabase;
2 3 2 ois Ljava/io/ObjectInputStream;
5 8 2 e Ljava/lang/ClassNotFoundException;
10 12 2 e Ljava/io/InvalidClassException;
14 16 2 e Ljava/io/StreamCorruptedException;
Exception table:
from to target type
1 3 4 Class java.lang.ClassNotFoundException
1 3 9 Class java.io.InvalidClassException
1 3 13 Class java.io.StreamCorruptedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
public static sun.security.provider.IdentityDatabase fromFile(java.io.File);
descriptor: (Ljava/io/File;)Lsun/security/provider/IdentityDatabase;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 1
start local 1 1: aload 1
invokestatic sun.security.provider.IdentityDatabase.fromStream:(Ljava/io/InputStream;)Lsun/security/provider/IdentityDatabase;
astore 2
start local 2 2: aload 2
aload 0
putfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 f Ljava/io/File;
1 4 1 fis Ljava/io/FileInputStream;
2 4 2 edb Lsun/security/provider/IdentityDatabase;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/IdentityDatabase;
public java.security.Identity getIdentity(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/Identity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Identity
astore 2
start local 2 1: aload 2
instanceof java.security.Signer
ifeq 3
2: aload 0
ldc "get.signer"
invokevirtual sun.security.provider.IdentityDatabase.localCheck:(Ljava/lang/String;)V
3: StackMap locals: java.security.Identity
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/IdentityDatabase;
0 4 1 name Ljava/lang/String;
1 4 2 id Ljava/security/Identity;
MethodParameters:
Name Flags
name
public java.security.Identity getIdentity(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Ljava/security/Identity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.provider.IdentityDatabase.identities:()Ljava/util/Enumeration;
astore 2
start local 2 3: goto 10
4: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.security.Identity
astore 3
start local 3 5: aload 3
invokevirtual java.security.Identity.getPublicKey:()Ljava/security/PublicKey;
astore 4
start local 4 6: aload 4
ifnull 10
aload 0
aload 4
aload 1
invokevirtual sun.security.provider.IdentityDatabase.keyEqual:(Ljava/security/Key;Ljava/security/Key;)Z
ifeq 10
7: aload 3
instanceof java.security.Signer
ifeq 9
8: aload 0
ldc "get.signer"
invokevirtual sun.security.provider.IdentityDatabase.localCheck:(Ljava/lang/String;)V
9: StackMap locals: java.security.Identity java.security.PublicKey
StackMap stack:
aload 3
areturn
end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/provider/IdentityDatabase;
0 12 1 key Ljava/security/PublicKey;
3 12 2 e Ljava/util/Enumeration<Ljava/security/Identity;>;
5 10 3 i Ljava/security/Identity;
6 10 4 k Ljava/security/PublicKey;
MethodParameters:
Name Flags
key
private boolean keyEqual(java.security.Key, java.security.Key);
descriptor: (Ljava/security/Key;Ljava/security/Key;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.security.Key.getEncoded:()[B
aload 2
invokeinterface java.security.Key.getEncoded:()[B
invokestatic java.security.MessageDigest.isEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/IdentityDatabase;
0 3 1 key1 Ljava/security/Key;
0 3 2 key2 Ljava/security/Key;
MethodParameters:
Name Flags
key1
key2
public void addIdentity(java.security.Identity);
descriptor: (Ljava/security/Identity;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "add.identity"
invokevirtual sun.security.provider.IdentityDatabase.localCheck:(Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual java.security.Identity.getName:()Ljava/lang/String;
invokevirtual sun.security.provider.IdentityDatabase.getIdentity:(Ljava/lang/String;)Ljava/security/Identity;
astore 2
start local 2 2: aload 0
aload 1
invokevirtual java.security.Identity.getPublicKey:()Ljava/security/PublicKey;
invokevirtual sun.security.provider.IdentityDatabase.getIdentity:(Ljava/security/PublicKey;)Ljava/security/Identity;
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 2
ifnull 6
5: ldc "name conflict"
astore 4
6: StackMap locals: java.security.Identity java.security.Identity java.lang.String
StackMap stack:
aload 3
ifnull 8
7: ldc "key conflict"
astore 4
8: StackMap locals:
StackMap stack:
aload 4
ifnull 10
9: new java.security.KeyManagementException
dup
aload 4
invokespecial java.security.KeyManagementException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
aload 1
invokevirtual java.security.Identity.getName:()Ljava/lang/String;
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/provider/IdentityDatabase;
0 12 1 identity Ljava/security/Identity;
2 12 2 byName Ljava/security/Identity;
3 12 3 byKey Ljava/security/Identity;
4 12 4 msg Ljava/lang/String;
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
identity
public void removeIdentity(java.security.Identity);
descriptor: (Ljava/security/Identity;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "remove.identity"
invokevirtual sun.security.provider.IdentityDatabase.localCheck:(Ljava/lang/String;)V
1: aload 1
invokevirtual java.security.Identity.getName:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 6
3: new java.security.KeyManagementException
dup
new java.lang.StringBuilder
dup
ldc "there is no identity named "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.security.KeyManagementException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/IdentityDatabase;
0 8 1 identity Ljava/security/Identity;
2 8 2 name Ljava/lang/String;
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
identity
public java.util.Enumeration<java.security.Identity> identities();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/IdentityDatabase;
Signature: ()Ljava/util/Enumeration<Ljava/security/Identity;>;
void setSourceFile(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/IdentityDatabase;
0 2 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
java.io.File getSourceFile();
descriptor: ()Ljava/io/File;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/IdentityDatabase;
public void save(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.ObjectOutputStream
dup
aload 1
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
2: aload 2
invokevirtual java.io.ObjectOutputStream.flush:()V
end local 2 3: goto 7
StackMap locals:
StackMap stack: java.io.InvalidClassException
4: astore 2
start local 2 5: ldc "This should not be happening."
aload 2
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: return
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/IdentityDatabase;
0 8 1 os Ljava/io/OutputStream;
1 3 2 oos Ljava/io/ObjectOutputStream;
5 7 2 e Ljava/io/InvalidClassException;
Exception table:
from to target type
0 3 4 Class java.io.InvalidClassException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
void save(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.provider.IdentityDatabase.setSourceFile:(Ljava/io/File;)V
1: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.security.provider.IdentityDatabase.save:(Ljava/io/OutputStream;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/IdentityDatabase;
0 4 1 f Ljava/io/File;
2 4 2 fos Ljava/io/FileOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public void save();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
ifnonnull 2
1: new java.io.IOException
dup
ldc "this database has no source file"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
invokevirtual sun.security.provider.IdentityDatabase.save:(Ljava/io/File;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/IdentityDatabase;
Exceptions:
throws java.io.IOException
private static java.io.File systemDatabaseFile();
descriptor: ()Ljava/io/File;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc "identity.database"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 5
2: new java.lang.StringBuilder
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: ldc "identitydb.obj"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
5: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 dbPath Ljava/lang/String;
private static void initializeSystem();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=0
0: invokestatic sun.security.provider.IdentityDatabase.systemDatabaseFile:()Ljava/io/File;
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 5
2: new java.lang.StringBuilder
dup
ldc "loading system database from file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;)V
3: aload 1
invokestatic sun.security.provider.IdentityDatabase.fromFile:(Ljava/io/File;)Lsun/security/provider/IdentityDatabase;
astore 0
start local 0 4: goto 6
end local 0 5: StackMap locals: top java.io.File
StackMap stack:
new sun.security.provider.IdentityDatabase
dup
aload 1
invokespecial sun.security.provider.IdentityDatabase.<init>:(Ljava/io/File;)V
astore 0
start local 0 6: StackMap locals: sun.security.provider.IdentityDatabase java.io.File
StackMap stack:
aload 0
invokestatic java.security.IdentityScope.setSystemScope:(Ljava/security/IdentityScope;)V
7: new java.lang.StringBuilder
dup
ldc "System database initialized: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;)V
8: goto 19
end local 0 StackMap locals: top java.io.File
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: new java.lang.StringBuilder
dup
ldc "Error initializing identity database: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: return
end local 2 12: StackMap locals:
StackMap stack: java.security.InvalidParameterException
astore 2
start local 2 13: new java.lang.StringBuilder
dup
ldc "Error trying to instantiate a system identities db in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: aload 2
17: invokestatic sun.security.provider.IdentityDatabase.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
18: return
end local 2 start local 0 19: StackMap locals: sun.security.provider.IdentityDatabase java.io.File
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 5 0 systemDatabase Lsun/security/provider/IdentityDatabase;
6 9 0 systemDatabase Lsun/security/provider/IdentityDatabase;
19 20 0 systemDatabase Lsun/security/provider/IdentityDatabase;
1 20 1 dbFile Ljava/io/File;
10 12 2 e Ljava/io/IOException;
13 19 2 e Ljava/security/InvalidParameterException;
Exception table:
from to target type
1 8 9 Class java.io.IOException
1 8 12 Class java.security.InvalidParameterException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "sun.security.provider.IdentityDatabase, source file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/IdentityDatabase;
private static void debug(java.lang.String);
descriptor: (Ljava/lang/String;)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 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static void debug(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
s
t
private static void error(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
void localCheck(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 6
2: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.security.provider.IdentityDatabase.localFullName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: aload 2
aload 1
invokevirtual java.lang.SecurityManager.checkSecurityAccess:(Ljava/lang/String;)V
6: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/IdentityDatabase;
0 7 1 directive Ljava/lang/String;
1 7 2 security Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
directive
java.lang.String localFullName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.provider.IdentityDatabase.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual sun.security.provider.IdentityDatabase.getScope:()Ljava/security/IdentityScope;
ifnull 3
2: 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
invokevirtual sun.security.provider.IdentityDatabase.getScope:()Ljava/security/IdentityScope;
invokevirtual java.security.IdentityScope.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/IdentityDatabase;
1 4 1 parsable Ljava/lang/String;
private synchronized void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "serialize.identity.database"
invokevirtual sun.security.provider.IdentityDatabase.localCheck:(Ljava/lang/String;)V
1: aload 1
aload 0
getfield sun.security.provider.IdentityDatabase.identities:Ljava/util/Hashtable;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
2: aload 1
aload 0
getfield sun.security.provider.IdentityDatabase.sourceFile:Ljava/io/File;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/IdentityDatabase;
0 4 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
}
SourceFile: "IdentityDatabase.java"
NestMembers:
sun.security.provider.IdentityDatabase$1
InnerClasses:
sun.security.provider.IdentityDatabase$1