CertificateGenerator Class

The CertificateGenerator searches certificate stores for existing certificates and creates self-signed certificates if no matching certificate exists in any accessible store. It then generates a certificate file at the specified certificate path.

Definition

Namespace: Gemstone.Net.Security
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public class CertificateGenerator
Inheritance
Object    CertificateGenerator

Constructors

CertificateGenerator Creates a new instance of the CertificateGenerator class.

Properties

CertificatePath Gets or sets the path to the certificate file that is generated by this certificate generator.
DebugLog Gets a list of detailed log messages
Issuer Gets or sets the name of the entity issuing the certificate.
SubjectNames Gets or sets the subject names (common names) of the entity that this certificate identifies.
ValidYears Gets or sets the number of years self-signed generated certificates should be valid.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExportCertificateWithPrivateKey Exports the private key of the certificate that is currently in use to the given path, encrypting the file with the given password.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GenerateCertificate Generates the certificate.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ImportCertificateWithPrivateKey Imports the given certificate into the current user store and then exports the public key.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also