THPDFSignaturePolicyInfo Record

Describes the signature-policy attribute of a CMS signature, along with 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 where the signature carries a signature-policy attribute
IdentifierOIDPolicy identifier OID that the attribute declares
HashAlgorithmDisplay name for the policy hash algorithm
HashAlgorithmOIDOID for the policy hash algorithm
HashValuePolicy hash value that the attribute carries
HashIsUnknownTrue where the hash algorithm goes unrecognised, so the hash cannot be recomputed for comparison
QualifiersPolicy qualifiers, such as CPS URIs and user notices
ValidationStatusTHPDFSignaturePolicyValidationStatus verdict for the attribute, running from not-present through to hash mismatch

Usage notes

Related APIs