def METHOD_NAME(self) -> None | str | tuple[str, str]:
    certificate = self.soap_service.client_certificate
    if not certificate:
        return None
    if certificate.public_certificate and certificate.private_key:
        return (certificate.public_certificate.path, certificate.private_key.path)
    if certificate.public_certificate:
        return certificate.public_certificate.path