def _build_key_wrapping_specification(self, value):
    '\n        Build a KeyWrappingSpecification struct from a dictionary.\n\n        Args:\n            value (dict): A dictionary containing the key/value pairs for a\n                KeyWrappingSpecification struct.\n\n        Returns:\n            KeyWrappingSpecification: a KeyWrappingSpecification struct\n\n        Raises:\n            TypeError: if the input argument is invalid\n        '
    if (value is None):
        return None
    if (not isinstance(value, dict)):
        raise TypeError('Key wrapping specification must be a dictionary.')
    encryption_key_info = self._build_encryption_key_information(value.get('encryption_key_information'))
    mac_signature_key_info = self._build_mac_signature_key_information(value.get('mac_signature_key_information'))
    key_wrapping_specification = cobjects.KeyWrappingSpecification(wrapping_method=value.get('wrapping_method'), encryption_key_information=encryption_key_info, mac_signature_key_information=mac_signature_key_info, attribute_names=value.get('attribute_names'), encoding_option=value.get('encoding_option'))
    return key_wrapping_specification
Build a KeyWrappingSpecification struct from a dictionary.

Args:
    value (dict): A dictionary containing the key/value pairs for a
        KeyWrappingSpecification struct.

Returns:
    KeyWrappingSpecification: a KeyWrappingSpecification struct

Raises:
    TypeError: if the input argument is invalid
def _build_key_wrapping_specification(self, value):
    '\n        Build a KeyWrappingSpecification struct from a dictionary.\n\n        Args:\n            value (dict): A dictionary containing the key/value pairs for a\n                KeyWrappingSpecification struct.\n\n        Returns:\n            KeyWrappingSpecification: a KeyWrappingSpecification struct\n\n        Raises:\n            TypeError: if the input argument is invalid\n        '
    if (value is None):
        return None
    if (not isinstance(value, dict)):
        raise TypeError('Key wrapping specification must be a dictionary.')
    encryption_key_info = self._build_encryption_key_information(value.get('encryption_key_information'))
    mac_signature_key_info = self._build_mac_signature_key_information(value.get('mac_signature_key_information'))
    key_wrapping_specification = cobjects.KeyWrappingSpecification(wrapping_method=value.get('wrapping_method'), encryption_key_information=encryption_key_info, mac_signature_key_information=mac_signature_key_info, attribute_names=value.get('attribute_names'), encoding_option=value.get('encoding_option'))
    return key_wrapping_specification