Provides access to a certificate store.
More...
Inherits IEnumerable< ICertificate >, and IDisposable.
Inherited by UnifiedAutomation.UaBase.DirectoryCertificateStore, and UnifiedAutomation.UaBase.WindowsCertificateStore.
|
ICertificate | Find (string thumbprint) |
| Finds a certificate in the store.
|
|
ICertificate | Find (string thumbprint, bool needPrivateKey) |
| Finds a certificate in the store.
|
|
ICertificate | Find (string subjectName, string thumbprint, bool needPrivateKey) |
| Finds a certificate in the store.
|
|
void | Add (ICertificate certificate, bool replaceExisting, bool savePrivateKey) |
| Adds the specified certificate to the store.
|
|
void | Remove (string thumbprint) |
| Removes the specified thumbprint.
|
|
StatusCode | IsRevoked (ICertificate issuer, ICertificate certificate) |
| Determines whether the specified certificate has been revoked by the issuer.
|
|
string | GetPrivateKeyFilePath (string thumbprint) |
| Gets the private key file path.
|
|
Provides access to a certificate store.
void UnifiedAutomation.UaBase.ICertificateStore.Add |
( |
ICertificate |
certificate, |
|
|
bool |
replaceExisting, |
|
|
bool |
savePrivateKey |
|
) |
| |
Adds the specified certificate to the store.
- Parameters
-
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. |
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find |
( |
string |
thumbprint | ) |
|
Finds a certificate in the store.
- Parameters
-
thumbprint | The thumbprint. |
- Returns
- The certificate; null if not found.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find |
( |
string |
thumbprint, |
|
|
bool |
needPrivateKey |
|
) |
| |
Finds a certificate in the store.
- Parameters
-
thumbprint | The thumbprint. |
needPrivateKey | if set to true the certificate is only returned if a private key is accessible. |
- Returns
- The certificate; null if not found.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find |
( |
string |
subjectName, |
|
|
string |
thumbprint, |
|
|
bool |
needPrivateKey |
|
) |
| |
Finds a certificate in the store.
- Parameters
-
subjectName | The subject name. |
thumbprint | The thumbprint. |
needPrivateKey | if set to true the certificate is only returned if a private key is accessible. |
- Returns
string UnifiedAutomation.UaBase.ICertificateStore.GetPrivateKeyFilePath |
( |
string |
thumbprint | ) |
|
Gets the private key file path.
- Parameters
-
thumbprint | The thumbprint. |
- Returns
- The private key file path. Null if the private key was not found.
Determines whether the specified certificate has been revoked by the issuer.
- Parameters
-
issuer | The issuer. |
certificate | The certificate. |
- Returns
- Good if the certificate is fine. An error status if a problem occurred.
void UnifiedAutomation.UaBase.ICertificateStore.Remove |
( |
string |
thumbprint | ) |
|
Removes the specified thumbprint.
- Parameters
-
thumbprint | The thumbprint. |
string UnifiedAutomation.UaBase.ICertificateStore.StorePath |
|
get |
string UnifiedAutomation.UaBase.ICertificateStore.StoreType |
|
get |
Gets or sets the validation options.
The validation options.
The documentation for this interface was generated from the following file:
- C:/work/uasdknet/src/UaBase/Security/ICertificateStore.cs