32 #ifndef _QORE_QORESSLCERTIFICATE_H 34 #define _QORE_QORESSLCERTIFICATE_H 36 #include <qore/QoreSSLBase.h> 38 #include <openssl/ssl.h> 39 #include <openssl/pem.h> 68 DLLEXPORT
operator bool()
const;
83 DLLEXPORT X509* getData()
const;
90 DLLEXPORT
int64 getSerialNumber()
const;
91 DLLEXPORT
int64 getVersion()
const;
118 DLLEXPORT QoreSSLCertificate* certRefSelf()
const;
126 hashdecl qore_sslcert_private* priv;
128 DLLLOCAL
QoreValue doPurposeValue(
int id,
int ca)
const;
134 DLLLOCAL QoreSSLCertificate& operator=(
const QoreSSLCertificate&) =
delete;
represents an X509 certificate, reference-counted, dynamically-allocated only
Definition: QoreSSLCertificate.h:42
This is the hash or associative list container type in Qore, dynamically allocated only...
Definition: QoreHashNode.h:50
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:44
virtual DLLLOCAL ~QoreSSLCertificate()
the destructor is protected to ensure that it's only dynamically allocated (use deref() to delete) ...
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:50
Qore's parse tree/value type for date-time values, reference-counted, dynamically-allocated only...
Definition: DateTimeNode.h:45
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
DLLEXPORT BinaryNode * getDER(ExceptionSink *xsink) const
returns a binary in DER format representing the certificate, caller owns the BinaryNode reference cou...
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260
DLLEXPORT QoreStringNode * getPEM(ExceptionSink *xsink) const
returns a string in PEM format representing the certificate; caller owns the QoreStringNode reference...
offers static functions to help with translating openssl data structures to Qore data structures ...
Definition: QoreSSLBase.h:40
DLLEXPORT QoreSSLCertificate(X509 *c)
creates the object from a pointer to an X509 data structure, the QoreSSLCertificate object takes owne...
holds arbitrary binary data
Definition: BinaryNode.h:41