C++ Based OPC UA Client/Server SDK  1.5.5.355
CertificateStoreConfiguration Class Reference

Data class for trust list configuration. More...

#include <certificatestoreconfiguration.h>

Inherits ReferenceCounter.

Public Member Functions

 CertificateStoreConfiguration ()
 Creates a CertificateStoreConfiguration object.
 
UaPkiProvidergetPkiProvider ()
 Returns the PKI provider for this trust list.
 
UaStatus setupCertificateStore ()
 Setup the infrastructure for the certificate store e.g. More...
 
OpcUa_UInt32 addCertificate (CertificateConfiguration *pCertificateConfiguration)
 Adds a certificate configuration to the trust list configuration. More...
 
OpcUa_UInt32 certificateCount ()
 Get the number of certificates in the trust list configuration. More...
 
CertificateConfigurationgetCertificate (OpcUa_UInt32 index)
 Returns the certificate configuration for the passed index. More...
 
bool sendCertificateWithChain () const
 Setup the infrastructure for the certificate store e.g. More...
 
void setSendCertificateWithChain (bool bSendCertificateWithChain)
 Setup the infrastructure for the certificate store e.g. More...
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Public Attributes

UaString m_sCertificateTrustListLocation
 The folder where certificates of trusted applications and trusted CAs should be stored When using the windows store this is variable contains the store name. More...
 
UaString m_sCertificateRevocationListLocation
 The folder where revocation lists for trusted CAs should be stored.
 
UaString m_sIssuersCertificatesLocation
 The folder where issuer certificates are stored. More...
 
UaString m_sIssuersRevocationListLocation
 The folder where revocation lists for issuer CAs should be stored.
 
bool m_isOpenSSLStore
 Flag indicating if the OpenSSL file store is used.
 
OpcUa_UInt32 m_maxTrustListSize
 The maximum size of the TrustList in bytes. More...
 
UaUInt32Array m_endpointIndexList
 List of endpoints using the trust list.
 

Protected Member Functions

virtual ~CertificateStoreConfiguration ()
 Destroys the CertificateConfiguration object.
 

Detailed Description

Data class for trust list configuration.

Member Function Documentation

OpcUa_UInt32 CertificateStoreConfiguration::addCertificate ( CertificateConfiguration pCertificateConfiguration)

Adds a certificate configuration to the trust list configuration.

Returns
Index of the new object in the configuration array.
Parameters
[in]pCertificateConfigurationThe new certificate configuration
OpcUa_UInt32 CertificateStoreConfiguration::certificateCount ( )

Get the number of certificates in the trust list configuration.

Returns
Number of certificates.
CertificateConfiguration * CertificateStoreConfiguration::getCertificate ( OpcUa_UInt32  index)

Returns the certificate configuration for the passed index.

Returns
Certificate for the passed index. NULL if the index is invalid.
Parameters
[in]indexThe index of the certificate configuration to return
bool CertificateStoreConfiguration::sendCertificateWithChain ( ) const

Setup the infrastructure for the certificate store e.g.

create folders for file store.

void CertificateStoreConfiguration::setSendCertificateWithChain ( bool  bSendCertificateWithChain)

Setup the infrastructure for the certificate store e.g.

create folders for file store.

UaStatus CertificateStoreConfiguration::setupCertificateStore ( )

Setup the infrastructure for the certificate store e.g.

create folders for file store.

Member Data Documentation

OpcUa_UInt32 CertificateStoreConfiguration::m_maxTrustListSize

The maximum size of the TrustList in bytes.

0 means no limit.

UaString CertificateStoreConfiguration::m_sCertificateTrustListLocation

The folder where certificates of trusted applications and trusted CAs should be stored When using the windows store this is variable contains the store name.

UaString CertificateStoreConfiguration::m_sIssuersCertificatesLocation

The folder where issuer certificates are stored.

Issuer certificates are CA certificates necessary for the verification of the full trust chain of CA certificates in the trust list


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