UA Server SDK C++ Bundle
1.4.0.258
|
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) |
UaPkiProviderCertificateValidationCallback * | getCertificateValidationCallback () 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 |
UaPkiProviderCertificateValidationCallback * | m_pCertificateValidationCallback |
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.
UaPkiProviderWindowsStore::UaPkiProviderWindowsStore | ( | OpcUa_UInt32 | windowsStoreLocationFlag, |
const UaString & | sStoreName | ||
) |
construction
windowsStoreLocationFlag | The location of the store. Possible values are WIN32_PKI_MACHINESTORE or WIN32_PKI_USERSTORE. |
sStoreName | Name of the certificate store in the location. |