QoreSSLCertificate Class Reference
represents an X509 certificate, reference-counted, dynamically-allocated only
More...
#include <QoreSSLCertificate.h>
List of all members.
Detailed Description
represents an X509 certificate, reference-counted, dynamically-allocated only
Constructor & Destructor Documentation
DLLEXPORT QoreSSLCertificate::QoreSSLCertificate |
( |
X509 * |
c |
) |
|
creates the object from a pointer to an X509 data structure, the QoreSSLCertificate object takes ownership of the X509 pointer
- Parameters:
-
| c | a pointer to an X509 data structure, the QoreSSLCertificate object takes ownership of the X509 pointer |
creates the object from a pointer to a BinaryNode object (certificate data in DER format)
- Parameters:
-
| bin | a pointer to a BinaryNode object with the raw binary certificate information |
| xsink | Qore-language exceptions are raised here in case of errors |
create the object from a pointer to a QoreString representing the X.509 certificate in PEM format
- Parameters:
-
| str | a pointer to a QoreString with the certificatge in PEM format |
| xsink | Qore-language exceptions are raised here in case of errors |
DLLLOCAL QoreSSLCertificate::QoreSSLCertificate |
( |
const char * |
fn, |
|
|
ExceptionSink * |
xsink | |
|
) |
| | |
creates the object from a filename
- Parameters:
-
| fn | the filename of the certificate file in PEM format |
| xsink | Qore-language exceptions are raised here in case of errors |
Member Function Documentation
returns a string in PEM format representing the certificate; caller owns the QoreStringNode reference returned
- Returns:
- a string in PEM format representing the certificate; caller owns the QoreStringNode reference returned
The documentation for this class was generated from the following file: