Searched refs:InvalidVersion (Results 1 – 11 of 11) sorted by relevance
32 except InvalidVersion:36 class InvalidVersion(ValueError): class202 raise InvalidVersion("Invalid version: '{0}'".format(version))
12 InvalidVersion, RevokedCertificate, RevokedCertificateBuilder,
73 class InvalidVersion(Exception): class75 super(InvalidVersion, self).__init__(msg)
61 raise x509.InvalidVersion(
392 except (packaging.version.InvalidVersion, TypeError):
120 except packaging.version.InvalidVersion:1324 except packaging.version.InvalidVersion:
2442 TEST(X509Test, InvalidVersion) { in TEST() argument
2649 TEST(X509Test, InvalidVersion) { in TEST() argument
299 :raises cryptography.x509.InvalidVersion: If the version in the3078 .. class:: InvalidVersion
969 with pytest.raises(x509.InvalidVersion) as exc: