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

com.huawei.gauss200.jdbc.ssl.LazyKeyManager.class Maven / Gradle / Ivy

The newest version!
????4`
?	X?	X?	X?	X?	X?	X?	X??
X?
?
???
??????
??	??
??
?
??
?????????[??
X???
%?
%?
%?
%?
X?
???
???
/?
????
3?
3?
P???
7?
8???
;	
@?
"?




;
I
;


3
P
3
8?cert%[Ljava/security/cert/X509Certificate;keyLjava/security/PrivateKey;certfileLjava/lang/String;keyfilecbh.Ljavax/security/auth/callback/CallbackHandler;defaultfileZerror-Lcom/huawei/gauss200/jdbc/util/PSQLException;V(Ljava/lang/String;Ljava/lang/String;Ljavax/security/auth/callback/CallbackHandler;Z)VCodeLineNumberTableLocalVariableTablethis-Lcom/huawei/gauss200/jdbc/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;ioexLjava/io/IOException;certsLjava/util/Collection;Ljava/io/FileNotFoundException;gsexcertfileStreamLjava/io/FileInputStream;aliasLocalVariableTypeTable9Ljava/util/Collection<+Ljava/security/cert/Certificate;>;!"#getClientAliasesA(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
readFileFully(Ljava/lang/String;)[Bret[BpathrafLjava/io/RandomAccessFile;
getPrivateKey.(Ljava/lang/String;)Ljava/security/PrivateKey;keydata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;kfLjava/security/KeyFactory;(Ljava/security/NoSuchAlgorithmException;?$getServerAliases
SourceFileLazyKeyManager.javagoZ[\]ef^_`_abcduser??%&'(X.509)*'java/security/cert/CertificateException+com/huawei/gauss200/jdbc/util/PSQLExceptionVCould not find a java cryptographic algorithm: X.509 CertificateFactory not available.java/lang/Object+,-./0g1java/io/FileInputStreamg2345ojava/io/IOException)Could not close SSL certificate file {0}.java/io/FileNotFoundException(Could not open SSL certificate file {0}.9Loading the SSL certificate {0} into a KeyManager failed."java/security/cert/X509Certificate67java/lang/Stringjava/net/Socketrsjava/io/RandomAccessFilerg89:;<??=>?@A)B&java/security/spec/PKCS8EncodedKeySpecg<CD*java/security/spec/InvalidKeySpecException$javax/crypto/EncryptedPrivateKeyInfoEA)F#javax/crypto/NoSuchPaddingException&java/security/NoSuchAlgorithmExceptionGAgH-javax/security/auth/callback/PasswordCallbackEnter SSL password: gI%javax/security/auth/callback/CallbackJKL9javax/security/auth/callback/UnsupportedCallbackExceptionM@com/huawei/gauss200/jdbc/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}.NOPQAjavax/crypto/spec/PBEKeySpecRSgTUoV)WXYZ[javax/crypto/Cipher\]^_&java/security/GeneralSecurityException#Could not decrypt SSL key file {0}. Could not read SSL key file {0}.3Could not find a java cryptographic algorithm: {0}.+com/huawei/gauss200/jdbc/ssl/LazyKeyManagerjavax/net/ssl/X509KeyManager&javax/security/auth/x500/X500Principal%java/security/cert/CertificateFactoryjava/util/Collectionjava/lang/Throwablejava/security/KeyFactorygetIssuerX500Principal*()Ljavax/security/auth/x500/X500Principal;equals(Ljava/lang/Object;)ZgetInstance;(Ljava/lang/String;)Ljava/security/cert/CertificateFactory; com/huawei/gauss200/jdbc/util/GTtr9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;'com/huawei/gauss200/jdbc/util/PSQLStateCONNECTION_FAILURE)Lcom/huawei/gauss200/jdbc/util/PSQLState;S(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;Ljava/lang/Throwable;)V(Ljava/lang/String;)VgenerateCertificates-(Ljava/io/InputStream;)Ljava/util/Collection;closetoArray(([Ljava/lang/Object;)[Ljava/lang/Object;'(Ljava/lang/String;Ljava/lang/String;)Vlength()J	readFully([B)V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;)V)com/huawei/gauss200/jdbc/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[\]^_`_abcdef	ghi?)*?*?*?*?*+?*,?*-?*??j&	D3	49EFG"H(Ik4)lm)^_)`_)ab)cdnoiH
*??*???jRSUk
lmpqrsiIl*???,?,??	?*	?
:???d2?:6,:?66		?	2:

??6?	????	??j:Z[	]`ef"g$i1j4kMlWmZk`pkRM
tu
1;vw48xdOy[llmlz{l|}l~p3		?!?
X??#!???	@"??iJ?jyk*lmz_|}~??ih
?*???*???
?M?N*?Y???-???:?Y*??:,?N?5??-:*??#*?Y?Y*?S?????:*??#*?Y?Y*?S????:?4??,:*??#*?Y?Y*?S?????:*?Y?Y*?S????:?4??,:*??#*?Y?Y*?S?????:?4??,:	*??#*?Y?Y*?S??	???*-?? ?!?*??NSV5I????5I?5IE??E?ELQTEGEj?3~????0?2?5?B?I?N?S?V?X?_?q????????????????????????????????	??????"?4?B?E?L?Q?T?V?]?o?}?????k?????X'??I9???'???c??'???\??V'??	2_?????5\???lm??_?I9?????p?W???#X"??(?X"??(?X"?!(?X"??1X"?!(?X"???	X"??(?X"?????i?&*?"Y+S,?#?$N-?
?"??"Y-S?j
??k*&lm&z_&|}?_p?"G?
??i?)?%Y*&?'L+?(??M+,?),N+?*-?:+?*?  " j"?????? ?&?k 
??)?_??p? "%?q??i??*??~*??w*	?
M,?,???*??+N?:*????,2?,?-?.:?/Y-?0:*?1??$:?3Y-?4:?5?6:?:?8Y?9?:??;Y<???=:*??>YS???`:	*??A?,B	?C?D?*?YE???	???)*?YF?Y*??G?HS??	????IY?J?K:	?L?5?M:

	?N:?O:?Q?R:
*
?1??':	*?YT?Y*?S??	????HM*?YU?Y*?S??,???%M*?YV?Y,?WS??,???*??
 (+I^a2mwz7???@[^S? 8?9????8 8?89?8??8j?7???? ?(?+?-?4?7?9?I?S?^	a?c?m?w?z?|?????????????????????????#?-?6?=?GP[^`r???????????k?(??-??S??w??|???[??	=??	-.??
6%??=??P??
`"??	m??????????c??mZ[9I??I9??????!???lm??_p??!J??X"!??'X"!??2?X"!??237?P?'	X"!??23P;@?4@%??MS?#X"Bb8!??iC?"?jk lmz_|}??
A	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy