aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgmeplug/cryptplug.h15
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