![JAR search and dependency download from the Maven repository](/logo.png)
com.huawei.opengauss.jdbc.ssl.jdbc4.LibPQFactory.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 \ 0com/huawei/opengauss/jdbc/ssl/jdbc4/LibPQFactory *com/huawei/opengauss/jdbc/ssl/LibPQFactory javax/net/ssl/HostnameVerifier LibPQFactory.java Ljava/lang/Deprecated; sslMode (Lcom/huawei/opengauss/jdbc/jdbc/SslMode; (Ljava/util/Properties;)V ,com/huawei/opengauss/jdbc/util/PSQLException
&com/huawei/opengauss/jdbc/jdbc/SslMode of @(Ljava/util/Properties;)Lcom/huawei/opengauss/jdbc/jdbc/SslMode;
this 2Lcom/huawei/opengauss/jdbc/ssl/jdbc4/LibPQFactory; info Ljava/util/Properties; verifyHostName '(Ljava/lang/String;Ljava/lang/String;)Z "java/lang/IllegalArgumentException [ ! java/lang/String #
startsWith (Ljava/lang/String;)Z % &
$ ' ] ) endsWith + &
$ , length ()I . /
$ 0 substring (II)Ljava/lang/String; 2 3
$ 4 java/net/IDN 6 toASCII &(Ljava/lang/String;)Ljava/lang/String; 8 9
7 : 4com/huawei/opengauss/jdbc/ssl/PGjdbcHostnameVerifier < INSTANCE 6Lcom/huawei/opengauss/jdbc/ssl/PGjdbcHostnameVerifier; > ? = @
= B canonicalHostname Ljava/lang/String; e $Ljava/lang/IllegalArgumentException; hostname pattern verify /(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z verifyPeerName ()Z L M
N J K
= P session Ljavax/net/ssl/SSLSession; Code LocalVariableTable LineNumberTable
Exceptions
Deprecated RuntimeVisibleAnnotations
StackMapTable
SourceFile !
T J *+? *+? ? ? U V "
# W X Y T ? 5*"? (? **? -? **? 1d? 5M? *? ;M? N?? A,+? C? ! &