.NET Based OPC UA Client/Server SDK
3.0.9.490
|
Provides access to a certificate store. More...
Inherits IEnumerable< ICertificate >, and IDisposable.
Inherited by UnifiedAutomation.UaBase.DefaultCertificateStore, UnifiedAutomation.UaBase.DirectoryCertificateStore, and UnifiedAutomation.UaBase.WindowsCertificateStore.
Public Member Functions | |
ICertificate | Find (string thumbprint, bool needPrivateKey=false) |
Finds a certificate in the store. More... | |
ICertificate | Find (string subjectName, string thumbprint, bool needPrivateKey=false, string privateKeyPassword=null) |
Finds a certificate in the store. More... | |
void | Add (ICertificate certificate, bool replaceExisting=true, bool savePrivateKey=false, string privateKeyPassword=null) |
Adds the specified certificate to the store. More... | |
void | Remove (string thumbprint) |
Removes the specified thumbprint. More... | |
StatusCode | IsRevoked (ICertificate issuer, ICertificate certificate) |
Determines whether the specified certificate has been revoked by the issuer. More... | |
string | GetPrivateKeyFilePath (string thumbprint) |
Gets the private key file path. More... | |
ICertificateRevocationList | ParseCRL (byte[] derData) |
IList< ICertificateRevocationList > | GetCRLs (ICertificate issuer=null) |
void | AddCRLs (IList< ICertificateRevocationList > crls, bool deleteExisting=false) |
Properties | |
string | StoreType [get] |
Gets the store type. More... | |
string | StorePath [get] |
Gets the store path. More... | |
CertificateValidationOptions | ValidationOptions [get] |
Gets or sets the validation options. More... | |
Provides access to a certificate store.
void UnifiedAutomation.UaBase.ICertificateStore.Add | ( | ICertificate | certificate, |
bool | replaceExisting = true , |
||
bool | savePrivateKey = false , |
||
string | privateKeyPassword = null |
||
) |
Adds the specified certificate to the store.
certificate | The certificate. |
replaceExisting | if set to true any existing certificate is replaced. |
savePrivateKey | if set to true any private key is saved as well. |
privateKeyPassword | The password used to save the private key. |
Implemented in UnifiedAutomation.UaBase.WindowsCertificateStore, UnifiedAutomation.UaBase.DirectoryCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find | ( | string | thumbprint, |
bool | needPrivateKey = false |
||
) |
Finds a certificate in the store.
thumbprint | The thumbprint. |
needPrivateKey | if set to true the certificate is only returned if a private key is accessible. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find | ( | string | subjectName, |
string | thumbprint, | ||
bool | needPrivateKey = false , |
||
string | privateKeyPassword = null |
||
) |
Finds a certificate in the store.
subjectName | The subject name. |
thumbprint | The thumbprint. |
needPrivateKey | if set to true the certificate is only returned if a private key is accessible. |
privateKeyPassword | The password needed to access the private key. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
string UnifiedAutomation.UaBase.ICertificateStore.GetPrivateKeyFilePath | ( | string | thumbprint | ) |
Gets the private key file path.
thumbprint | The thumbprint. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
StatusCode UnifiedAutomation.UaBase.ICertificateStore.IsRevoked | ( | ICertificate | issuer, |
ICertificate | certificate | ||
) |
Determines whether the specified certificate has been revoked by the issuer.
issuer | The issuer. |
certificate | The certificate. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
void UnifiedAutomation.UaBase.ICertificateStore.Remove | ( | string | thumbprint | ) |
Removes the specified thumbprint.
thumbprint | The thumbprint. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DefaultCertificateStore.
|
get |
Gets the store path.
|
get |
Gets the store type.
|
get |
Gets or sets the validation options.
The validation options.