[TIBCO.EMS .NET client library 6.3 documentation]

Set the name of the certificate as a full subject DN

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

Syntax

public void SetCertificateNameAsFullSubjectDN(
	string certName
)
Public Sub SetCertificateNameAsFullSubjectDN ( _
	certName As String _
)
public:
void SetCertificateNameAsFullSubjectDN(
	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.

Examples

A subject DN sample
 Copy Code
            E=client@testcompany.com, CN=client, OU=client Unit, O=Test Company, L=us-english, S=California, C=US
            

Exceptions

ExceptionCondition
System..::.ArgumentException If the certificate name is null.

See Also