
org.postgresql.ssl.MakeSSL.class Maven / Gradle / Ivy
The newest version!
???? 4 ?
0 [ - \ ] ^ _
` a b c
b d b e f
g
h i b j
- k l m n o
p q r s
t
u v
u w
x y
x z
{ |
} ~
?
? b ? ? ?
? " ? ?
? ?
? ?
? ?
u ? ?
? ?
` ? ? LOGGER Ljava/util/logging/Logger; ()V Code LineNumberTable LocalVariableTable this Lorg/postgresql/ssl/MakeSSL; convert 7(Lorg/postgresql/core/PGStream;Ljava/util/Properties;)V factory Ljavax/net/ssl/SSLSocketFactory; e Ljava/lang/Exception;
newConnection Ljavax/net/ssl/SSLSocket; ex Ljava/io/IOException; hvn Ljavax/net/ssl/HostnameVerifier; stream Lorg/postgresql/core/PGStream; info Ljava/util/Properties; sslmode Ljava/lang/String; classname sslhostnameverifier
StackMapTable ? l ? ? i ~ | ?
Exceptions
SourceFile MakeSSL.java 3 4 1 2 ? ? ? +converting regular socket connection to ssl ? ? ? ? ? ? ? ? ? ? %org/postgresql/ssl/jdbc4/LibPQFactory 3 ? ? ? javax/net/ssl/SSLSocketFactory ? ? ? ? java/lang/Exception !org/postgresql/util/PSQLException BThe SSLSocketFactory class provided {0} could not be instantiated. java/lang/Object ? ? ? ? ? ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? javax/net/ssl/SSLSocket ? 4 java/io/IOException ? 4 SSL error: {0} ? ? ? ? javax/net/ssl/HostnameVerifier BThe HostnameVerifier class provided {0} could not be instantiated. ? ? ? ? ?The hostname {0} could not be verified by hostnameverifier {1}. 3 ? verify-full ? ? ? 'The hostname {0} could not be verified. ? ? org/postgresql/ssl/MakeSSL ? ? ? ? ? !org/postgresql/util/ObjectFactory java/lang/String org/postgresql/core/PGStream java/util/Properties java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V org/postgresql/PGProperty SSL_MODE Lorg/postgresql/PGProperty; get *(Ljava/util/Properties;)Ljava/lang/String; SSL_FACTORY (Ljava/util/Properties;)V
getDefault ()Ljavax/net/SocketFactory; SSL_FACTORY_ARG instantiate O(Ljava/lang/String;Ljava/util/Properties;ZLjava/lang/String;)Ljava/lang/Object; 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 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; startHandshake throwKeyManagerException
getMessage SSL_HOSTNAME_VERIFIER
getSession ()Ljavax/net/ssl/SSLSession; verify /(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V equals (Ljava/lang/Object;)Z changeSocket (Ljava/net/Socket;)V java/lang/Class getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! - 0 1 2 3 4 5 / *? ? 6 7 8 9 : ; 5 ~ ?? ? ? ? +? N? +? :? -? ? Y+?
M? ?? ? M? 5+?
+? ? ? M? :? Y? YS? ? ? ?,*? *? ? *? ? ? ? :? ? 1:,? ?
,? ? ? Y? Y? S? ? ? ?? !+? :? l+? ? ":? :? Y#? YS? ? ? ?*? ? ? $? % ? &? Y&? Y*? ? SYS? ? ? '?? G(-? )? >,? ? 7,? *? ? ? $? *? !? Y+? Y*? ? S? ? ? '?*? ,? ; M P m ? ? ? ? ? 6 ? + # &