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.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:23 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003