Click or drag to resize

CertValiditySetting Class

Represents Certification Authority object with defined issued certificates maximum validity period.
Inheritance Hierarchy

Namespace:  PKI.CertificateServices
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
public class CertValiditySetting

The CertValiditySetting type exposes the following members.

Public methodCertValiditySetting
Initializes a new instance of the CertValiditySetting class
Public propertyComputerName
Gets the host fully qualified domain name (FQDN) of the server where Certification Authority is installed.
Public propertyDisplayName
Gets the display name of the Certification Authority (sanitized characters are decoded to textual characters).
Public propertyIsModified
Indiciates whether the object was modified after it was instantiated.
Public propertyName
Gets the common name of the Certification Authority in a sanitized form as specified in MS-WCCE §
Public propertyValidityPeriod
Gets or sets the maximum validity period for issued certificates.

New validity period must be set in the following format: "5 years". As for validity period units the following values are alloved: hours, days, weeks, months and years. All unit qualifiers must be specified in plural form.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetInfo
Updates issued certificate validity setting. Any issued certificate validity cannot exceed this value.
Public methodToString
Returns a string representation of the current validity period setting.
(Overrides ObjectToString.)
These settings are not absolute. Issued certificate validity period is the lesser value of:
  • Remaining validity of the CA certificate.
  • ValidityPeriod registry settings (this object implements ValidityPeriod setting).
  • Validity defined in certificate template (Enterprise CAs only).
  • Validity period specified in certificate request
See Also