C++ UA Server SDK
1.5.2.336
|
Data class for settings used to create a certificate. More...
#include <certificateconfiguration.h>
Public Member Functions | |
CertificateCreateSettings () | |
Creates a CertificateCreateSettings object. | |
~CertificateCreateSettings () | |
Destroys the CertificateCreateSettings object. | |
Public Attributes | |
UaString | m_sCommonName |
Name of the application. | |
UaString | m_sOrganization |
Name of the organization unit using the OPC UA server. | |
UaString | m_sOrganizationUnit |
Name of the organization unit using the OPC UA server. | |
UaString | m_sLocality |
Name of the location where the OPC UA server is running. | |
UaString | m_sState |
State where the OPC UA server is running. | |
UaString | m_sCountry |
Two letter code for country where the OPC UA server is running e.g. More... | |
OpcUa_Byte | m_yearsValidFor |
The number of years the certificate is valid for. More... | |
OpcUa_Int32 | m_KeyLength |
Key length of the certificate to create. More... | |
CertificateType | m_certificateType |
Defines the algorithm used to sign the certificate. More... | |
Data class for settings used to create a certificate.
CertificateType CertificateCreateSettings::m_certificateType |
Defines the algorithm used to sign the certificate.
Valid values are RsaMin and RsaSha256. RsaMin uses a SHA1 hash, RsaSha256 uses a SHA256 hash.
OpcUa_Int32 CertificateCreateSettings::m_KeyLength |
Key length of the certificate to create.
Valid values are 1024, 2048 for and RsaMin and 2048, 3072 and 4096 for RsaSha256.
UaString CertificateCreateSettings::m_sCountry |
Two letter code for country where the OPC UA server is running e.g.
DE or US
OpcUa_Byte CertificateCreateSettings::m_yearsValidFor |
The number of years the certificate is valid for.
The maximum accepted number is 20 but it is strongly recommended to use a shorter time.