THPDFPDFMACOptions Kaydı

Bir PDF message authentication code eklerken veya doğrularken kullanılan PDF MAC policy profilini, digest algoritmasını, izin verilen digest kümesini ve AES-GCM zorunluluğunu seçer

Bildirim

THPDFPDFMACOptions= record
  Profile: THPDFPDFMACPolicyProfile;
  DigestAlgorithm: THPDFPDFMACDigestAlgorithm;
  AllowedDigestAlgorithms: THPDFPDFMACDigestAlgorithms;
  RequireAESGCM: boolean;
  class function Compatibility: THPDFPDFMACOptions; static;
  class function Modern: THPDFPDFMACOptions; static;
  class function HighAssurance: THPDFPDFMACOptions; static;
  class function Default: THPDFPDFMACOptions; static;
end;

Birim

HPDFDoc

Alanlar

AlanAmaç
ProfileMAC ile kaydedilen THPDFPDFMACPolicyProfile etiketi: pmppCompatibility, pmppModern, pmppHighAssurance veya pmppCustom
DigestAlgorithmMAC oluşturulurken anahtarlama ve hesaplama için kullanılan digest; profil tam olarak bir digest sabitliyorsa beklenen digest
AllowedDigestAlgorithmsValidation sırasında kabul edilen digest kümesi; eski belgeler için algorithm agility sağlar
RequireAESGCMtrue olduğunda validation, MAC payload'ının AES-GCM korumalı olmasını ister
CompatibilityClass factory: birincil SHA-256, SHA-2 ve SHA-3 kümesine izin verilir, AES-GCM zorunlu değil
ModernClass factory: birincil SHA-384, SHA-384/SHA-512/SHA-3 kümesine izin verilir, AES-GCM zorunlu değil
HighAssuranceClass factory: yalnızca SHA3-512 ve AES-GCM zorunlu
DefaultCompatibility döndüren class factory

Kullanım notları

İlgili API'ler