def get_revocation_time(self):
        """Get the revocation time as naive datetime.

        Note that this method is only used by cryptography>=2.4.
        """
        if self.revoked is False:
            return

        if timezone.is_aware(self.revoked_date):
            # convert datetime object to UTC and make it naive
            return timezone.make_naive(self.revoked_date, pytz.utc)

        return self.revoked_date
Get the revocation time as naive datetime.

        Note that this method is only used by cryptography>=2.4.