MCPcopy Create free account
hub / github.com/adobe/Marinus / __check_self_signed

Method __check_self_signed

python3_cron_scripts/libs3/X509Parser.py:807–813  ·  view source on GitHub ↗

Check to see whether the provided certificate is self signed.

(self, cert_object, cert)

Source from the content-addressed store, hash-verified

805 return final_string
806
807 def __check_self_signed(self, cert_object, cert):
808 """
809 Check to see whether the provided certificate is self signed.
810 """
811 cert_object["isSelfSigned"] = False
812 if cert.subject == cert.issuer:
813 cert_object["isSelfSigned"] = True
814
815 def __create_mongodb_structure(self, cert, openssl_cert):
816 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected