public final class com.mongodb.internal.connection.SslHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.internal.connection.SslHelper
super_class: java.lang.Object
{
private static final com.mongodb.internal.connection.SniSslHelper SNI_SSL_HELPER;
descriptor: Lcom/mongodb/internal/connection/SniSslHelper;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc "com.mongodb.internal.connection.Java8SniSslHelper"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
1: invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.internal.connection.SniSslHelper
2: astore 0
start local 0 3: goto 16
end local 0 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
4: astore 1
start local 1 5: new java.lang.ExceptionInInitializerError
dup
aload 1
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 6: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 1
start local 1 7: new java.lang.ExceptionInInitializerError
dup
aload 1
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 8: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 9: new java.lang.ExceptionInInitializerError
dup
aload 1
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 10: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 1
start local 1 11: new java.lang.ExceptionInInitializerError
dup
aload 1
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 12: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 1
start local 1 13: new java.lang.ExceptionInInitializerError
dup
aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 14: StackMap locals:
StackMap stack: java.lang.LinkageError
pop
15: aconst_null
astore 0
start local 0 16: StackMap locals: com.mongodb.internal.connection.SniSslHelper
StackMap stack:
aload 0
putstatic com.mongodb.internal.connection.SslHelper.SNI_SSL_HELPER:Lcom/mongodb/internal/connection/SniSslHelper;
end local 0 17: return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 sniSslHelper Lcom/mongodb/internal/connection/SniSslHelper;
16 17 0 sniSslHelper Lcom/mongodb/internal/connection/SniSslHelper;
5 6 1 e Ljava/lang/ClassNotFoundException;
7 8 1 e Ljava/lang/InstantiationException;
9 10 1 e Ljava/lang/IllegalAccessException;
11 12 1 e Ljava/lang/NoSuchMethodException;
13 14 1 e Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassNotFoundException
0 3 6 Class java.lang.InstantiationException
0 3 8 Class java.lang.IllegalAccessException
0 3 10 Class java.lang.NoSuchMethodException
0 3 12 Class java.lang.reflect.InvocationTargetException
0 3 14 Class java.lang.LinkageError
public static void enableHostNameVerification(javax.net.ssl.SSLParameters);
descriptor: (Ljavax/net/ssl/SSLParameters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "HTTPS"
invokevirtual javax.net.ssl.SSLParameters.setEndpointIdentificationAlgorithm:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 sslParameters Ljavax/net/ssl/SSLParameters;
MethodParameters:
Name Flags
sslParameters final
public static void enableSni(java.lang.String, javax.net.ssl.SSLParameters);
descriptor: (Ljava/lang/String;Ljavax/net/ssl/SSLParameters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.mongodb.internal.connection.SslHelper.SNI_SSL_HELPER:Lcom/mongodb/internal/connection/SniSslHelper;
ifnull 2
1: getstatic com.mongodb.internal.connection.SslHelper.SNI_SSL_HELPER:Lcom/mongodb/internal/connection/SniSslHelper;
aload 0
aload 1
invokeinterface com.mongodb.internal.connection.SniSslHelper.enableSni:(Ljava/lang/String;Ljavax/net/ssl/SSLParameters;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 host Ljava/lang/String;
0 3 1 sslParameters Ljavax/net/ssl/SSLParameters;
MethodParameters:
Name Flags
host final
sslParameters final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/SslHelper;
}
SourceFile: "SslHelper.java"