UA Bundle SDK .NET
2.4.0.361
|
Provides helper functions used to create and revoke certificates. More...
Static Public Member Functions | |
static ICertificate | CreateCertificate (string storeType, string storePath, CreateCertificateSettings settings) |
Creates a new certificate. More... | |
static void | RevokeCertificate (string storePath, ICertificate certificate, string issuerKeyFilePath, string issuerKeyFilePassword) |
Revokes a certificate by proxy. More... | |
static ICertificate | Create (string storePath, CreateCertificateSettings settings) |
Creates a new certificate. More... | |
static void | Revoke (string storePath, string thumbprint, string password, ICertificate certificate) |
Revokes the certificate. More... | |
static CertificateKeyPair | Convert (CertificateKeyPair input, string newPassword, string newKeyFormat) |
Converts a certificate from one format to another. More... | |
static ICertificate | Replace (ICertificate newCertificate, ICertificate existingCertificate) |
Replaces the certificate in a PFX file. More... | |
static ICertificate | Sign (byte[] certificateRequest, CertificateKeyPair issuer, SignCertificateSettings settings) |
Signs an existing certificate by the CA. More... | |
static byte[] | CreateRequest (CertificateKeyPair requestor, CreateRequestSettings settings) |
Creates a certificate signing request. More... | |
Properties | |
static string | CertificateGeneratorPath [get, set] |
Gets or sets the path to the certificate generator. More... | |
static string | TempFileFolder [get, set] |
Gets or sets the path to store files used to pass arguments to the certificate generator. More... | |
Provides helper functions used to create and revoke certificates.
|
inlinestatic |
Converts a certificate from one format to another.
input | The input certificate. |
newPassword | The password on the output certificate. |
newKeyFormat | The new key format. |
|
inlinestatic |
Creates a new certificate.
storePath | The store path. |
settings | Specified the contents of the certificate. |
|
inlinestatic |
Creates a new certificate.
storeType | The type of certificate store. |
storePath | The store path. |
settings | Specified the contents of the certificate. |
|
inlinestatic |
Creates a certificate signing request.
requestor | The requestor. |
settings | The settings. |
|
inlinestatic |
Replaces the certificate in a PFX file.
newCertificate | The new certificate. |
existingCertificate | The existing certificate with a private key. |
|
inlinestatic |
Revokes the certificate.
storePath | The store path. |
thumbprint | The thumbprint. |
password | The password. |
certificate | The certificate. |
|
inlinestatic |
Revokes a certificate by proxy.
storePath | The store path. |
certificate | The certificate. |
issuerKeyFilePath | The issuer key file path. |
issuerKeyFilePassword | The issuer key file password. |
|
inlinestatic |
Signs an existing certificate by the CA.
certificateRequest | The certificate request. |
issuer | The issuer. |
settings | The settings. |
|
staticgetset |
Gets or sets the path to the certificate generator.
The path to the certificate generator.
If this value is not set then the default location is same directory as the UaBase assembly.
|
staticgetset |
Gets or sets the path to store files used to pass arguments to the certificate generator.
The path to store files used to pass arguments to the certificate generator.
If this value is not set then then the user's temp folder is used.
Note that these file will contain secrets like passwords and private and should be created in a safe location with appropriate file permissions set. The SemaphoreFileLock is used to synchronize access to the single file.