24 #ifndef _QORE_QORESSLPRIVATEKEY_H
26 #define _QORE_QORESSLPRIVATEKEY_H
28 #include <openssl/ssl.h>
29 #include <openssl/evp.h>
35 struct qore_sslpk_private *priv;
41 DLLLOCAL QoreSSLPrivateKey& operator=(
const QoreSSLPrivateKey&);
44 DLLLOCAL
virtual ~QoreSSLPrivateKey();
52 DLLEXPORT QoreSSLPrivateKey(
const char *fn,
const char *pp,
ExceptionSink *xsink);
73 DLLEXPORT EVP_PKEY *getData()
const;
75 DLLEXPORT
const char *getType()
const;
87 DLLLOCAL QoreSSLPrivateKey(EVP_PKEY *p);
DLLEXPORT int64 getVersion() const
returns a constant '1': do not use; only included for backwards-compatibility
This is the hash or associative list container type in Qore, dynamically allocated only...
Definition: QoreHashNode.h:41
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:36
DLLEXPORT int64 getBitLength() const
returns the length in bits
provides access to a private key data structure for SSL connections
Definition: QoreSSLPrivateKey.h:32
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:42
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:40
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:35
DLLEXPORT QoreStringNode * getPEM(ExceptionSink *xsink) const
returns a string in PEM format representing the private key, caller owns the QoreString reference cou...
DLLEXPORT QoreHashNode * getInfo() const
caller owns the QoreHashNode reference count returned
holds arbitrary binary data
Definition: BinaryNode.h:33