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: 3.4.0.0 (3.4.0.0)
Syntax
protected virtual string GetContainerName(
	X509Certificate2 fromCert
)

Parameters

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

Return Value

Type: String
Sanitized name of DS object.
Remarks
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