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 javax.net.ssl.X509TrustManager trustManager;
descriptor: Ljavax/net/ssl/X509TrustManager;
flags: (0x0002) ACC_PRIVATE
private boolean isInitialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 25
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 26
StackMap locals:
StackMap stack: java.lang.SecurityException
3: astore 2
start local 2 4: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 26
ldc "trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 26
5: ldc "SunX509: skip default keystore"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
6: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 7: goto 26
8: StackMap locals:
StackMap stack: java.lang.Error
astore 2
start local 2 9: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 12
ldc "trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 12
10: ldc "SunX509: skip default keystore"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
11: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.Error
StackMap stack:
aload 2
athrow
end local 2 13: StackMap locals: sun.security.ssl.TrustManagerFactoryImpl java.security.KeyStore
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 14: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 17
ldc "trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 17
15: ldc "SunX509: skip default keystor"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
16: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 2
athrow
end local 2 18: StackMap locals: sun.security.ssl.TrustManagerFactoryImpl java.security.KeyStore
StackMap stack: java.lang.Exception
astore 2
start local 2 19: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 22
ldc "trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 22
20: ldc "SunX509: skip default keystore"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
21: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
22: StackMap locals: java.lang.Exception
StackMap stack:
new java.security.KeyStoreException
dup
23: ldc "problem accessing trust store"
aload 2
24: invokespecial java.security.KeyStoreException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 25: 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;
26: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.ssl.TrustManagerFactoryImpl.isInitialized:Z
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/ssl/TrustManagerFactoryImpl;
0 28 1 ks Ljava/security/KeyStore;
4 7 2 se Ljava/lang/SecurityException;
9 13 2 err Ljava/lang/Error;
14 18 2 re Ljava/lang/RuntimeException;
19 25 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
1 2 8 Class java.lang.Error
1 2 13 Class java.lang.RuntimeException
1 2 18 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