الإجراء HPDFValidateSignatureByteRange
function HPDFValidateSignatureByteRange(Source: TStream; const AByteRange: array of Int64; out SignedRevisionLength, UnsignedTrailingBytes: Int64): Boolean;
HPDFSignatureByteRanges contains the existing shared validator used by the Windows verifier and the portable CMS layer
المدايات يجب أن تحوي ثنائية واحدة تغطي التدفق كاملًا أو ثنائيتين مرتبتين تبدآن من الصفر بفترة مستثناة غير فارغة؛ والأطوال السالبة والتراكب والفيض الحسابي والمواضع خارج النطاق تُرفض
For a valid two-pair range, SignedRevisionLength reports the end of the last covered range and UnsignedTrailingBytes reports the suffix beyond that signed revision
الفشل يُعيد false ويمسح طَولي الإخراج معًا؛ وهذا المساعد يفحص الحساب والتغطية لكنه لا يحلل Contents الخاصة بـ PDF ولا يتحقق من توقيع CMS