THPDFCMSAttributeSummary Record

Eksponerer strukturelle CMS-fakta fra verifikationsparseren, så profil-preflight kan rapportere attributkardinaliteter uden at gennemløbe ASN.1 to gange

Deklaration

THPDFCMSAttributeSummary= record
  Parsed: boolean;
  EncapsulatedContentTypeOID: AnsiString;
  SignedContentTypeOID: AnsiString;
  SignedAttributeCount: Integer;
  UnsignedAttributeCount: Integer;
  ContentTypeCount: Integer;
  MessageDigestCount: Integer;
  SigningTimeCount: Integer;
  CommitmentTypeIndicationCount: Integer;
  SigningCertificateCount: Integer;
  SigningCertificateV2Count: Integer;
  SigningCertificateReferenceValid: boolean;
  SigningCertificateV2ReferenceValid: boolean;
  SigningCertificateV2HashAlgorithmOID: AnsiString;
  SignaturePolicyCount: Integer;
  SignatureTimestampCount: Integer;
  SignedDataCertificatesPresent: boolean;
  SignerCertificateIncluded: boolean;
  CertificateCount: Integer;
end;

Enhed

HPDFSignVerify

Felter

FeltFormål
ParsedTrue, når CMS-strukturen blev parset med succes; de øvrige felter er kun meningsfulde da
EncapsulatedContentTypeOIDOID for den indkapslede indholdstype, som SignedData bærer
SignedContentTypeOIDIndholdstype deklareret af underskriverens signede content-type-attribut
SignedAttributeCountAntal attributter i underskriverens signede attributsæt
UnsignedAttributeCountAntal attributter i underskriverens usignerede attributsæt
ContentTypeCountAntal content-type-attributter fundet
MessageDigestCountAntal message-digest-attributter fundet
SigningTimeCountAntal signing-time-attributter fundet
CommitmentTypeIndicationCountAntal commitment-type indication-attributter fundet
SigningCertificateCountAntal ESS signing-certificate-attributter (v1) fundet
SigningCertificateV2CountAntal ESS signing-certificate-v2-attributter fundet
SigningCertificateReferenceValidTrue, når v1-attributtens certifikatreference matcher det faktiske underskrivercertifikat
SigningCertificateV2ReferenceValidTrue, når v2-attributtens certifikatreference matcher det faktiske underskrivercertifikat
SigningCertificateV2HashAlgorithmOIDHash-algoritme-OID brugt af v2-certifikatreferencen
SignaturePolicyCountAntal signature-policy-attributter fundet
SignatureTimestampCountAntal signatur-tidsstempelattributter fundet
SignedDataCertificatesPresentTrue, når SignedData overhovedet bærer et certifikatsæt
SignerCertificateIncludedTrue, når underskriverens eget certifikat er blandt de indlejrede certifikater
CertificateCountAntal certifikater indlejret i SignedData

Brugsnoter

Relaterede API'er