*/
protected boolean strongCryptoInstalled() throws IOException, KeyStoreException, CertificateException, NoSuchProviderException, NoSuchAlgorithmException,
InvalidKeySpecException {
CryptoProviderTools.installBCProvider();
Certificate cert = CertTools.getCertfromByteArray(certbytes);
PKCS8EncodedKeySpec pkKeySpec = new PKCS8EncodedKeySpec(keys1024bit);
KeyFactory keyFactory = KeyFactory.getInstance("RSA");
PrivateKey pk = keyFactory.generatePrivate(pkKeySpec);
KeyStore ks = KeyTools.createP12("Foo", pk, cert, (X509Certificate) null);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
// If password below is more than 7 chars, strong crypto is needed