diff options
| author | Matthias Kalle Dalheimer <[email protected]> | 2002-02-28 09:14:39 +0000 |
|---|---|---|
| committer | Matthias Kalle Dalheimer <[email protected]> | 2002-02-28 09:14:39 +0000 |
| commit | 573daabba9c739b10d93bf3f960efb001390b0da (patch) | |
| tree | 8de628fff1295bd8abd5d675efc86f6b647c2f8f /gpgmeplug/cryptplug.h | |
| parent | Marked up where g10 needs to implement the selection of the signature algorithm (diff) | |
| download | gpgme-573daabba9c739b10d93bf3f960efb001390b0da.tar.gz gpgme-573daabba9c739b10d93bf3f960efb001390b0da.zip | |
Implemented warning when the certificates used for signing are about to
expire
Diffstat (limited to 'gpgmeplug/cryptplug.h')
| -rw-r--r-- | gpgmeplug/cryptplug.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index 2a4e5f83..592432da 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -525,6 +525,13 @@ void setSignatureCertificateExpiryNearWarning( bool ); */ bool signatureCertificateExpiryNearWarning( void ); + /*! \ingroup groupConfigSign + \brief Returns the number of days that are left until the + specified certificate expires. + \param certificate the certificate to check + */ + int signatureCertificateDaysLeftToExpiry( const char* certificate ); + /*! \ingroup groupConfigSign \brief Specifies the number of days which a signature certificate must be valid before it is considered to expire in the near @@ -551,6 +558,13 @@ void setCACertificateExpiryNearWarning( bool ); */ bool caCertificateExpiryNearWarning( void ); + /*! \ingroup groupConfigSign + \brief Returns the number of days that are left until the + CA certificate of the specified certificate expires. + \param certificate the certificate to check + */ + int caCertificateDaysLeftToExpiry( const char* certificate ); + /*! \ingroup groupConfigSign \brief Specifies the number of days which a CA certificate must be valid before it is considered to expire in the near @@ -577,6 +591,13 @@ void setRootCertificateExpiryNearWarning( bool ); */ bool rootCertificateExpiryNearWarning( void ); + /*! \ingroup groupConfigSign + \brief Returns the number of days that are left until the + root certificate of the specified certificate expires. + \param certificate the certificate to check + */ + int rootCertificateDaysLeftToExpiry( const char* certificate ); + /*! \ingroup groupConfigSign \brief Specifies the number of days which a root certificate must be valid before it is considered to expire in the near |
