
org.postgresql.ssl.SingleCertValidatingFactory.class Maven / Gradle / Ivy
The newest version!
???? 4 ?
/ T U
V W X Y Z
[ \
] ^ _
V `
V a
V b c d
]
e f
g h
g i
j k l
m n o p q
V r
s t
m u v w x y
z { | }
% ~
z
z ? ?
? ? ? ? ?
? ? SingleCertTrustManager InnerClasses FILE_PREFIX Ljava/lang/String;
ConstantValue CLASSPATH_PREFIX
ENV_PREFIX SYS_PROP_PREFIX (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable path name cert ctx Ljavax/net/ssl/SSLContext; e Ljava/lang/RuntimeException; Ljava/lang/Exception; this 0Lorg/postgresql/ssl/SingleCertValidatingFactory;
sslFactoryArg in Ljava/io/InputStream;
StackMapTable ^ ? ? ? ? ?
Exceptions
SourceFile SingleCertValidatingFactory.java 8 ? ? ? ? &java/security/GeneralSecurityException ,The sslfactoryarg property may not be empty. java/lang/Object ? ? ? 8 9 .org/postgresql/ssl/SingleCertValidatingFactory file: ? ? ? ? ? ? java/io/BufferedInputStream java/io/FileInputStream 8 ?
classpath: ? ? ? ? ? ? ? ? env: ? ? ? SThe environment variable containing the server's SSL certificate must not be empty. java/io/ByteArrayInputStream UTF-8 ? ? 8 ? sys: ? ? NThe system property containing the server's SSL certificate must not be empty. -----BEGIN CERTIFICATE----- tThe sslfactoryarg property must start with the prefix file:, classpath:, env:, sys:, or -----BEGIN CERTIFICATE-----. TLS ? ? ? javax/net/ssl/TrustManager Eorg/postgresql/ssl/SingleCertValidatingFactory$SingleCertTrustManager 8 ? ? ? ? ? ? ? ? ? ? java/lang/Exception java/lang/RuntimeException )An error occurred reading the certificate 8 ? !org/postgresql/ssl/WrappedFactory java/lang/String java/io/InputStream java/lang/Throwable ()V equals (Ljava/lang/Object;)Z org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
startsWith (Ljava/lang/String;)Z length ()I substring (I)Ljava/lang/String; (Ljava/io/InputStream;)V java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; java/lang/ClassLoader getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; java/lang/System getenv &(Ljava/lang/String;)Ljava/lang/String; getBytes (Ljava/lang/String;)[B ([B)V getProperty javax/net/ssl/SSLContext getInstance .(Ljava/lang/String;)Ljavax/net/ssl/SSLContext; H(Lorg/postgresql/ssl/SingleCertValidatingFactory;Ljava/io/InputStream;)V init W([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V getSocketFactory "()Ljavax/net/ssl/SSLSocketFactory; _factory Ljavax/net/ssl/SSLSocketFactory; close *(Ljava/lang/String;Ljava/lang/Throwable;)V ! / 2 3 4
5 3 4 6 3 4 7 3 4 8 9 : ? ?*? +? +? ? ? Y? ? ? ?M+
? ? +
? ?
N? Y? Y-? ? M? ?+? ? "+? ?
N? Y? ? -? ? M? ?+? ? E+? ?
N-? :?
? ? ? Y? ? ? ?? Y? ? M? y+? ? E+? ?
N-? :?
? ? ? Y? ? ? ?? Y? ? M? .+ ? ? ? Y+? ? M? ? Y!? ? ? ?"? #N-? $Y? %Y*,? &S? '*-? (? ),? B,? *? ;N? 7N-?N-? ? -? ?? Y-? ? -? .?:,? ,? *? :?? [_b + $Wf , $Wi + $W? ??? +f?? ; ? . ? ? ? " ? $ ? - ? 7 ? G ? S ? ] ? a ? o ? { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?" ?3 ?9 ?O ?W ?[ ?_ ?b ?c ?f ?g ?i ?j ?q ?v ?? ?? ?? ?? ?? ?? ? <