diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-25 11:13:45 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-25 11:16:24 -0600 |
commit | aa8b0f43db0f4708ecf12ba2a2034ba6165d5f76 (patch) | |
tree | 95195d5a52f3ed575a2f7ac42f50187a08eae05a /tests/hazmat/backends/test_openssl.py | |
parent | 58dc259214ff05243ec4e72c86cc2c7a76ca6e02 (diff) | |
download | cryptography-aa8b0f43db0f4708ecf12ba2a2034ba6165d5f76.tar.gz cryptography-aa8b0f43db0f4708ecf12ba2a2034ba6165d5f76.tar.bz2 cryptography-aa8b0f43db0f4708ecf12ba2a2034ba6165d5f76.zip |
add create_x509_revoked_certificate to x509backend interface
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 6 |
1 files changed, 6 insertions, 0 deletions
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") |