public class com.sun.net.ssl.SSLContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.net.ssl.SSLContext
super_class: java.lang.Object
{
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private com.sun.net.ssl.SSLContextSpi contextSpi;
descriptor: Lcom/sun/net/ssl/SSLContextSpi;
flags: (0x0002) ACC_PRIVATE
private java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.sun.net.ssl.SSLContextSpi, java.security.Provider, java.lang.String);
descriptor: (Lcom/sun/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.net.ssl.SSLContext.contextSpi:Lcom/sun/net/ssl/SSLContextSpi;
2: aload 0
aload 2
putfield com.sun.net.ssl.SSLContext.provider:Ljava/security/Provider;
3: aload 0
aload 3
putfield com.sun.net.ssl.SSLContext.protocol:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/net/ssl/SSLContext;
0 5 1 contextSpi Lcom/sun/net/ssl/SSLContextSpi;
0 5 2 provider Ljava/security/Provider;
0 5 3 protocol Ljava/lang/String;
MethodParameters:
Name Flags
contextSpi
provider
protocol
public static com.sun.net.ssl.SSLContext getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/net/ssl/SSLContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "SSLContext"
1: aconst_null
2: invokestatic com.sun.net.ssl.SSLSecurity.getImpl:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/Object;
astore 1
start local 1 3: new com.sun.net.ssl.SSLContext
dup
aload 1
iconst_0
aaload
checkcast com.sun.net.ssl.SSLContextSpi
aload 1
iconst_1
aaload
checkcast java.security.Provider
4: aload 0
5: invokespecial com.sun.net.ssl.SSLContext.<init>:(Lcom/sun/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V
6: areturn
end local 1 7: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
pop
8: new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 protocol Ljava/lang/String;
3 7 1 objs [Ljava/lang/Object;
Exception table:
from to target type
0 6 7 Class java.security.NoSuchProviderException
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
protocol
public static com.sun.net.ssl.SSLContext getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lcom/sun/net/ssl/SSLContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "missing provider"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc "SSLContext"
3: aload 1
4: invokestatic com.sun.net.ssl.SSLSecurity.getImpl:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/Object;
astore 2
start local 2 5: new com.sun.net.ssl.SSLContext
dup
aload 2
iconst_0
aaload
checkcast com.sun.net.ssl.SSLContextSpi
aload 2
iconst_1
aaload
checkcast java.security.Provider
6: aload 0
7: invokespecial com.sun.net.ssl.SSLContext.<init>:(Lcom/sun/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 protocol Ljava/lang/String;
0 8 1 provider Ljava/lang/String;
5 8 2 objs [Ljava/lang/Object;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
protocol
provider
public static com.sun.net.ssl.SSLContext getInstance(java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/security/Provider;)Lcom/sun/net/ssl/SSLContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "missing provider"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc "SSLContext"
3: aload 1
4: invokestatic com.sun.net.ssl.SSLSecurity.getImpl:(Ljava/lang/String;Ljava/lang/String;Ljava/security/Provider;)[Ljava/lang/Object;
astore 2
start local 2 5: new com.sun.net.ssl.SSLContext
dup
aload 2
iconst_0
aaload
checkcast com.sun.net.ssl.SSLContextSpi
aload 2
iconst_1
aaload
checkcast java.security.Provider
6: aload 0
7: invokespecial com.sun.net.ssl.SSLContext.<init>:(Lcom/sun/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 protocol Ljava/lang/String;
0 8 1 provider Ljava/security/Provider;
5 8 2 objs [Ljava/lang/Object;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
protocol
provider
public final java.lang.String getProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.net.ssl.SSLContext.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/net/ssl/SSLContext;
public final java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.net.ssl.SSLContext.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/net/ssl/SSLContext;
public final void init(com.sun.net.ssl.KeyManager[], com.sun.net.ssl.TrustManager[], java.security.SecureRandom);
descriptor: ([Lcom/sun/net/ssl/KeyManager;[Lcom/sun/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.net.ssl.SSLContext.contextSpi:Lcom/sun/net/ssl/SSLContextSpi;
aload 1
aload 2
aload 3
invokevirtual com.sun.net.ssl.SSLContextSpi.engineInit:([Lcom/sun/net/ssl/KeyManager;[Lcom/sun/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/net/ssl/SSLContext;
0 2 1 km [Lcom/sun/net/ssl/KeyManager;
0 2 2 tm [Lcom/sun/net/ssl/TrustManager;
0 2 3 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
km
tm
random
public final javax.net.ssl.SSLSocketFactory getSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.net.ssl.SSLContext.contextSpi:Lcom/sun/net/ssl/SSLContextSpi;
invokevirtual com.sun.net.ssl.SSLContextSpi.engineGetSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/net/ssl/SSLContext;
public final javax.net.ssl.SSLServerSocketFactory getServerSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLServerSocketFactory;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.net.ssl.SSLContext.contextSpi:Lcom/sun/net/ssl/SSLContextSpi;
invokevirtual com.sun.net.ssl.SSLContextSpi.engineGetServerSocketFactory:()Ljavax/net/ssl/SSLServerSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/net/ssl/SSLContext;
}
SourceFile: "SSLContext.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "1.4")