Collapse All Expand All

.NET Framework Class Library
EMSSSLSystemStoreInfo Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Set the name of the certificate

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    [ObsoleteAttribute("Use EMSSSLSystemStoreInfo.SetCertificateNameAsFullSubjectDN instead.")]
    public void SetCertificateName(
    	string certName
    )

    <ObsoleteAttribute("Use EMSSSLSystemStoreInfo.SetCertificateNameAsFullSubjectDN instead.")> _
    Public Sub SetCertificateName ( _
    	certName As String _
    )

    [ObsoleteAttribute(L"Use EMSSSLSystemStoreInfo.SetCertificateNameAsFullSubjectDN instead.")]
    public:
    void SetCertificateName(
    	String^ certName
    )

#### Parameters

certName
  Type: System..::.String
  Certificate name.

# Remarks

This method sets the name of the certificate. The certificate name is the subject distinguished name of the certificate. During the SSL handshake, the server searches for the named certificate in the store specified by SetCertificateStoreName(String) at the location specified by SetCertificateStoreLocation(StoreLocation). The search criteria to find the certificate in the store name at the store location is X509FindType.FindBySubjectDistinguishedName.
Note: While searching for the certificate in the certificate store, the tag 'CN' is automatically prepended to the certificate name.

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentException | If the certificate name is null.

# See Also

EMSSSLSystemStoreInfo Class
TIBCO.EMS Namespace