UA Server SDK C++ Bundle  1.4.0.258
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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...
 
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)
 
OpcUa_Handle getPkiConfigHandle () const
 
UaString getCertificateTrustListLocation () const
 
void setCertificateValidationCallback (UaPkiProviderCertificateValidationCallback *pCertificateValidationCallback)
 
UaPkiProviderCertificateValidationCallbackgetCertificateValidationCallback () const
 

Additional Inherited Members

- Protected Attributes inherited from UaPkiProvider
UaString m_sCertificateRevocationListLocation
 
UaString m_sCertificateTrustListLocation
 
UaString m_sIssuersRevocationListLocation
 
UaString m_sIssuersCertificatesLocation
 
OpcUa_PKIProvider m_PkiProvider
 
OpcUa_CertificateStoreConfiguration m_PkiConfig
 
OpcUa_Handle m_hCertificateStore
 
OpcUa_Boolean m_isOpened
 
UaPkiProviderCertificateValidationCallbackm_pCertificateValidationCallback
 

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 plane 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.

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