24 #ifndef _QORE_QORESSLCERTIFICATE_H
26 #define _QORE_QORESSLCERTIFICATE_H
28 #include <qore/QoreSSLBase.h>
30 #include <openssl/ssl.h>
31 #include <openssl/pem.h>
37 struct qore_sslcert_private *priv;
45 DLLLOCAL QoreSSLCertificate& operator=(
const QoreSSLCertificate&);
55 DLLEXPORT QoreSSLCertificate(X509 *c);
73 DLLLOCAL QoreSSLCertificate(
const char *fn,
ExceptionSink *xsink);
76 DLLEXPORT
operator bool()
const;
84 DLLEXPORT X509 *getData()
const;
91 DLLEXPORT int64 getSerialNumber()
const;
92 DLLEXPORT int64 getVersion()
const;