![JAR search and dependency download from the Maven repository](/logo.png)
com.huawei.gauss200.jdbc.ssl.MakeSSL.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
The newest version!
???? 4 ?
, V ) W X Y Z
[ \
] ^
E _
E `
a b
a c
G d e
f
g h i j k
l
m n o p
q r
s
H t
H u
) v
E w x y
x z { | } ~
) ? ?
? ! ? ?
? ?
? ?
[ ? ? LOGGER Ljava/util/logging/Logger; ()V Code LineNumberTable LocalVariableTable this &Lcom/huawei/gauss200/jdbc/ssl/MakeSSL; convert A(Lcom/huawei/gauss200/jdbc/core/PGStream;Ljava/util/Properties;)V
newConnection Ljavax/net/ssl/SSLSocket; ex Ljava/io/IOException; stream (Lcom/huawei/gauss200/jdbc/core/PGStream; info Ljava/util/Properties; factory Ljavax/net/ssl/SSLSocketFactory; sslMode 'Lcom/huawei/gauss200/jdbc/jdbc/SslMode;
StackMapTable ? ? ? ?
Exceptions verifyPeerName Z(Lcom/huawei/gauss200/jdbc/core/PGStream;Ljava/util/Properties;Ljavax/net/ssl/SSLSocket;)V hvn Ljavax/net/ssl/HostnameVerifier; e Ljava/lang/Exception; sslhostnameverifier Ljava/lang/String; ?
SourceFile MakeSSL.java / 0 - . ? ? ? +converting regular socket connection to ssl ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? javax/net/ssl/SSLSocket ? ? ? 0 java/io/IOException +com/huawei/gauss200/jdbc/util/PSQLException SSL error: {0} java/lang/Object ? ? ? ? ? ? ? ? / ? )com/huawei/gauss200/jdbc/ssl/LibPQFactory ? 0 ? ? J ? J K ? ? ? ? ? ? ? ? ? ? PgjdbcHostnameVerifier javax/net/ssl/HostnameVerifier ? ? java/lang/Exception BThe HostnameVerifier class provided {0} could not be instantiated. ? ? ? ? ?The hostname {0} could not be verified by hostnameverifier {1}. / ? $com/huawei/gauss200/jdbc/ssl/MakeSSL ? ? ? ? ? +com/huawei/gauss200/jdbc/util/ObjectFactory &com/huawei/gauss200/jdbc/core/PGStream java/util/Properties javax/net/ssl/SSLSocketFactory %com/huawei/gauss200/jdbc/jdbc/SslMode java/lang/String java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V 2com/huawei/gauss200/jdbc/core/SocketFactoryFactory getSslSocketFactory 8(Ljava/util/Properties;)Ljavax/net/ssl/SSLSocketFactory; getSocket ()Ljava/net/Socket; getHostSpec *()Lcom/huawei/gauss200/jdbc/util/HostSpec; &com/huawei/gauss200/jdbc/util/HostSpec getHost ()Ljava/lang/String; getPort ()I createSocket 8(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket; setUseClientMode (Z)V startHandshake
getMessage com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 'com/huawei/gauss200/jdbc/util/PSQLState CONNECTION_FAILURE )Lcom/huawei/gauss200/jdbc/util/PSQLState; S(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;Ljava/lang/Throwable;)V throwKeyManagerException of ?(Ljava/util/Properties;)Lcom/huawei/gauss200/jdbc/jdbc/SslMode; ()Z changeSocket (Ljava/net/Socket;)V #com/huawei/gauss200/jdbc/PGProperty SSL_HOSTNAME_VERIFIER %Lcom/huawei/gauss200/jdbc/PGProperty; get *(Ljava/util/Properties;)Ljava/lang/String; 3com/huawei/gauss200/jdbc/ssl/PGjdbcHostnameVerifier INSTANCE 5Lcom/huawei/gauss200/jdbc/ssl/PGjdbcHostnameVerifier; instantiate `(Ljava/lang/Class;Ljava/lang/String;Ljava/util/Properties;ZLjava/lang/String;)Ljava/lang/Object;
getSession ()Ljavax/net/ssl/SSLSession; verify /(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z >(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;)V java/lang/Class getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! ) , - . / 0 1 / *? ? 2 3 4 5 6 7 1 U ? ? ? +? M,*? *? ? *? ?
? ? N-?
-? ? #:? Y? Y? S? ? ? ?,? ?
,? ? +? :? ? *+-? *-? ? 4 7 2 F " % &