CertSrvCdpUrlEntryFromRegUri Method

Initializes a new instance of CertSrvCdpUrlEntry from registry-based URI format.

Gets an URL that is formatted as follows: Flags:protocol/ActualURL/options.

for example, an URL can be: 3:http://pki.company.com/CRL/mycacrl.crl%8%9.crl

See Remarks for detailed URL structure.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static CertSrvCdpUrlEntry FromRegUri(
	string uri
)

Parameters

uri  String
A registry-based CDP URI.

Return Value

CertSrvCdpUrlEntry

[Missing <returns> documentation for "M:SysadminsLV.PKI.Management.CertificateServices.CertSrvCdpUrlEntry.FromRegUri(System.String)"]

Remarks

The following replacement tokens are defined for CDP URL variables:

%1 - <ServerDNSName> (The DNS name of the certification authority server).

%2 - <ServerShortName> (The NetBIOS name of the certification authority server).

%3 - <CaName> (The name of the certification authority).

%6 - <ConfigurationContainer> (The location of the Configuration container in Active Directory).

%7 - <CATruncatedName> (The "sanitized" name of the certification authority, truncated to 32 characters with a hash on the end).

%8 - <CRLNameSuffix> (Inserts a name suffix at the end of the file name when publishing a CRL to a file or URL location).

%9 - <DeltaCRLAllowed> (When a delta CRL is published, this replaces the CRLNameSuffix with a separate suffix to distinguish the delta CRL).

%10 - <CDPObjectClass> (The object class identifier for CRL distribution points, used when publishing to an LDAP URL).

%11 - <CAObjectClass> - (The object class identifier for a certification authority, used when publishing to an LDAP URL).

Exceptions

ArgumentExceptionThe uri parameter is null or empty string.
FormatExceptionThe string in the uri parameter does not match required pattern.

See Also