2015-07-01 20:09:44 +00:00
|
|
|
class EncryptedMessageError(Exception):
|
2016-10-02 10:08:37 +00:00
|
|
|
"""Encrypted message could not be opened."""
|
2015-07-01 20:09:44 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class NoSenderKeyFoundError(Exception):
|
2016-10-02 10:08:37 +00:00
|
|
|
"""Sender private key was not available to sign a payload message."""
|
2015-07-01 20:09:44 +00:00
|
|
|
pass
|
2015-07-03 10:09:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
class NoSuitableProtocolFoundError(Exception):
|
2016-10-02 10:08:37 +00:00
|
|
|
"""No suitable protocol found to pass this payload message to."""
|
2015-07-03 10:09:40 +00:00
|
|
|
pass
|
2017-04-29 17:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
class SignatureVerificationError(Exception):
|
|
|
|
"""Authenticity of the signature could not be verified given the key."""
|
|
|
|
pass
|