|
DLLEXPORT | QoreSSLPrivateKey (const BinaryNode *bin, ExceptionSink *xsink) |
| creates the object from a pointer to a BinaryNode object (key data in DER format)
|
|
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
|
|
DLLEXPORT | QoreSSLPrivateKey (const QoreString *str, const char *pp, ExceptionSink *xsink) |
| create the object from a pointer to a QoreString representing the private key data in PEM format
|
|
DLLLOCAL | QoreSSLPrivateKey (EVP_PKEY *p) |
| private constructor; not exported
|
|
DLLEXPORT int64 | getBitLength () const |
| returns the length in bits
|
|
DLLEXPORT BinaryNode * | getDER (ExceptionSink *xsink) const |
| returns a binary in DER format representing the private key, caller owns the BinaryNode reference count returned
|
|
DLLEXPORT QoreHashNode * | getInfo () const |
| caller owns the QoreHashNode reference count returned
|
|
DLLEXPORT QoreStringNode * | getPEM (ExceptionSink *xsink) const |
| returns a string in PEM format representing the private key, caller owns the QoreStringNode reference count returned
|
|
DLLEXPORT const char * | getType () const |
| returns the key type
|
|
DLLEXPORT int64 | getVersion () const |
| returns a constant '1': do not use; only included for backwards-compatibility
|
|
DLLEXPORT QoreSSLPrivateKey * | pkRefSelf () const |
| caller owns reference returned
|
|
virtual DLLLOCAL void | deref () |
| decrements the reference count of the object without the possibility of throwing a Qore-language exception
|
|
virtual DLLLOCAL void | deref (ExceptionSink *xsink) |
| decrements the reference count of the object
|
|
DLLLOCAL void | ref () const |
| increments the reference count of the object
|
|
DLLEXPORT | QoreReferenceCounter () |
| Creates the reference counter object.
|
|
DLLEXPORT | QoreReferenceCounter (const QoreReferenceCounter &old) |
| Creates a new object with a reference count of 1.
|
|
DLLEXPORT | ~QoreReferenceCounter () |
| destroys the reference counter object
|
|
DLLEXPORT bool | is_unique () const |
| Returns true if the reference count is 1.
|
|
DLLEXPORT bool | optRef () |
| Make a strong reference only if the object is valid.
|
|
DLLEXPORT int | reference_count () const |
| Gets the reference count.
|
|
DLLEXPORT bool | ROdereference () const |
| Atomically decrements the reference count.
|
|
DLLEXPORT void | ROreference () const |
| Atomically increments the reference count.
|
|
provides access to a private key data structure for SSL connections