diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-21 11:21:21 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-29 17:19:45 -0600 |
commit | a5e1081098be6734f8abe31ce0b84c72490f4cb3 (patch) | |
tree | acb05c07e8eb5a16eacc01cddaab247c695f486c | |
parent | 65c4e0a396b9d4183d9ce16b27742d407eb9d91d (diff) | |
download | cryptography-a5e1081098be6734f8abe31ce0b84c72490f4cb3.tar.gz cryptography-a5e1081098be6734f8abe31ce0b84c72490f4cb3.tar.bz2 cryptography-a5e1081098be6734f8abe31ce0b84c72490f4cb3.zip |
add tag as abstractproperty for modewithaad
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 6 |
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)): |