UA Bundle SDK .NET
2.3.1.334
|
Provides access to a certificate store. More...
Inherits IEnumerable< ICertificate >, and IDisposable.
Inherited by UnifiedAutomation.UaBase.DirectoryCertificateStore, and UnifiedAutomation.UaBase.WindowsCertificateStore.
Public Member Functions | |
ICertificate | Find (string thumbprint) |
Finds a certificate in the store. More... | |
ICertificate | Find (string thumbprint, bool needPrivateKey) |
Finds a certificate in the store. More... | |
ICertificate | Find (string subjectName, string thumbprint, bool needPrivateKey) |
Finds a certificate in the store. More... | |
void | Add (ICertificate certificate, bool replaceExisting, bool savePrivateKey) |
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... | |
Properties | |
string | StoreType [get] |
Gets the store type. More... | |
string | StorePath [get] |
Gets the store path. More... | |
CertificateValidationOptions | ValidationOptions [get, set] |
Gets or sets the validation options. More... | |
Provides access to a certificate store.
void UnifiedAutomation.UaBase.ICertificateStore.Add | ( | ICertificate | certificate, |
bool | replaceExisting, | ||
bool | savePrivateKey | ||
) |
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. |
Implemented in UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DirectoryCertificateStore.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find | ( | string | thumbprint | ) |
Finds a certificate in the store.
thumbprint | The thumbprint. |
Implemented in UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DirectoryCertificateStore.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find | ( | string | thumbprint, |
bool | needPrivateKey | ||
) |
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.WindowsCertificateStore, and UnifiedAutomation.UaBase.DirectoryCertificateStore.
ICertificate UnifiedAutomation.UaBase.ICertificateStore.Find | ( | string | subjectName, |
string | thumbprint, | ||
bool | needPrivateKey | ||
) |
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. |
Implemented in UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DirectoryCertificateStore.
string UnifiedAutomation.UaBase.ICertificateStore.GetPrivateKeyFilePath | ( | string | thumbprint | ) |
Gets the private key file path.
thumbprint | The thumbprint. |
Implemented in UnifiedAutomation.UaBase.DirectoryCertificateStore, and UnifiedAutomation.UaBase.WindowsCertificateStore.
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, and UnifiedAutomation.UaBase.WindowsCertificateStore.
void UnifiedAutomation.UaBase.ICertificateStore.Remove | ( | string | thumbprint | ) |
Removes the specified thumbprint.
thumbprint | The thumbprint. |
Implemented in UnifiedAutomation.UaBase.WindowsCertificateStore, and UnifiedAutomation.UaBase.DirectoryCertificateStore.
|
get |
Gets the store path.
|
get |
Gets the store type.
|
getset |
Gets or sets the validation options.
The validation options.