public static void verifyKeystoreContent ( AppleServer server , Object keystore ) throws KeystoreException { KeyStore keystoreToValidate = null ; if ( keystore instanceof KeyStore ) keystoreToValidate = ( KeyStore ) keystore ; else keystoreToValidate = loadKeystore ( server , keystore ) ; verifyKeystoreContent ( keystoreToValidate ) ; }
Perform basic tests on a keystore to detect common user mistakes . If a problem is found a KeystoreException is thrown . If no problem is found this method simply returns without exceptions .