From aa8b0f43db0f4708ecf12ba2a2034ba6165d5f76 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 25 Dec 2015 11:13:45 -0600 Subject: add create_x509_revoked_certificate to x509backend interface --- tests/hazmat/backends/test_openssl.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/hazmat/backends/test_openssl.py') diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index c1fa653c..af064d18 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -509,6 +509,12 @@ class TestOpenSSLSignX509CertificateRevocationList(object): backend.create_x509_crl(object(), private_key, hashes.SHA256()) +class TestOpenSSLCreateRevokedCertificate(object): + def test_not_yet_implemented(self): + with pytest.raises(NotImplementedError): + backend.create_x509_revoked_certificate(object()) + + class TestOpenSSLSerializationWithOpenSSL(object): def test_pem_password_cb_buffer_too_small(self): ffi_cb, userdata = backend._pem_password_cb(b"aa") -- cgit v1.2.3