KDE PIM / Developers / API Docs / certmanager / lib

Certificate Info listing functions

Functions


Function Documentation

void CryptPlug::endListCertificates struct CertIterator *  it  )  [inherited]
 

Example that runs through certs matching "Steffen":

  struct CertificateInfo* info;
  struct CertIterator* it = startListCertificates("Steffen", 0 );
  while( nextCertificate( it, &info ) == GPGME_No_Error && info ) {
    do something with info.
    dont free() it, the struct will be reused
    by the next call to nextCertificate()
  }
  int truncated = endListCertificates( it );