32 #ifndef _QORE_QORESSLPRIVATEKEY_H 34 #define _QORE_QORESSLPRIVATEKEY_H 36 #include <openssl/ssl.h> 37 #include <openssl/evp.h> 75 DLLEXPORT EVP_PKEY* getData()
const;
78 DLLEXPORT
const char*
getType()
const;
90 DLLEXPORT QoreSSLPrivateKey*
pkRefSelf()
const;
96 DLLLOCAL
virtual ~QoreSSLPrivateKey();
100 hashdecl qore_sslpk_private *priv;
106 DLLLOCAL QoreSSLPrivateKey& operator=(
const QoreSSLPrivateKey&) =
delete;
DLLEXPORT QoreSSLPrivateKey(const char *fn, const char *pp, ExceptionSink *xsink)
creates the object from a file name by reading in the file in PEM format
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
DLLEXPORT BinaryNode * getDER(ExceptionSink *xsink) const
returns a binary in DER format representing the private key, caller owns the BinaryNode reference cou...
provides access to a private key data structure for SSL connections
Definition: QoreSSLPrivateKey.h:40
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
DLLEXPORT QoreHashNode * getInfo() const
caller owns the QoreHashNode reference count returned
DLLEXPORT int64 getVersion() const
returns a constant '1': do not use; only included for backwards-compatibility
DLLEXPORT int64 getBitLength() const
returns the length in bits
DLLEXPORT const char * getType() const
returns the key type
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
DLLEXPORT QoreSSLPrivateKey * pkRefSelf() const
caller owns reference returned
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 private key, caller owns the QoreStringNode reference...
holds arbitrary binary data
Definition: BinaryNode.h:41