THPDFCMSAttributeSummary Record

Exponerar strukturella CMS-fakta från verifieringsparsern så att profilpreflight kan rapportera attributkardinaliteter utan att behöva gå igenom ASN.1 två gånger

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;

Enhet

HPDFSignVerify

Fält

FältSyfte
ParsedTrue när CMS-strukturen tolkades utan fel; de andra fälten är bara meningsfulla då
EncapsulatedContentTypeOIDOID för den inkapslade innehållstyp som SignedData bär
SignedContentTypeOIDInnehållstypen deklarerad av undertecknarens signerade content-type-attribut
SignedAttributeCountAntal attribut i undertecknarens signerade attributuppsättning
UnsignedAttributeCountAntal attribut i undertecknarens osignerade attributuppsättning
ContentTypeCountAntal content-type-attribut som hittats
MessageDigestCountAntal message-digest-attribut som hittats
SigningTimeCountAntal signing-time-attribut som hittats
CommitmentTypeIndicationCountAntal commitment-type indication-attribut som hittats
SigningCertificateCountAntal ESS signing-certificate-attribut (v1) som hittats
SigningCertificateV2CountAntal ESS signing-certificate-v2-attribut som hittats
SigningCertificateReferenceValidTrue när v1-attributets certifikatreferens matchar undertecknarens faktiska certifikat
SigningCertificateV2ReferenceValidTrue när v2-attributets certifikatreferens matchar undertecknarens faktiska certifikat
SigningCertificateV2HashAlgorithmOIDHash-algoritm-OID som används av v2-certifikatreferensen
SignaturePolicyCountAntal signature-policy-attribut som hittats
SignatureTimestampCountAntal signaturtidsstämpelattribut som hittats
SignedDataCertificatesPresentTrue när SignedData över huvud taget bär en certifikatuppsättning
SignerCertificateIncludedTrue när undertecknarens eget certifikat finns bland de inbäddade certifikaten
CertificateCountAntal certifikat inbäddade i SignedData

Användningsanteckningar

Relaterade API:er