certmanager Library API Documentation

Certificate Info listing functions


Functions

CertIterator * CryptPlug::startListCertificates (const char *pattern, int remote)

Function Documentation

CryptPlug::CertIterator * CryptPlug::startListCertificates const char *  pattern,
int  remote
[inherited]
 

struct CertIterator* startListCertificates( const char* pattern ); struct CertificateInfo* nextCertificate( struct CertIterator* ); void endListCertificates( struct CertIterator* );

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 );

Definition at line 1296 of file cryptplug.cpp.

KDE Logo
This file is part of the documentation for certmanager Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 22:39:42 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003