|
Async 1.9.1
|
A class representing X.509 extensions. More...
#include <AsyncSslX509Extensions.h>
Public Member Functions | |
| SslX509Extensions (void) | |
| Default constructor. | |
| SslX509Extensions (STACK_OF(X509_EXTENSION) *exts) | |
| Constructor. | |
| SslX509Extensions (SslX509Extensions &&other) | |
| Move Constructor. | |
| SslX509Extensions (const SslX509Extensions &other) | |
| Copy constructor. | |
| SslX509Extensions & | operator= (const SslX509Extensions &)=delete |
| Disallow copy assignment. | |
| ~SslX509Extensions (void) | |
| Destructor. | |
| bool | addBasicConstraints (const std::string &bc) |
| Add basic constraints extension. | |
| bool | addKeyUsage (const std::string &ku) |
| Add key usage. | |
| bool | addExtKeyUsage (const std::string &eku) |
| Add extended key usage. | |
| bool | addSubjectAltNames (const std::string &san) |
| Add subject alternative names. | |
| SslX509ExtSubjectAltName | subjectAltName (void) const |
| Get the subject alternative names extension. | |
| bool | addExtension (const SslX509ExtSubjectAltName &san) |
| Add a subject alternative names object. | |
| operator const STACK_OF (X509_EXTENSION) *() const | |
| Cast to a pointer to a stack of X509_EXTENSION objects. | |
A class representing X.509 extensions.
Definition at line 119 of file AsyncSslX509Extensions.h.
|
inline |
Default constructor.
Definition at line 125 of file AsyncSslX509Extensions.h.
Referenced by operator=(), SslX509Extensions(), and SslX509Extensions().
|
inlineexplicit |
Constructor.
| exts | Pointer to a stack of X509_EXTENSION objects |
Definition at line 134 of file AsyncSslX509Extensions.h.
|
inline |
Move Constructor.
| other | The object to move from |
Definition at line 143 of file AsyncSslX509Extensions.h.
References SslX509Extensions().
|
inlineexplicit |
Copy constructor.
| other | The object to copy from |
Definition at line 153 of file AsyncSslX509Extensions.h.
References SslX509Extensions().
|
inline |
Destructor.
Definition at line 171 of file AsyncSslX509Extensions.h.
|
inline |
Add basic constraints extension.
| bc | Basic constraints string |
Ex: addBasicConstraints("critical, CA:FALSE");
Definition at line 187 of file AsyncSslX509Extensions.h.
|
inline |
Add a subject alternative names object.
| san | A subject alternative names object containing names to add |
Definition at line 249 of file AsyncSslX509Extensions.h.
|
inline |
Add extended key usage.
| eku | Extended key usage string |
Ex: addExtKeyUsage("serverAuth");
Definition at line 213 of file AsyncSslX509Extensions.h.
|
inline |
Add key usage.
| ku | Key usage string |
Ex: addKeyUsage( "critical, digitalSignature, keyEncipherment, keyAgreement" );
Definition at line 201 of file AsyncSslX509Extensions.h.
|
inline |
Add subject alternative names.
| Subject | alternative names string |
Ex: addSUbjectAltNames("DNS:dom.org,IP:1.2.3.4,email:user@dom.org")
Definition at line 225 of file AsyncSslX509Extensions.h.
|
inline |
Cast to a pointer to a stack of X509_EXTENSION objects.
Definition at line 263 of file AsyncSslX509Extensions.h.
|
delete |
Disallow copy assignment.
References SslX509Extensions().
|
inline |
Get the subject alternative names extension.
Definition at line 234 of file AsyncSslX509Extensions.h.
Referenced by Async::SslCertSigningReq::print().