aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/primitives/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/hazmat/primitives/interfaces.py')
-rw-r--r--src/cryptography/hazmat/primitives/interfaces.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/primitives/interfaces.py b/src/cryptography/hazmat/primitives/interfaces.py
new file mode 100644
index 00000000..c9fdb3bf
--- /dev/null
+++ b/src/cryptography/hazmat/primitives/interfaces.py
@@ -0,0 +1,17 @@
+# This file is dual licensed under the terms of the Apache License, Version
+# 2.0, and the BSD License. See the LICENSE file in the root of this repository
+# for complete details.
+
+from __future__ import absolute_import, division, print_function
+
+from cryptography import utils
+from cryptography.hazmat.primitives.mac import MACContext as _MACContext
+
+
+MACContext = utils.deprecated(
+ _MACContext,
+ __name__,
+ "MACContext was moved to cryptography.hazmat.primitives.mac.MACContext "
+ "in version 1.9.",
+ utils.DeprecatedIn19
+)