def read(self, input_stream, kmip_version=enums.KMIPVersion.KMIP_1_0):
super(DecryptRequestPayload, self).read(<EOL>input_stream,<EOL>kmip_version=kmip_version<EOL>)<EOL>local_stream = utils.BytearrayStream(input_stream.read(self.length))<EOL>if self.is_tag_next(enums.Tags.UNIQUE_IDENTIFIER, local_stream):<EOL><INDENT>self._unique_identifier = primitives.TextString(<EOL>tag=enums.Tags.UNIQUE_IDENTIFIER<EOL>)<EOL>self._unique_identifier.read(<EOL>local_stream,<EOL>kmip_version=kmip_version<EOL>)<EOL><DEDENT>if self.is_tag_next(<EOL>enums.Tags.CRYPTOGRAPHIC_PARAMETERS,<EOL>local_stream<EOL>):<EOL><INDENT>self._cryptographic_parameters =attributes.CryptographicParameters()<EOL>self._cryptographic_parameters.read(<EOL>local_stream,<EOL>kmip_version=kmip_version<EOL>)<EOL><DEDENT>if self.is_tag_next(enums.Tags.DATA, local_stream):<EOL><INDENT>self._data = primitives.ByteString(tag=enums.Tags.DATA)<EOL>self._data.read(local_stream, kmip_version=kmip_version)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if self.is_tag_next(enums.Tags.IV_COUNTER_NONCE, local_stream):<EOL><INDENT>self._iv_counter_nonce = primitives.ByteString(<EOL>tag=enums.Tags.IV_COUNTER_NONCE<EOL>)<EOL>self._iv_counter_nonce.read(<EOL>local_stream,<EOL>kmip_version=kmip_version<EOL>)<EOL><DEDENT>self.is_oversized(local_stream)<EOL>
Read the data encoding the Decrypt request payload and decode it
into its constituent parts.

Args:
    input_stream (stream): A data stream containing encoded object
        data, supporting a read method; usually a BytearrayStream
        object.
    kmip_version (KMIPVersion): An enumeration defining the KMIP
        version with which the object will be decoded. Optional,
        defaults to KMIP 1.0.

Raises:
    ValueError: Raised if the data attribute is missing from the
        encoded payload.