diff options
author | Matthias Kalle Dalheimer <[email protected]> | 2002-03-07 21:18:27 +0000 |
---|---|---|
committer | Matthias Kalle Dalheimer <[email protected]> | 2002-03-07 21:18:27 +0000 |
commit | 06cc124c5c644916fe5dc46af31a4bec96a740a9 (patch) | |
tree | 8e2dadc3508760e647d993d8c298e663c58e6ee3 /gpgmeplug/cryptplug.h | |
parent | * gpgme.h (gpgme_op_keylist_ext_start): Add prototype. (diff) | |
download | gpgme-06cc124c5c644916fe5dc46af31a4bec96a740a9.tar.gz gpgme-06cc124c5c644916fe5dc46af31a4bec96a740a9.zip |
Support for various warnings about expiring encryption certificates.
Support for checking encryption certificate paths.
Needs GPGME support.
Diffstat (limited to '')
-rw-r--r-- | gpgmeplug/cryptplug.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index 1b1aeadf..ba346dec 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -769,6 +769,14 @@ void setReceiverCertificateExpiryNearWarning( bool ); certificate of the receiver expires in the near future. */ bool receiverCertificateExpiryNearWarning( void ); + + +/*! \ingroup groupConfigCrypt + \brief Returns the number of days until the specified receiver + certificate expires. +*/ +int receiverCertificateDaysLeftToExpiry( const char* certificate ); + /*! \ingroup groupConfigCrypt @@ -810,6 +818,13 @@ void setCertificateInChainExpiryNearWarningInterval( int ); */ int certificateInChainExpiryNearWarningInterval( void ); + +/*! \ingroup groupConfigCrypt + \brief Returns the number of days until the first certificate in + the chain of the receiver certificate expires. +*/ +int certificateInChainDaysLeftToExpiry( const char* certificate ); + /*! \ingroup groupConfigCrypt \brief Specifies whether a warning is emitted if the email address |