aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/keywrap.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/keywrap.rst b/docs/hazmat/primitives/keywrap.rst
index 2ef6b798..1b49a4c5 100644
--- a/docs/hazmat/primitives/keywrap.rst
+++ b/docs/hazmat/primitives/keywrap.rst
@@ -10,6 +10,8 @@ encapsulate key material.
.. function:: aes_key_wrap(wrapping_key, key_to_wrap, backend)
+ .. versionadded:: 1.1
+
:param bytes wrapping_key: The wrapping key.
:param bytes key_to_wrap: The key to wrap.
@@ -23,6 +25,8 @@ encapsulate key material.
.. function:: aes_key_unwrap(wrapping_key, wrapped_key, backend)
+ .. versionadded:: 1.1
+
:param bytes wrapping_key: The wrapping key.
:param bytes wrapped_key: The wrapped key.
@@ -34,6 +38,9 @@ encapsulate key material.
:return bytes: The unwrapped key as bytes.
+ :raises cryptography.hazmat.primitives.keywrap.InvalidUnwrap: This is
+ raised if the key is not successfully unwrapped.
+
Exceptions
~~~~~~~~~~