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

Wrapper class for a Windows Store PKI provider. More...

#include <uapkiprovider.h>

Inherits UaPkiProvider.

Public Member Functions

 UaPkiProviderWindowsStore (OpcUa_UInt32 windowsStoreLocationFlag, const UaString &sStoreName)
 construction More...
 
 UaPkiProviderWindowsStore (OpcUa_UInt32 windowsStoreLocationFlag, const UaString &sStoreName, const UaString &sIssuersStoreName)
 construction More...
 
virtual ~UaPkiProviderWindowsStore ()
 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 (UaString &sPrivateKeyName, OpcUa_P_FileFormat fileFormat, UaString &sPassword, UaByteString &privateKey)
 Load a private key from the certificate store. More...
 
UaStatus splitCertificateChain (const UaByteString &certificateChain, UaByteStringArray &chainEntries)
 

Detailed Description

Wrapper class for a Windows Store 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

UaPkiProviderWindowsStore::UaPkiProviderWindowsStore ( OpcUa_UInt32  windowsStoreLocationFlag,
const UaString sStoreName 
)

construction

Parameters
windowsStoreLocationFlagThe location of the store. Possible values are WIN32_PKI_MACHINESTORE or WIN32_PKI_USERSTORE.
sStoreNameName of the certificate store in the location.
UaPkiProviderWindowsStore::UaPkiProviderWindowsStore ( OpcUa_UInt32  windowsStoreLocationFlag,
const UaString sStoreName,
const UaString sIssuersStoreName 
)

construction

Parameters
windowsStoreLocationFlagThe location of the store. Possible values are WIN32_PKI_MACHINESTORE or WIN32_PKI_USERSTORE.
sStoreNameName of the certificate store in the location.
sIssuersStoreNameName of the certificate store in the location 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: