THPDFSignaturePolicyInfo Record

Describes the signature-policy attribute of a CMS signature and how its identifier and hash validated

Declaration

THPDFSignaturePolicyInfo= record
  Present: boolean;
  IdentifierOID: AnsiString;
  HashAlgorithm: AnsiString;
  HashAlgorithmOID: AnsiString;
  HashValue: TBytes;
  HashIsUnknown: boolean;
  Qualifiers: THPDFSignaturePolicyQualifierArray;
  ValidationStatus: THPDFSignaturePolicyValidationStatus;
end;

Unit

HPDFSignVerify

Fields

FieldPurpose
PresentTrue when the signature carries a signature-policy attribute
IdentifierOIDPolicy identifier OID declared by the attribute
HashAlgorithmDisplay name of the policy hash algorithm
HashAlgorithmOIDOID of the policy hash algorithm
HashValuePolicy hash value carried by the attribute
HashIsUnknownTrue when the hash algorithm is not recognized, so the hash cannot be recomputed for comparison
QualifiersPolicy qualifiers such as CPS URIs and user notices
ValidationStatusTHPDFSignaturePolicyValidationStatus verdict for the attribute, from not-present through hash mismatch

Usage notes

Related APIs