C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537

Wrapper class for a OpenSSL PKI provider. More...

#include <uapkiprovider.h>

Inherits UaPkiProvider.

Public Member Functions

 UaPkiProviderOpenSSL (const UaString &sCertificateRevocationListLocation, const UaString &sCertificateTrustListLocation)
 Creats a UaPkiProviderOpenSSL object with location settings for trusted certificates. More...
 
 UaPkiProviderOpenSSL (const UaString &sCertificateRevocationListLocation, const UaString &sCertificateTrustListLocation, const UaString &sIssuersRevocationListLocation, const UaString &sIssuersCertificatesLocation)
 Creats a UaPkiProviderOpenSSL object with all location settings for trusted and issuer certificates. More...
 
virtual ~UaPkiProviderOpenSSL ()
 destruction
 
- Public Member Functions inherited from UaPkiProvider
 UaPkiProvider (UaPkiProvider *pOther)
 Creates a UaPkiProvider object initialzed with another UaPkiProvider object. More...
 
virtual ~UaPkiProvider ()
 destruction
 
UaStatus openCertificateStore ()
 Attempts to open the certificate store. More...
 
UaStatus closeCertificateStore ()
 Close the certificate store. More...
 
UaStatus loadCertificate (UaString &sCertificateName, UaByteString &certificate)
 Load a certificate from the certificate store. More...
 
UaStatus loadPrivateKey (const UaString &sPrivateKeyName, OpcUa_P_Crypto_Encoding fileFormat, const UaString &sPassword, OpcUa_Key *pKey)
 Load a private key from the certificate store. More...
 
UaStatus splitCertificateChain (const UaByteString &certificateChain, UaByteStringArray &chainEntries)
 

Detailed Description

Wrapper class for a OpenSSL PKI provider.

The core library implements the basic cryptographic functions and provides various utility functions. It is not possible to create shallow copies of this Class. It is not possible to use the default constructor.

Constructor & Destructor Documentation

UaPkiProviderOpenSSL::UaPkiProviderOpenSSL ( const UaString sCertificateRevocationListLocation,
const UaString sCertificateTrustListLocation 
)

Creats a UaPkiProviderOpenSSL object with location settings for trusted certificates.

Issuer certificate locations are not set.

Parameters
sCertificateRevocationListLocationThe folder where revocation lists for trusted CAs should be stored
sCertificateTrustListLocationThe folder where certificates of trusted applications and trusted CAs should be stored
UaPkiProviderOpenSSL::UaPkiProviderOpenSSL ( const UaString sCertificateRevocationListLocation,
const UaString sCertificateTrustListLocation,
const UaString sIssuersRevocationListLocation,
const UaString sIssuersCertificatesLocation 
)

Creats a UaPkiProviderOpenSSL object with all location settings for trusted and issuer certificates.

Parameters
sCertificateRevocationListLocationThe folder where revocation lists for trusted CAs should be stored
sCertificateTrustListLocationThe folder where certificates of trusted applications and trusted CAs should be stored
sIssuersRevocationListLocationThe folder where revocation lists for issuer CAs should be stored
sIssuersCertificatesLocationThe 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: