abstract class sun.security.ssl.TrustManagerFactoryImpl extends javax.net.ssl.TrustManagerFactorySpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.ssl.TrustManagerFactoryImpl
super_class: javax.net.ssl.TrustManagerFactorySpi
{
private static final sun.security.ssl.Debug debug;
descriptor: Lsun/security/ssl/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private javax.net.ssl.X509TrustManager trustManager;
descriptor: Ljavax/net/ssl/X509TrustManager;
flags: (0x0002) ACC_PRIVATE
private boolean isInitialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "ssl"
invokestatic sun.security.ssl.Debug.getInstance:(Ljava/lang/String;)Lsun/security/ssl/Debug;
putstatic sun.security.ssl.TrustManagerFactoryImpl.debug:Lsun/security/ssl/Debug;
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
invokespecial javax.net.ssl.TrustManagerFactorySpi.<init>:()V
1: aload 0
aconst_null
putfield sun.security.ssl.TrustManagerFactoryImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
2: aload 0
iconst_0
putfield sun.security.ssl.TrustManagerFactoryImpl.isInitialized:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/TrustManagerFactoryImpl;
protected void engineInit(java.security.KeyStore);
descriptor: (Ljava/security/KeyStore;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 29
1: aload 0
aload 0
invokestatic sun.security.ssl.TrustStoreManager.getTrustedCerts:()Ljava/util/Set;
invokevirtual sun.security.ssl.TrustManagerFactoryImpl.getInstance:(Ljava/util/Collection;)Ljavax/net/ssl/X509TrustManager;
putfield sun.security.ssl.TrustManagerFactoryImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
2: goto 30
StackMap locals:
StackMap stack: java.lang.SecurityException
3: astore 2
start local 2 4: getstatic sun.security.ssl.TrustManagerFactoryImpl.debug:Lsun/security/ssl/Debug;
ifnull 30
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 30
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
6: new java.lang.StringBuilder
dup
ldc "SunX509: skip default keystore: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 8: goto 30
9: StackMap locals:
StackMap stack: java.lang.Error
astore 2
start local 2 10: getstatic sun.security.ssl.TrustManagerFactoryImpl.debug:Lsun/security/ssl/Debug;
ifnull 14
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 14
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
12: new java.lang.StringBuilder
dup
ldc "SunX509: skip default keystore: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: StackMap locals: java.lang.Error
StackMap stack:
aload 2
athrow
end local 2 15: StackMap locals: sun.security.ssl.TrustManagerFactoryImpl java.security.KeyStore
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 16: getstatic sun.security.ssl.TrustManagerFactoryImpl.debug:Lsun/security/ssl/Debug;
ifnull 20
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 20
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
18: new java.lang.StringBuilder
dup
ldc "SunX509: skip default keystore: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 2
athrow
end local 2 21: StackMap locals: sun.security.ssl.TrustManagerFactoryImpl java.security.KeyStore
StackMap stack: java.lang.Exception
astore 2
start local 2 22: getstatic sun.security.ssl.TrustManagerFactoryImpl.debug:Lsun/security/ssl/Debug;
ifnull 26
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 26
23: getstatic java.lang.System.out:Ljava/io/PrintStream;
24: new java.lang.StringBuilder
dup
ldc "SunX509: skip default keystore: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: StackMap locals: java.lang.Exception
StackMap stack:
new java.security.KeyStoreException
dup
27: ldc "problem accessing trust store"
aload 2
28: invokespecial java.security.KeyStoreException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 29: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokestatic sun.security.validator.TrustStoreUtil.getTrustedCerts:(Ljava/security/KeyStore;)Ljava/util/Set;
invokevirtual sun.security.ssl.TrustManagerFactoryImpl.getInstance:(Ljava/util/Collection;)Ljavax/net/ssl/X509TrustManager;
putfield sun.security.ssl.TrustManagerFactoryImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
30: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.ssl.TrustManagerFactoryImpl.isInitialized:Z
31: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/security/ssl/TrustManagerFactoryImpl;
0 32 1 ks Ljava/security/KeyStore;
4 8 2 se Ljava/lang/SecurityException;
10 15 2 err Ljava/lang/Error;
16 21 2 re Ljava/lang/RuntimeException;
22 29 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
1 2 9 Class java.lang.Error
1 2 15 Class java.lang.RuntimeException
1 2 21 Class java.lang.Exception
Exceptions:
throws java.security.KeyStoreException
MethodParameters:
Name Flags
ks
abstract javax.net.ssl.X509TrustManager getInstance(java.util.Collection<java.security.cert.X509Certificate>);
descriptor: (Ljava/util/Collection;)Ljavax/net/ssl/X509TrustManager;
flags: (0x0400) ACC_ABSTRACT
Signature: (Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;)Ljavax/net/ssl/X509TrustManager;
MethodParameters:
Name Flags
trustedCerts
abstract javax.net.ssl.X509TrustManager getInstance(javax.net.ssl.ManagerFactoryParameters);
descriptor: (Ljavax/net/ssl/ManagerFactoryParameters;)Ljavax/net/ssl/X509TrustManager;
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
spec
protected void engineInit(javax.net.ssl.ManagerFactoryParameters);
descriptor: (Ljavax/net/ssl/ManagerFactoryParameters;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual sun.security.ssl.TrustManagerFactoryImpl.getInstance:(Ljavax/net/ssl/ManagerFactoryParameters;)Ljavax/net/ssl/X509TrustManager;
putfield sun.security.ssl.TrustManagerFactoryImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
1: aload 0
iconst_1
putfield sun.security.ssl.TrustManagerFactoryImpl.isInitialized:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/TrustManagerFactoryImpl;
0 3 1 spec Ljavax/net/ssl/ManagerFactoryParameters;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
spec
protected javax.net.ssl.TrustManager[] engineGetTrustManagers();
descriptor: ()[Ljavax/net/ssl/TrustManager;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.TrustManagerFactoryImpl.isInitialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "TrustManagerFactoryImpl is not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.net.ssl.TrustManager
dup
iconst_0
aload 0
getfield sun.security.ssl.TrustManagerFactoryImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/TrustManagerFactoryImpl;
private static java.io.FileInputStream getFileInputStream(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/FileInputStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.ssl.TrustManagerFactoryImpl$1
dup
aload 0
invokespecial sun.security.ssl.TrustManagerFactoryImpl$1.<init>:(Ljava/io/File;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.io.FileInputStream
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljava/io/File;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
file final
}
SourceFile: "TrustManagerFactoryImpl.java"
NestMembers:
sun.security.ssl.TrustManagerFactoryImpl$1 sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory sun.security.ssl.TrustManagerFactoryImpl$SimpleFactory
InnerClasses:
sun.security.ssl.TrustManagerFactoryImpl$1
public final PKIXFactory = sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory of sun.security.ssl.TrustManagerFactoryImpl
public final SimpleFactory = sun.security.ssl.TrustManagerFactoryImpl$SimpleFactory of sun.security.ssl.TrustManagerFactoryImpl