#include <gadgets.h>

Collaboration diagram for Ssl::CertificateProperties:

Public Member Functions

 CertificateProperties ()

Public Attributes

Security::CertPointer mimicCert
 Certificate to mimic. More...
Security::CertPointer signWithX509
 Certificate to sign the generated request. More...
Security::PrivateKeyPointer signWithPkey
 The key of the signing certificate. More...
bool setValidAfter
 Do not mimic "Not Valid After" field. More...
bool setValidBefore
 Do not mimic "Not Valid Before" field. More...
bool setCommonName
 Replace the CN field of the mimicking subject with the given. More...
std::string commonName
 A CN to use for the generated certificate. More...
CertSignAlgorithm signAlgorithm
 The signing algorithm to use. More...
const EVP_MD * signHash
 The signing hash to use. More...

Private Member Functions

 CertificateProperties (CertificateProperties &)
CertificatePropertiesoperator= (CertificateProperties const &)

Detailed Description

Simple struct to pass certificate generation parameters to generateSslCertificate function.

Definition at line 228 of file gadgets.h.

Constructor & Destructor Documentation

◆ CertificateProperties() [1/2]

Ssl::CertificateProperties::CertificateProperties ( )

Definition at line 244 of file gadgets.cc.

◆ CertificateProperties() [2/2]

Ssl::CertificateProperties::CertificateProperties ( CertificateProperties )

Member Function Documentation

◆ operator=()

CertificateProperties & Ssl::CertificateProperties::operator= ( CertificateProperties const &  )

Member Data Documentation

◆ commonName

◆ mimicCert

◆ setCommonName

◆ setValidAfter

◆ setValidBefore

◆ signAlgorithm

◆ signHash

◆ signWithPkey

Security::PrivateKeyPointer Ssl::CertificateProperties::signWithPkey

◆ signWithX509

The documentation for this class was generated from the following files:






Web Site Translations