src/main/java/com/netiq/websockify/WebsockifySslContext.java
public static void validateKeystore ( String keystore, String password, String keyPassword )
		throws KeyManagementException, UnrecoverableKeyException, IOException, NoSuchAlgorithmException, CertificateException, KeyStoreException
	{
        
        getSSLContext(keystore, password, keyPassword);
	}
public static void validateKeystore ( String keystore, String password, String keyPassword )
		throws KeyManagementException, UnrecoverableKeyException, IOException, NoSuchAlgorithmException, CertificateException, KeyStoreException
	{
        
        getSSLContext(keystore, password, keyPassword);
	}
public static void validateKeystore ( String keystore , String password , String keyPassword ) throws KeyManagementException , UnrecoverableKeyException , IOException , NoSuchAlgorithmException , CertificateException , KeyStoreException { getSSLContext ( keystore , password , keyPassword ) ; }
Validates that a keystore with the given parameters exists and can be used for an SSL context.
@param keystore - path to the keystore file
@param password - password to the keystore file
@param keyPassword - password to the private key in the keystore file
@return null if valid, otherwise a string describing the error.
Validates that a keystore with the given parameters exists and can be used for an SSL context .