question: public static boolean isKeyPairEntry ( String alias , KeyStore keyStore ) throws KeyStoreException { return keyStore . isKeyEntry ( alias ) && keyStore . getCertificateChain ( alias ) != null && keyStore . getCertificateChain ( alias ) . length != 0 ; }
target:  Is the named entry in the KeyStore a key pair entry?