aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-11 09:48:42 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-12 09:41:20 -0500
commit8f9374ac76eb6957d98941f3e7b00f7e8413cd55 (patch)
treeb9d622f4019bda8fc09b621c7855ee3916bf43e9
parentafdd90a1f33b54085d0ff99bdc6f7e5082f6f7f0 (diff)
downloadcryptography-8f9374ac76eb6957d98941f3e7b00f7e8413cd55.tar.gz
cryptography-8f9374ac76eb6957d98941f3e7b00f7e8413cd55.tar.bz2
cryptography-8f9374ac76eb6957d98941f3e7b00f7e8413cd55.zip
remove an unused method
-rw-r--r--cryptography/hazmat/backends/openssl/backend.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py
index eaa5dc1c..4962201c 100644
--- a/cryptography/hazmat/backends/openssl/backend.py
+++ b/cryptography/hazmat/backends/openssl/backend.py
@@ -456,18 +456,6 @@ class Backend(object):
y=self._bn_to_int(cdata.pub_key)
)
- def _rsa_cdata_to_private_key(self, cdata):
- return rsa.RSAPrivateKey(
- p=self._bn_to_int(cdata.p),
- q=self._bn_to_int(cdata.q),
- dmp1=self._bn_to_int(cdata.dmp1),
- dmq1=self._bn_to_int(cdata.dmq1),
- iqmp=self._bn_to_int(cdata.iqmp),
- private_exponent=self._bn_to_int(cdata.d),
- public_exponent=self._bn_to_int(cdata.e),
- modulus=self._bn_to_int(cdata.n),
- )
-
def _pem_password_cb(self, password):
"""
Generate a pem_password_cb function pointer that copied the password to