CertValiditySetting Class

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

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public class CertValiditySetting
Inheritance
Object    CertValiditySetting

Remarks

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

Constructors

CertValiditySettingInitializes a new instance of the CertValiditySetting class

Properties

ComputerName Gets the host fully qualified domain name (FQDN) of the server where Certification Authority is installed.
DisplayName Gets the display name of the Certification Authority (sanitized characters are decoded to textual characters).
IsModified Indiciates whether the object was modified after it was instantiated.
Name Gets the common name of the Certification Authority in a sanitized form as specified in MS-WCCE §3.1.1.4.1.1.
ValidityPeriod 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.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
SetInfo Updates issued certificate validity setting. Any issued certificate validity cannot exceed this value.
ToString Returns a string representation of the current validity period setting.
(Overrides ObjectToString)

See Also