summaryrefslogtreecommitdiff
path: root/rsa/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rsa/__init__.py')
-rw-r--r--rsa/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rsa/__init__.py b/rsa/__init__.py
index a4147b2..1e60233 100644
--- a/rsa/__init__.py
+++ b/rsa/__init__.py
@@ -32,7 +32,8 @@ __date__ = "2010-02-08"
__version__ = '3.0-beta0'
from rsa.key import newkeys, PrivateKey, PublicKey
-from rsa.pkcs1 import encrypt, decrypt, sign, verify
+from rsa.pkcs1 import encrypt, decrypt, sign, verify, DecryptionError, \
+ VerificationError
# Do doctest if we're run directly
if __name__ == "__main__":
@@ -40,5 +41,5 @@ if __name__ == "__main__":
doctest.testmod()
__all__ = ["newkeys", "encrypt", "decrypt", "sign", "verify", 'PublicKey',
- 'PrivateKey']
+ 'PrivateKey', 'DecryptionError', 'VerificationError']