ICICertInfo Interface

Certificates are digital identification documents that allow both servers and clients to authenticate each other. Server certificates contain information about your company and the organization that issued the certificate (such as Verisign or Thawte) while client certificates contain information about the user and the organization that signed the certificate. (Dialog box equivalents are shown below the table.)

interface ICICertInfo : IDispatch

Members

Retrieves the description of a certificate.

HRESULT Description([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the ID of a certificate.

HRESULT ID([out, retval] long *pVal);

EFT v6.0 and later

Retrieves the issuer's common name on a certificate.

HRESULT IssuerCName([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the country of a certificate's issuer.

HRESULT IssuerCountry([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves all of the Issuer information (organization + unit + common name + country) concatenated in one line.

HRESULT IssuerOneLine([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the organization that issued the certificate.

HRESULT IssuerOrg([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the unit of a certificate's issuer.

HRESULT IssuerUnit([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the certificate's expiration date.

HRESULT NotAfter([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the first date the certificate became valid.

HRESULT NotBefore([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the certificate subject's common name.

HRESULT SubjectCName([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the country of a certificate's subject.

HRESULT SubjectCountry([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves all of the Subject info (organization + unit + common name + country) concatenated in one line.

HRESULT SubjectOneLine([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves the organization that is the subject of a certificate.

HRESULT SubjectOrg([out, retval] BSTR *pVal);

EFT v6.0 and later

Retrieves a certificate subject's unit.

HRESULT SubjectUnit([out, retval] BSTR *pVal);

EFT v6.0 and later

Dialog Box Equivalents

The dialog box below is labeled with some of the properties that are available via the API.