Skip to content

Commit

Permalink
Version 0.49. See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Git committed Sep 16, 2023
1 parent 2f289b3 commit 281068a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions certificate/certificateModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,6 @@ def howMuchTimeLeft(self, __certificateObject) -> None:
certResult = "Invalid certificate"
return certResult

def certificateValid(self, __certificateObject) -> None:
"""
Currently not in use.
Check to see if the certificate is valid (Time, Recovation, Issuer)
"""
if __certificateObject is not None:
if self.checkTimeValidity(__certificateObject) and \
self.checkRevocation(__certificateObject) and \
self.checkIssuer(__certificateObject):
print("Certificate good!")
else:
print("Certificate invalid!")

def calculateCertificateUtilization(self, __notBefore: datetime, __notAfter: datetime) -> float:
"""Calculating the percentage utilization of the certificate"""
# Convert __notBefore to datetime object
Expand Down

0 comments on commit 281068a

Please sign in to comment.