Metadata-Version: 2.2
Name: ssldatechecker
Version: 0.1.2
Summary: Check the status of SSL certificates, mainly the exipiration date
Author: Shariq Torres
Author-email: shariq.torres@gmail.com
License: GPL-2.0
Keywords: SSL OpenSSL x509 certificates
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.11
Classifier: Natural Language :: English
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: requires-python
Dynamic: summary

# SSL DateChecker

The purpose of this library is to get the status of SSL certificates -- mainly to make sure that the certificate is still valid.

## Usage

```python

import ssldatechecker

checker = ssldatechecker.get("google.com")
checker.check_certificate()

print(checker.certificate_info)
# <Certificate(subject=<Name(CN=*.google.com)>, ...)>

print(checker.is_date_expired())
# False

print(checker.days_until_expiry())
# 80
```

`checker.certificate_info` is an instance of the [x.509 Certificate Class](https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Certificate) and will have the full certificate information. 


