TPDFlibEnterprise

Editions

Description

TPDFlibEnterprise is the Enterprise edition entry point. It derives from TPDFlibEntPubSec at the end of the Enterprise feature chain and carries every Small Business method as well as the Enterprise methods.

Code that needs Enterprise behaviour must create this class; the same methods on a plain TPDFlib return 0, an empty string or False and set LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED.

Syntax

Delphi

Uses PDFlibEnterprise;

Var
  PDF: TPDFlibEnterprise;
Begin
  PDF:= TPDFlibEnterprise.Create;
  Try
    ...
  Finally
    PDF.Free;
  End;
End;

Fields

NativeCapabilityEditionOverride that reports the edition identifier enterprise
Inherited Small Business methodsEvery method of TPDFlibSmallBusiness remains available

Remarks

The class is declared in PDFlibEnterprise.pas. It inherits from the Public Security feature class, which follows the Enterprise compliance, redaction, signature verification, long-term validation and revocation chain.

Creating a TPDFlibEnterprise instance also enables the Small Business implementations, because the Enterprise chain descends from TPDFlibSmallBusiness.

See also

TPDFlibSmallBusiness, EditionComparison, TPDFlib