public class javax.net.ssl.SSLContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.net.ssl.SSLContext
super_class: java.lang.Object
{
private final java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLContextSpi contextSpi;
descriptor: Ljavax/net/ssl/SSLContextSpi;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile javax.net.ssl.SSLContext defaultContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final java.lang.invoke.VarHandle VH_DEFAULT_CONTEXT;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
1: ldc Ljavax/net/ssl/SSLContext;
ldc "defaultContext"
ldc Ljavax/net/ssl/SSLContext;
2: invokevirtual java.lang.invoke.MethodHandles$Lookup.findStaticVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
3: putstatic javax.net.ssl.SSLContext.VH_DEFAULT_CONTEXT:Ljava/lang/invoke/VarHandle;
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 0
start local 0 6: new java.lang.ExceptionInInitializerError
dup
aload 0
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
6 7 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
protected void <init>(javax.net.ssl.SSLContextSpi, java.security.Provider, java.lang.String);
descriptor: (Ljavax/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 javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
2: aload 0
aload 2
putfield javax.net.ssl.SSLContext.provider:Ljava/security/Provider;
3: aload 0
aload 3
putfield javax.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 Ljavax/net/ssl/SSLContext;
0 5 1 contextSpi Ljavax/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 javax.net.ssl.SSLContext getDefault();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic javax.net.ssl.SSLContext.defaultContext:Ljavax/net/ssl/SSLContext;
astore 0
start local 0 1: aload 0
ifnonnull 5
2: ldc "Default"
invokestatic javax.net.ssl.SSLContext.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
astore 0
3: getstatic javax.net.ssl.SSLContext.VH_DEFAULT_CONTEXT:Ljava/lang/invoke/VarHandle;
aconst_null
aload 0
invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/lang/Void;Ljavax/net/ssl/SSLContext;)Z
ifne 5
4: getstatic javax.net.ssl.SSLContext.defaultContext:Ljavax/net/ssl/SSLContext;
astore 0
5: StackMap locals: javax.net.ssl.SSLContext
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 temporaryContext Ljavax/net/ssl/SSLContext;
Exceptions:
throws java.security.NoSuchAlgorithmException
public static void setDefault(javax.net.ssl.SSLContext);
descriptor: (Ljavax/net/ssl/SSLContext;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
new javax.net.ssl.SSLPermission
dup
ldc "setDefaultSSLContext"
invokespecial javax.net.ssl.SSLPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic javax.net.ssl.SSLContext.defaultContext:Ljavax/net/ssl/SSLContext;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Ljavax/net/ssl/SSLContext;
3 7 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
context
public static javax.net.ssl.SSLContext getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "null protocol name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "SSLContext"
ldc Ljavax/net/ssl/SSLContextSpi;
aload 0
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
astore 1
start local 1 3: new javax.net.ssl.SSLContext
dup
aload 1
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.net.ssl.SSLContextSpi
aload 1
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
4: aload 0
5: invokespecial javax.net.ssl.SSLContext.<init>:(Ljavax/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 protocol Ljava/lang/String;
3 6 1 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
protocol
public static javax.net.ssl.SSLContext getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/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 0
ldc "null protocol name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "SSLContext"
ldc Ljavax/net/ssl/SSLContextSpi;
aload 0
aload 1
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
astore 2
start local 2 3: new javax.net.ssl.SSLContext
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.net.ssl.SSLContextSpi
aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
4: aload 0
5: invokespecial javax.net.ssl.SSLContext.<init>:(Ljavax/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 6 0 protocol Ljava/lang/String;
0 6 1 provider Ljava/lang/String;
3 6 2 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
protocol
provider
public static javax.net.ssl.SSLContext getInstance(java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/security/Provider;)Ljavax/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 0
ldc "null protocol name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "SSLContext"
ldc Ljavax/net/ssl/SSLContextSpi;
aload 0
aload 1
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/security/Provider;)Lsun/security/jca/GetInstance$Instance;
astore 2
start local 2 3: new javax.net.ssl.SSLContext
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.net.ssl.SSLContextSpi
aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
4: aload 0
5: invokespecial javax.net.ssl.SSLContext.<init>:(Ljavax/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 6 0 protocol Ljava/lang/String;
0 6 1 provider Ljava/security/Provider;
3 6 2 instance Lsun/security/jca/GetInstance$Instance;
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 javax.net.ssl.SSLContext.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/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 javax.net.ssl.SSLContext.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
public final void init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom);
descriptor: ([Ljavax/net/ssl/KeyManager;[Ljavax/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 javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.SSLContextSpi.engineInit:([Ljavax/net/ssl/KeyManager;[Ljavax/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 Ljavax/net/ssl/SSLContext;
0 2 1 km [Ljavax/net/ssl/KeyManager;
0 2 2 tm [Ljavax/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 javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/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 javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetServerSocketFactory:()Ljavax/net/ssl/SSLServerSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
public final javax.net.ssl.SSLEngine createSSLEngine();
descriptor: ()Ljavax/net/ssl/SSLEngine;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineCreateSSLEngine:()Ljavax/net/ssl/SSLEngine;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.AbstractMethodError
astore 1
start local 1 3: new java.lang.UnsupportedOperationException
dup
4: new java.lang.StringBuilder
dup
ldc "Provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.net.ssl.SSLContext.getProvider:()Ljava/security/Provider;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc " doesn't support this operation"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
8: astore 2
start local 2 9: aload 2
aload 1
invokevirtual java.lang.UnsupportedOperationException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
10: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/net/ssl/SSLContext;
3 11 1 e Ljava/lang/AbstractMethodError;
9 11 2 unsup Ljava/lang/UnsupportedOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.AbstractMethodError
public final javax.net.ssl.SSLEngine createSSLEngine(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
aload 1
iload 2
invokevirtual javax.net.ssl.SSLContextSpi.engineCreateSSLEngine:(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.AbstractMethodError
astore 3
start local 3 3: new java.lang.UnsupportedOperationException
dup
4: new java.lang.StringBuilder
dup
ldc "Provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.net.ssl.SSLContext.getProvider:()Ljava/security/Provider;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc " does not support this operation"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
8: astore 4
start local 4 9: aload 4
aload 3
invokevirtual java.lang.UnsupportedOperationException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
10: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/net/ssl/SSLContext;
0 11 1 peerHost Ljava/lang/String;
0 11 2 peerPort I
3 11 3 e Ljava/lang/AbstractMethodError;
9 11 4 unsup Ljava/lang/UnsupportedOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.AbstractMethodError
MethodParameters:
Name Flags
peerHost
peerPort
public final javax.net.ssl.SSLSessionContext getServerSessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
public final javax.net.ssl.SSLSessionContext getClientSessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetClientSessionContext:()Ljavax/net/ssl/SSLSessionContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
public final javax.net.ssl.SSLParameters getDefaultSSLParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetDefaultSSLParameters:()Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
public final javax.net.ssl.SSLParameters getSupportedSSLParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.SSLContext.contextSpi:Ljavax/net/ssl/SSLContextSpi;
invokevirtual javax.net.ssl.SSLContextSpi.engineGetSupportedSSLParameters:()Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/SSLContext;
}
SourceFile: "SSLContext.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Instance = sun.security.jca.GetInstance$Instance of sun.security.jca.GetInstance