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

x509rev.h

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

#ifndef X509REV_H
#define X509REV_H

#include <qstring.h>
#include <openssl/x509.h>
#include "asn1time.h"
#include "asn1int.h"

class x509rev
{
      private:
            X509_REVOKED *rev;
      public:
            x509rev();
            x509rev(const X509_REVOKED *n);
            x509rev(const x509rev &n);
            ~x509rev();
            x509rev &set(const X509_REVOKED *n);
            x509rev &operator = (const x509rev &x);
            bool operator == (const x509rev &x) const;
            void setSerial(const a1int &i);
            void setDate(const a1time &t);
            a1int getSerial() const;
            a1time getDate() const;
            X509_REVOKED *get() const;
};

#endif

Generated by  Doxygen 1.6.0   Back to index