From 6f6cf005fbcc4ae8a45affd3baae4d0d701fe1e3 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 17 Jun 2015 19:58:10 -0600 Subject: add version added info and doc exception --- docs/hazmat/primitives/keywrap.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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 ~~~~~~~~~~ -- cgit v1.2.3