public abstract class javax.net.ssl.SSLSocketFactory extends javax.net.SocketFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.net.ssl.SSLSocketFactory
super_class: javax.net.SocketFactory
{
private static javax.net.ssl.SSLSocketFactory theFactory;
descriptor: Ljavax/net/ssl/SSLSocketFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean propertyChecked;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "javax.net.debug"
ldc ""
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
2: astore 0
start local 0 3: aload 0
ldc "all"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 4
aload 0
ldc "ssl"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 4
iconst_0
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: putstatic javax.net.ssl.SSLSocketFactory.DEBUG:Z
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
3 6 0 s Ljava/lang/String;
private static void log(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 javax.net.ssl.SSLSocketFactory.DEBUG:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.net.SocketFactory.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/net/ssl/SSLSocketFactory;
public static synchronized javax.net.SocketFactory getDefault();
descriptor: ()Ljavax/net/SocketFactory;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=0
0: getstatic javax.net.ssl.SSLSocketFactory.theFactory:Ljavax/net/ssl/SSLSocketFactory;
ifnull 2
1: getstatic javax.net.ssl.SSLSocketFactory.theFactory:Ljavax/net/ssl/SSLSocketFactory;
areturn
2: StackMap locals:
StackMap stack:
getstatic javax.net.ssl.SSLSocketFactory.propertyChecked:Z
ifne 24
3: iconst_1
putstatic javax.net.ssl.SSLSocketFactory.propertyChecked:Z
4: ldc "ssl.SocketFactory.provider"
invokestatic javax.net.ssl.SSLSocketFactory.getSecurityProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 5: aload 0
ifnull 24
6: ldc "setting up default SSLSocketFactory"
invokestatic javax.net.ssl.SSLSocketFactory.log:(Ljava/lang/String;)V
7: aconst_null
astore 1
start local 1 8: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
9: goto 14
StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
10: pop
11: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 12: aload 2
ifnull 14
13: aload 2
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
end local 2 14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is loaded"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.net.ssl.SSLSocketFactory.log:(Ljava/lang/String;)V
15: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.net.ssl.SSLSocketFactory
astore 2
start local 2 16: new java.lang.StringBuilder
dup
ldc "instantiated an instance of class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.net.ssl.SSLSocketFactory.log:(Ljava/lang/String;)V
17: aload 2
putstatic javax.net.ssl.SSLSocketFactory.theFactory:Ljavax/net/ssl/SSLSocketFactory;
18: aload 2
19: areturn
end local 2 end local 1 20: StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
astore 1
start local 1 21: new java.lang.StringBuilder
dup
ldc "SSLSocketFactory instantiation failed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.net.ssl.SSLSocketFactory.log:(Ljava/lang/String;)V
22: new javax.net.ssl.DefaultSSLSocketFactory
dup
aload 1
invokespecial javax.net.ssl.DefaultSSLSocketFactory.<init>:(Ljava/lang/Exception;)V
putstatic javax.net.ssl.SSLSocketFactory.theFactory:Ljavax/net/ssl/SSLSocketFactory;
23: getstatic javax.net.ssl.SSLSocketFactory.theFactory:Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 1 end local 0 24: StackMap locals:
StackMap stack:
invokestatic javax.net.ssl.SSLContext.getDefault:()Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.getSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
25: areturn
26: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 0
start local 0 27: new javax.net.ssl.DefaultSSLSocketFactory
dup
aload 0
invokespecial javax.net.ssl.DefaultSSLSocketFactory.<init>:(Ljava/lang/Exception;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
5 24 0 clsName Ljava/lang/String;
8 20 1 cls Ljava/lang/Class<*>;
12 14 2 cl Ljava/lang/ClassLoader;
16 20 2 fac Ljavax/net/ssl/SSLSocketFactory;
21 24 1 e Ljava/lang/Exception;
27 28 0 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
8 9 10 Class java.lang.ClassNotFoundException
7 19 20 Class java.lang.Exception
24 25 26 Class java.security.NoSuchAlgorithmException
static java.lang.String getSecurityProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.net.ssl.SSLSocketFactory$1
dup
aload 0
invokespecial javax.net.ssl.SSLSocketFactory$1.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public abstract java.lang.String[] getDefaultCipherSuites();
descriptor: ()[Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String[] getSupportedCipherSuites();
descriptor: ()[Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.net.Socket createSocket(java.net.Socket, java.lang.String, int, boolean);
descriptor: (Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
host
port
autoClose
public java.net.Socket createSocket(java.net.Socket, java.io.InputStream, boolean);
descriptor: (Ljava/net/Socket;Ljava/io/InputStream;Z)Ljava/net/Socket;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLSocketFactory;
0 1 1 s Ljava/net/Socket;
0 1 2 consumed Ljava/io/InputStream;
0 1 3 autoClose Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
consumed
autoClose
}
SourceFile: "SSLSocketFactory.java"
NestMembers:
javax.net.ssl.SSLSocketFactory$1
InnerClasses:
javax.net.ssl.SSLSocketFactory$1