LDAPSSL_Cert

Contains SSL certificate information.

Structure

  typedef struct_LDAPSSL_Cert {
     unsigned long   length; 
     void            *data;
  }
  

Fields

length

The length of the memory pointed to by data.

data

Points to memory allocated by the application for the certificate information.

Remarks

The LDAPSSL_Cert structure is used by ldapssl_get_cert. After retrieving the certificate, the structure can be passed into ldapssl_add_trusted_cert to add the certificate to the list of trusted certificates.