C++ UA Server SDK
1.5.2.336
|
Data class for certificate configuration. More...
#include <certificateconfiguration.h>
Inherits ReferenceCounter.
Public Member Functions | |
CertificateConfiguration () | |
Creates a CertificateConfiguration object. | |
bool | isCertificateAvailable () |
Checks if the certificate is available. | |
UaStatus | loadCertificate (UaString &sError) |
Loads the certificate, certificate chain and private key into memory. | |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter () | |
construction | |
virtual | ~ReferenceCounter () |
destruction | |
Public Attributes | |
bool | m_isCertificateLoaded |
Flag indicating if the certificate is loaded. | |
UaByteStringArray | m_certificateChainArray |
The certificate chain containing the server certificate used for this endpoint. More... | |
UaByteString | m_certificateWithChain |
The application certificate with the complete chain if necessary. More... | |
UaByteString | m_privateKey |
The private key. More... | |
UaString | m_sCertificateLocation |
Path and filename of the application instance certificate. More... | |
UaString | m_sPrivateKeyLocation |
Path and filename of the private key. | |
bool | m_isOpenSSLStore |
Flag indicating if the OpenSSL file store is used. | |
bool | m_createCertificate |
Flag indicating if the certificate should be generated if no certificate is available. | |
CertificateCreateSettings | m_certificateCreateSetting |
Settings for the creation of a certificate. | |
UaUInt32Array | m_endpointIndexList |
List of endpoints using the certificate. | |
Protected Member Functions | |
virtual | ~CertificateConfiguration () |
Destroys the CertificateConfiguration object. | |
void | setCertificateStoreConfiguration (CertificateStoreConfiguration *pCertificateStoreConfiguration) |
Sets the trust list used with the certificate. | |
Data class for certificate configuration.
UaByteStringArray CertificateConfiguration::m_certificateChainArray |
The certificate chain containing the server certificate used for this endpoint.
The issued certificate is the first element in the array. The rootCA certificate is the last element in the array. For self signed certificates this array has length 1.
UaByteString CertificateConfiguration::m_certificateWithChain |
The application certificate with the complete chain if necessary.
UaByteString CertificateConfiguration::m_privateKey |
The private key.
UaString CertificateConfiguration::m_sCertificateLocation |
Path and filename of the application instance certificate.