SocketTools .NET Edition

PopClient.CertificateIssuer Property

Get a value that provides information about the organization that issued the certificate.

[Visual Basic]
Public ReadOnly Property CertificateIssuer As String
[C#]
public string CertificateIssuer {get;}

Property Value

A string that contains a comma separated list of name value pairs.

Remarks

The CertificateIssuer property returns a string that contains information about the organization that issued the server certificate. The string value is a comma separated list of tagged name and value pairs. In the nomenclature of the X.500 standard, each of these pairs are called a relative distinguished name (RDN), and when concatenated together, forms the issuer's distinguished name (DN). For example:

 C=US, O="RSA Data Security, Inc.", OU=Secure Server Certification Authority 

To obtain a specific value, such as the name of the issuer or the issuer's country, the application must parse the string returned by this property. Some of the common tokens used in the distinguished name are:

Token Description
C The ISO standard two character country code.
S The name of the state or province.
L The name of the city or locality.
O The name of the company or organization.
OU The name of the department or organizational unit
CN The common name; with X.509 certificates, this is the domain name of the site the certificate was issued for.

This property will return an empty string if a secure connection has not been established with the remote host.

See Also

PopClient Class | SocketTools Namespace