DsPkiCertContainerGetContainerName Method

Gets sanitized DS object name from certificate's subject.

Definition

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

Parameters

fromCert  X509Certificate2
Specifies the certificate to use for DS name generation.

Return Value

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