org.postgresql.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
???? 2 ?
, 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 Lorg/postgresql/ssl/MakeSSL; convert 7(Lorg/postgresql/core/PGStream;Ljava/util/Properties;)V
newConnection Ljavax/net/ssl/SSLSocket; ex Ljava/io/IOException; stream Lorg/postgresql/core/PGStream; info Ljava/util/Properties; factory Ljavax/net/ssl/SSLSocketFactory; sslMode Lorg/postgresql/jdbc/SslMode;
StackMapTable ? ? ? ?
Exceptions verifyPeerName P(Lorg/postgresql/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 !org/postgresql/util/PSQLException SSL error: {0} java/lang/Object ? ? ? ? ? ? ? ? / ? org/postgresql/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}. / ? org/postgresql/ssl/MakeSSL ? ? ? ? ? !org/postgresql/util/ObjectFactory org/postgresql/core/PGStream java/util/Properties javax/net/ssl/SSLSocketFactory org/postgresql/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 (org/postgresql/core/SocketFactoryFactory getSslSocketFactory 8(Ljava/util/Properties;)Ljavax/net/ssl/SSLSocketFactory; getSocket ()Ljava/net/Socket; getHostSpec ()Lorg/postgresql/util/HostSpec; org/postgresql/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 org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState CONNECTION_FAILURE Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V throwKeyManagerException of 5(Ljava/util/Properties;)Lorg/postgresql/jdbc/SslMode; ()Z changeSocket (Ljava/net/Socket;)V org/postgresql/PGProperty SSL_HOSTNAME_VERIFIER Lorg/postgresql/PGProperty; get *(Ljava/util/Properties;)Ljava/lang/String; )org/postgresql/ssl/PGjdbcHostnameVerifier INSTANCE +Lorg/postgresql/ssl/PGjdbcHostnameVerifier; instantiate O(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 4(Ljava/lang/String;Lorg/postgresql/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 " % &