def _build_key_wrapping_specification(self, value):
if value is None:<EOL><INDENT>return None<EOL><DEDENT>if not isinstance(value, dict):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>encryption_key_info = self._build_encryption_key_information(<EOL>value.get('<STR_LIT>')<EOL>)<EOL>mac_signature_key_info = self._build_mac_signature_key_information(<EOL>value.get('<STR_LIT>')<EOL>)<EOL>key_wrapping_specification = cobjects.KeyWrappingSpecification(<EOL>wrapping_method=value.get('<STR_LIT>'),<EOL>encryption_key_information=encryption_key_info,<EOL>mac_signature_key_information=mac_signature_key_info,<EOL>attribute_names=value.get('<STR_LIT>'),<EOL>encoding_option=value.get('<STR_LIT>')<EOL>)<EOL>return key_wrapping_specification<EOL>
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