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.7.0.0 (3.7.0.0)
Syntax 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
Parameters
- fromCert
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Specifies the certificate to use for DS name generation.
Return Value
Type:
StringSanitized 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