def read(self, istream, kmip_version=enums.KMIPVersion.KMIP_1_0):
        """
        Read the data encoding the ApplicationSpecificInformation object and
        decode it into its constituent parts.

        Args:
            istream (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.
        """
        super(ApplicationSpecificInformation, self).read(
            istream,
            kmip_version=kmip_version
        )
        tstream = BytearrayStream(istream.read(self.length))

        self.application_namespace.read(tstream, kmip_version=kmip_version)
        self.application_data.read(tstream, kmip_version=kmip_version)

        self.is_oversized(tstream)
        self.validate()
def read ( self , istream , kmip_version = enums . KMIPVersion . KMIP_1_0 ) : super ( ApplicationSpecificInformation , self ) . read ( istream , kmip_version = kmip_version ) tstream = BytearrayStream ( istream . read ( self . length ) ) self . application_namespace . read ( tstream , kmip_version = kmip_version ) self . application_data . read ( tstream , kmip_version = kmip_version ) self . is_oversized ( tstream ) self . validate ( )
Read the data encoding the ApplicationSpecificInformation object and
        decode it into its constituent parts.

        Args:
            istream (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.