DsPkiCertContainerGetContainerName Method
Gets sanitized DS object name from certificate's subject.
Namespace: SysadminsLV.PKI.Management.ActiveDirectoryAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
protected virtual string GetContainerName(
X509Certificate2 fromCert
)
Protected Overridable Function GetContainerName (
fromCert As X509Certificate2
) As String
protected:
virtual String^ GetContainerName(
X509Certificate2^ fromCert
)
abstract GetContainerName :
fromCert : X509Certificate2 -> string
override GetContainerName :
fromCert : X509Certificate2 -> string
- fromCert X509Certificate2
- Specifies the certificate to use for DS name generation.
StringSanitized 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.