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

org.postgresql.ssl.LazyKeyManager.class Maven / Gradle / Ivy

There is a newer version: 8.5.0.1-200
Show newest version
????2m
?	X?	X?	X?	X?	X?	X?	X??
X?
?
???
??????
??	??
??
?
??????????[??
X???
$??
#?
#?
#?
#?
???
???
.?
?
2?
2
O
6
7	

:

?
 ?


:
H
:

 
2!"
O#
2$%&'()
7*+cert%[Ljava/security/cert/X509Certificate;keyLjava/security/PrivateKey;certfileLjava/lang/String;keyfilecbh.Ljavax/security/auth/callback/CallbackHandler;defaultfileZerror#Lorg/postgresql/util/PSQLException;V(Ljava/lang/String;Ljava/lang/String;Ljavax/security/auth/callback/CallbackHandler;Z)VCodeLineNumberTableLocalVariableTablethis#Lorg/postgresql/ssl/LazyKeyManager;throwKeyManagerException()V
StackMapTable
ExceptionschooseClientAliasR([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;issuerLjava/security/Principal;	ourissuer(Ljavax/security/auth/x500/X500Principal;found	certchainkeyType[Ljava/lang/String;issuers[Ljava/security/Principal;socketLjava/net/Socket;*{}?,?chooseServerAliasQ(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;getCertificateChain9(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;cf'Ljava/security/cert/CertificateFactory;ex)Ljava/security/cert/CertificateException;certsLjava/util/Collection;ioexLjava/io/FileNotFoundException;gsexaliasLocalVariableTypeTable9Ljava/util/Collection<+Ljava/security/cert/Certificate;>;?-?.getClientAliasesA(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
getPrivateKey.(Ljava/lang/String;)Ljava/security/PrivateKey;pkcs8KeySpecLjava/security/spec/KeySpec;cipherLjavax/crypto/Cipher;npex%Ljavax/crypto/NoSuchPaddingException;ucex;Ljavax/security/auth/callback/UnsupportedCallbackException;
pbeKeySpecLjavax/crypto/spec/PBEKeySpec;skFacLjavax/crypto/SecretKeyFactory;pbeKeyLjava/security/Key;	algParams#Ljava/security/AlgorithmParameters;ikex(Ljava/security/GeneralSecurityException;ePKInfo&Ljavax/crypto/EncryptedPrivateKeyInfo;pwdcb/Ljavax/security/auth/callback/PasswordCallback;,Ljava/security/spec/InvalidKeySpecException;keydata[BkfLjava/security/KeyFactory;Ljava/io/IOException;(Ljava/security/NoSuchAlgorithmException;rafLjava/io/RandomAccessFile;??/"	%'getServerAliases
SourceFileLazyKeyManager.javagoZ[\]ef^_`_abcduser??01,23X.509-45'java/security/cert/CertificateException!org/postgresql/util/PSQLExceptionVCould not find a java cryptographic algorithm: X.509 CertificateFactory not available.java/lang/Object6789:;g<java/io/FileInputStreamg=>?java/io/FileNotFoundException(Could not open SSL certificate file {0}.9Loading the SSL certificate {0} into a KeyManager failed..@A"java/security/cert/X509CertificateBCjava/lang/Stringjava/net/Socketrsjava/io/RandomAccessFilejava/io/FilergDEFGHIoJKLMN/4O&java/security/spec/PKCS8EncodedKeySpecgHPQ*java/security/spec/InvalidKeySpecException$javax/crypto/EncryptedPrivateKeyInfoRN4S#javax/crypto/NoSuchPaddingException&java/security/NoSuchAlgorithmExceptionTNgU-javax/security/auth/callback/PasswordCallbackEnter SSL password: gV%javax/security/auth/callback/CallbackWXY9javax/security/auth/callback/UnsupportedCallbackExceptionZ6org/postgresql/ssl/LibPQFactory$ConsoleCallbackHandlerConsoleCallbackHandlerInnerClassesConsole is not availableCCould not read password for SSL key file, console is not available.@Could not read password for SSL key file by callbackhandler {0}.[\]^Njavax/crypto/spec/PBEKeySpec_`gaboc4defghjavax/crypto/Cipherijkl&java/security/GeneralSecurityException#Could not decrypt SSL key file {0}.java/io/IOException Could not read SSL key file {0}.3Could not find a java cryptographic algorithm: {0}.!org/postgresql/ssl/LazyKeyManagerjavax/net/ssl/X509KeyManager&javax/security/auth/x500/X500Principal%java/security/cert/CertificateFactoryjava/util/Collectionjava/security/KeyFactorygetIssuerX500Principal*()Ljavax/security/auth/x500/X500Principal;equals(Ljava/lang/Object;)ZgetInstance;(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;org/postgresql/util/GTtr9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;org/postgresql/util/PSQLStateCONNECTION_FAILURELorg/postgresql/util/PSQLState;I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V(Ljava/lang/String;)VgenerateCertificates-(Ljava/io/InputStream;)Ljava/util/Collection;size()ItoArray(([Ljava/lang/Object;)[Ljava/lang/Object;#(Ljava/io/File;Ljava/lang/String;)Vlength()J	readFully([B)VclosegetPublicKey()Ljava/security/PublicKey;java/security/PublicKeygetAlgorithm()Ljava/lang/String;.(Ljava/lang/String;)Ljava/security/KeyFactory;generatePrivate8(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
getAlgName)(Ljava/lang/String;)Ljavax/crypto/Cipher;
getMessage*(Ljava/lang/String;Ljava/lang/Throwable;)V(Ljava/lang/String;Z)V,javax/security/auth/callback/CallbackHandlerhandle+([Ljavax/security/auth/callback/Callback;)Vorg/postgresql/ssl/LibPQFactorygetClass()Ljava/lang/Class;java/lang/ClassgetNamegetPassword()[C([C)V
clearPasswordjavax/crypto/SecretKeyFactory3(Ljava/lang/String;)Ljavax/crypto/SecretKeyFactory;generateSecret6(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;getAlgParameters%()Ljava/security/AlgorithmParameters;init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
getKeySpec?(Ljavax/crypto/Cipher;)Ljava/security/spec/PKCS8EncodedKeySpec;!XYZ[\]^_`_abcdefghi?)*?*?*?*?*+?*,?*-?*??j&	I8	9>JKL"M(Nk4)lm)^_)`_)ab)cdnoiH
*??*???jWXZk
lmpqrsiIl*???,?,??	?*	?
:???d2?:6,:?66		?	2:

??6?	????	??j:^_	adij"k$m1n4oMpWqZo`tkRM
tu
1;vw48xdOy[llmlz{l|}l~p3		??
???????	@???iJ?j|k*lmz_|}~??i??*???*???
?M?N*?Y???-???,?Y*???N?R:*??#*?Y?Y*?S?????:*?Y?Y*?S?????*--?????*??2BE2BpjJ?????0?2?B?E?G?N?`?n?p?r???????k\	????B??G)??r"??2x??????lm??_?B?????p3W???R??(???????#????i?&*? Y+S,?!?"N-?
? ?? Y-S?j
??k*&lm&z_&|}?_p??G???i4?M*???*???*??*	?
???#Y?$Y*??%&?'M?N*??-??,?(??N,-?),?*M*?2?+?,?-:?.Y-?/:*?0??$:?2Y-?3:?4?5:?:?7Y?8?9??:Y;???<:*??=YS?>?`:	*??@?,A	?B?C?*?YD???	???)*?YE?Y*??F?GS??	????HY?I?J:	?K?4?L:

	?M:?N:?P?Q:
*
?0??':	*?YS?Y*?S??	????UN,?,?*?:*?YU?Y*?S??-???%N*?YV?Y-?WS??-???*??"7:l??1???6????3~?R!?T"E?TF2?T3??T???T!?7"E?7F2?73??7j@???? ?"?7?:?;?B?D?F?N?S?W?Y?l?v?????????????????????????????????#?1?3?A?F?P?Y?`?j?s?~????????????????????????????	k?;??v?????????[??	A=??	P.??
Y%??`??s??
?"??	??????????????NW??l9???,???!???lm??_???p??"?W??	???=??????????????????'	???????????4?%??M??#???B????????!????!??iC? ?jk lmz_|}??
@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy