Function

SecureDownloadUpdateWithData

Checks data received during download for validity.

Declaration

OSStatus SecureDownloadUpdateWithData(SecureDownloadRef downloadRef, CFDataRef data);

Parameters

downloadRef

The secure download object to query.

data

The data to check.

Return Value

A result code. See Secure Download Result Codes. If the data is invalid, the result code is errSecureDownloadInvalidDownload.

Discussion

Call this function each time data is received.