C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
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 (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 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.
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. |
UaPkiProviderWindowsStore::UaPkiProviderWindowsStore | ( | OpcUa_UInt32 | windowsStoreLocationFlag, |
const UaString & | sStoreName, | ||
const UaString & | sIssuersStoreName | ||
) |
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. |
sIssuersStoreName | Name 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. |