pub fn check_reader<R: Read + Seek>(reader: &mut OfdReader<R>) -> CheckReportExpand description
对已打开的 OFD 读取器执行结构符合性 + 签名完整性校验。
与 check_path 的区别在于此函数针对已打开的 OfdReader(如内存中的包),
因此不包含“容器能否打开/主入口能否解析”这一步。
pub fn check_reader<R: Read + Seek>(reader: &mut OfdReader<R>) -> CheckReport对已打开的 OFD 读取器执行结构符合性 + 签名完整性校验。
与 check_path 的区别在于此函数针对已打开的 OfdReader(如内存中的包),
因此不包含“容器能否打开/主入口能否解析”这一步。