pub unsafe extern "C-unwind" fn SecureDownloadUpdateWithData(
download_ref: SecureDownloadRef,
data: Option<&CFData>,
) -> i32
👎Deprecated: SecureDownload is not supported
Available on crate feature
SecureDownload
only.Expand description
Check data received during Secure Download for validity. Call this function each time data is received.
Parameter downloadRef
: A SecureDownloadRef instance.
Parameter data
: The data to check.
Returns: Returns errSecureDownloadInvalidDownload if data is invalid. Otherwise see “Security Error Codes” (SecBase.h).
§Safety
download_ref
must be a valid pointer.data
might not allowNone
.