def _get_p12_sha1_hash()

in keyper/__init__.py [0:0]


    def _get_p12_sha1_hash(self) -> str:

        log.debug("Getting certificate SHA1 hash")

        fingerprint = self._get_value("fingerprint")

        if fingerprint is None:
            raise Exception("Failed to get fingerprint")

        fingerprint = fingerprint.replace("SHA1 Fingerprint=", "")

        return fingerprint