summaryrefslogtreecommitdiff
path: root/src/OpenSSL/crypto.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/OpenSSL/crypto.py')
-rw-r--r--src/OpenSSL/crypto.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py
index 52fcdaf..e1558ed 100644
--- a/src/OpenSSL/crypto.py
+++ b/src/OpenSSL/crypto.py
@@ -316,6 +316,8 @@ class PKey(object):
:return: The number of bits of the key.
"""
return _lib.EVP_PKEY_bits(self._pkey)
+
+
PKeyType = PKey
@@ -2180,6 +2182,7 @@ class PKCS7(object):
string_type = _lib.OBJ_nid2sn(nid)
return _ffi.string(string_type)
+
PKCS7Type = PKCS7