Logo Search packages:      
Sourcecode: xca version File versions  Download package

hashBox.h

/* vi: set sw=4 ts=4:
 *
 * Copyright (C) 2001 - 2007 Christian Hohnstaedt.
 *
 * All rights reserved.
 */

#ifndef HASH_BOX_H
#define HASH_BOX_H

#include <qcombobox.h>
#include <openssl/evp.h>

class hashBox: public QComboBox
{
            Q_OBJECT
      private:
            static int default_md;
            int backup;
            bool dsa;
      public:
            hashBox(QWidget *parent);
            void setDsa(bool dsa);
            const EVP_MD *currentHash();
            QString currentHashName();
            void setCurrentAsDefault();
            void setDefaultHash();
            static void setDefault(QString def);
};

#endif

Generated by  Doxygen 1.6.0   Back to index