C++ Based OPC UA Client/Server SDK
1.6.1.391
|
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) |
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.
UaPkiProviderOpenSSL::UaPkiProviderOpenSSL | ( | const UaString & | sCertificateRevocationListLocation, |
const UaString & | sCertificateTrustListLocation | ||
) |
Creats a UaPkiProviderOpenSSL object with location settings for trusted certificates.
Issuer certificate locations are not set.
sCertificateRevocationListLocation | The folder where revocation lists for trusted CAs should be stored |
sCertificateTrustListLocation | The 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.
sCertificateRevocationListLocation | The folder where revocation lists for trusted CAs should be stored |
sCertificateTrustListLocation | The folder where certificates of trusted applications and trusted CAs should be stored |
sIssuersRevocationListLocation | The folder where revocation lists for issuer CAs should be stored |
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. |