@Override
  public String engineGetCertificateAlias(Certificate cert) {
    try {
      return getDelegate().getCertificateAlias(cert);
    }
    catch (KeyStoreException e) {
      throw new IllegalStateException(e);
    }
  }
@Override
  public String engineGetCertificateAlias(Certificate cert)