aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/primitives/interfaces.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index 574c8226..f216686a 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -57,7 +57,11 @@ class ModeWithNonce(six.with_metaclass(abc.ABCMeta)):
class ModeWithAAD(six.with_metaclass(abc.ABCMeta)):
- pass
+ @abc.abstractproperty
+ def tag(self):
+ """
+ The value of the tag supplied to the constructor of this mode.
+ """
class CipherContext(six.with_metaclass(abc.ABCMeta)):