docs: private void resetConfiguration() throws CryptoException, InvalidArgumentException {
  
          setSecurityLevel(securityLevel);
  
          setHashAlgorithm(hashAlgorithm);
  
          try {
              cf = CertificateFactory.getInstance(CERTIFICATE_FORMAT);
          } catch (CertificateException e) {
              CryptoException ex = new CryptoException("Cannot initialize " + CERTIFICATE_FORMAT + " certificate factory. Error = " + e.getMessage(), e);
              logger.error(ex.getMessage(), ex);
              throw ex;
          }
      }