
org.postgresql.ssl.jdbc4.LazyKeyManager.class Maven / Gradle / Ivy
The newest version!
???? 4j
? W ? W ? W ? W ? W ? W ? W ? ?
W ?
?
? ? ?
? ? ? ? ? ?
? ? ? ?
? ?
?
? ? ? ? ? ? ? ? ? ? Z ? ?
W ? ? ?
$ ? ?
# ?
# ?
# ?
# ?
? ? ?
? ? ?
. ?
? ?
2 ?
2
N
6
7
:
?
?
:
H
2
N!
2"#$%&'
7() cert %[Ljava/security/cert/X509Certificate; key Ljava/security/PrivateKey; certfile Ljava/lang/String; keyfile cbh .Ljavax/security/auth/callback/CallbackHandler; defaultfile Z error #Lorg/postgresql/util/PSQLException; V(Ljava/lang/String;Ljava/lang/String;Ljavax/security/auth/callback/CallbackHandler;Z)V Code LineNumberTable LocalVariableTable this )Lorg/postgresql/ssl/jdbc4/LazyKeyManager; throwKeyManagerException ()V
StackMapTable
Exceptions chooseClientAlias R([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String; issuer Ljava/security/Principal; ourissuer (Ljavax/security/auth/x500/X500Principal; found certchain keyType [Ljava/lang/String; issuers [Ljava/security/Principal; socket Ljava/net/Socket;( z | ?* ? chooseServerAlias Q(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String; getCertificateChain 9(Ljava/lang/String;)[Ljava/security/cert/X509Certificate; cf 'Ljava/security/cert/CertificateFactory; ex )Ljava/security/cert/CertificateException; certs Ljava/util/Collection; ioex Ljava/io/FileNotFoundException; gsex alias LocalVariableTypeTable 9Ljava/util/Collection<+Ljava/security/cert/Certificate;>; ?+ ?, getClientAliases A(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
getPrivateKey .(Ljava/lang/String;)Ljava/security/PrivateKey; pkcs8KeySpec Ljava/security/spec/KeySpec; cipher Ljavax/crypto/Cipher; npex %Ljavax/crypto/NoSuchPaddingException; ucex ;Ljavax/security/auth/callback/UnsupportedCallbackException;
pbeKeySpec Ljavax/crypto/spec/PBEKeySpec; skFac Ljavax/crypto/SecretKeyFactory; pbeKey Ljava/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 [B kf Ljava/security/KeyFactory; Ljava/io/IOException; (Ljava/security/NoSuchAlgorithmException; raf Ljava/io/RandomAccessFile; ? ?- #% getServerAliases
SourceFile LazyKeyManager.java f n Y Z [ \ d e ] ^ _ ^ ` a b c user ? ?./*01 X.509+23 'java/security/cert/CertificateException !org/postgresql/util/PSQLException VCould not find a java cryptographic algorithm: X.509 CertificateFactory not available. java/lang/Object456789 f: java/io/FileInputStream f;<= java/io/FileNotFoundException (Could not open SSL certificate file {0}. 9Loading the SSL certificate {0} into a KeyManager failed.,>? "java/security/cert/X509Certificate@A java/lang/String java/net/Socket q r java/io/RandomAccessFile java/io/File r fBCDEFG nHIJKL-2M &java/security/spec/PKCS8EncodedKeySpec fFNO *java/security/spec/InvalidKeySpecException $javax/crypto/EncryptedPrivateKeyInfoPL2Q #javax/crypto/NoSuchPaddingException &java/security/NoSuchAlgorithmExceptionRL fS -javax/security/auth/callback/PasswordCallback Enter SSL password: fT %javax/security/auth/callback/CallbackUVW 9javax/security/auth/callback/UnsupportedCallbackExceptionX