Click or drag to resize

DsPkiCertContainerGetContainerName Method

Gets sanitized DS object name from certificate's subject.

Namespace:  SysadminsLV.PKI.Management.ActiveDirectory
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
protected virtual string GetContainerName(
	X509Certificate2 fromCert


Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Specifies the certificate to use for DS name generation.

Return Value

Type: String
Sanitized name of DS object.
Default method implementation checks if specified certificate is CA certificate. If true, subject name is used to generate DS object name, otherwise issuer name is used to generate DS object name.
See Also