All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huawei.opengauss.jdbc.ssl.MakeSSL.class Maven / Gradle / Ivy

The newest version!
????4?%com/huawei/opengauss/jdbc/ssl/MakeSSL,com/huawei/opengauss/jdbc/util/ObjectFactoryMakeSSL.javaLOGGER#Lcom/huawei/opengauss/jdbc/log/Log;()V	

this'Lcom/huawei/opengauss/jdbc/ssl/MakeSSL;convertB(Lcom/huawei/opengauss/jdbc/core/PGStream;Ljava/util/Properties;)V,com/huawei/opengauss/jdbc/util/PSQLExceptionjava/io/IOException	+converting regular socket connection to ssl!com/huawei/opengauss/jdbc/log/Logdebug(Ljava/lang/Object;)V3com/huawei/opengauss/jdbc/core/SocketFactoryFactorygetSslSocketFactory8(Ljava/util/Properties;)Ljavax/net/ssl/SSLSocketFactory; !
"'com/huawei/opengauss/jdbc/core/PGStream$	getSocket()Ljava/net/Socket;&'
%(getHostSpec+()Lcom/huawei/opengauss/jdbc/util/HostSpec;*+
%,'com/huawei/opengauss/jdbc/util/HostSpec.getHost()Ljava/lang/String;01
/2getPort()I45
/6javax/net/ssl/SSLSocketFactory8createSocket8(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;:;
9<javax/net/ssl/SSLSocket>setUseClientMode(Z)V@A
?BgetSupportedCiphersSuites+(Ljava/util/Properties;)[Ljava/lang/String;DE
FsetEnabledCipherSuites([Ljava/lang/String;)VHI
?J[Ljava/lang/String;LstartHandshakeN	
?Ojava/util/PropertiesQSSL error: {0}Sjava/lang/ObjectU
getMessageW1
X!com/huawei/opengauss/jdbc/util/GTZtr9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;\]
[^(com/huawei/opengauss/jdbc/util/PSQLState`CONNECTION_FAILURE*Lcom/huawei/opengauss/jdbc/util/PSQLState;bc	adT(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;Ljava/lang/Throwable;)Vf
g*com/huawei/opengauss/jdbc/ssl/LibPQFactoryithrowKeyManagerExceptionk	
jl&com/huawei/opengauss/jdbc/jdbc/SslModenof@(Ljava/util/Properties;)Lcom/huawei/opengauss/jdbc/jdbc/SslMode;pq
orverifyPeerName()Ztu
ov[(Lcom/huawei/opengauss/jdbc/core/PGStream;Ljava/util/Properties;Ljavax/net/ssl/SSLSocket;)Vtx
ychangeSocket(Ljava/net/Socket;)V{|
%}suppoertedCiphersSuites
newConnectionLjavax/net/ssl/SSLSocket;exLjava/io/IOException;stream)Lcom/huawei/opengauss/jdbc/core/PGStream;infoLjava/util/Properties;factory Ljavax/net/ssl/SSLSocketFactory;sslMode(Lcom/huawei/opengauss/jdbc/jdbc/SslMode;$com/huawei/opengauss/jdbc/PGProperty?TLS_CIPHERS_SUPPERTED&Lcom/huawei/opengauss/jdbc/PGProperty;??	??get*(Ljava/util/Properties;)Ljava/lang/String;??
??,?java/lang/String?split'(Ljava/lang/String;)[Ljava/lang/String;??
??supportedSSLCipherSuitesLjava/lang/String;java/lang/Exception?SSL_HOSTNAME_VERIFIER??	??4com/huawei/opengauss/jdbc/ssl/PGjdbcHostnameVerifier?INSTANCE6Lcom/huawei/opengauss/jdbc/ssl/PGjdbcHostnameVerifier;??	??PgjdbcHostnameVerifier?javax/net/ssl/HostnameVerifier?instantiate`(Ljava/lang/Class;Ljava/lang/String;Ljava/util/Properties;ZLjava/lang/String;)Ljava/lang/Object;??
?BThe HostnameVerifier class provided {0} could not be instantiated.?
getSession()Ljavax/net/ssl/SSLSession;??
??verify/(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z?????The hostname {0} could not be verified by hostnameverifier {1}.??(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;)V?
?hvn Ljavax/net/ssl/HostnameVerifier;eLjava/lang/Exception;sslhostnameverifierjava/lang/Class?getName?1
??$com/huawei/opengauss/jdbc/log/Logger?	getLogger7(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/log/Log;??
??CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!
	?/*???
?	?????+?#M,*?)*?-?3*?-?7?=??N-?C+?G:?	-?K-?P?#:?YT?VY?YS?_?e?h?,?j?
,?j?m+?s:?w?	*+-?z*-?~?DG?R5L*??I???????????g(??{???R
!$%#$*'/*5+:,@/D3G0I1g4n5u8{9?:?=?>?.?@9?M?%R9??
?o?
DE?G??*??L+??????????
AB
tx?U??+??:???N?:?1?+????N? :?Y??VYS?_?e?h?-*?-?3,???????Y??VY*?-?3SYS?_?e???'*??R??'??,????????G8??	v???:H	IJKN'T*O,P;QGW[X\[i]u\?$??P??%R?????	?$?̸ҳ???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy