Certificate Info listing functions
Functions | |
| CertIterator * | CryptPlug::startListCertificates (const char *pattern, int remote) |
Function Documentation
|
||||||||||||
|
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. |
