CertValiditySettingValidityPeriod Property

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.

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public string ValidityPeriod { get; set; }

Property Value

String

Exceptions

FormatException The string assigned to the property does not match required pattern.

See Also