C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
CertificateCreateSettings Class Reference

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_sDomainComponent
 Name of the domain the OPC UA Application belongs to.
 
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...
 
UaStringArray m_arrIPAddresses
 A list of IPAddresses the certificate is valid for. More...
 
UaStringArray m_arrDNSNames
 A list of DNSNames the certificate is valid for. More...
 

Detailed Description

Data class for settings used to create a certificate.

Member Data Documentation

UaStringArray CertificateCreateSettings::m_arrDNSNames

A list of DNSNames the certificate is valid for.

UaStringArray CertificateCreateSettings::m_arrIPAddresses

A list of IPAddresses the certificate is valid for.

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.


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