AppDataPublicCertPath
Function AppDataPublicCertPath : string
Example
procedure ScriptEvent(var Value: variant);
begin
Value := AppDataPublicCertPath + 'partner-public.pem';
end;
Usage
AppDataPublicCertPath returns the Public child path below the shared Velox Certificate directory.
Additional Technical Info
AppDataPublicCertPath returns the configured machine-wide path for public certificate material.
With the default root the value is normally C:\ProgramData\Velox\Certificate\Public\, including its trailing backslash.
Implementation and behaviour
The implementation calls AppDataCertificatePath and appends the literal Public\. The parent call checks and may create Certificate\; the resulting Public\ child is not checked or created by this function. A returned path can therefore name a directory that is currently absent.
The accessor does not load a certificate, determine trust, verify a chain, select a format or validate an appended filename. Public certificates are less sensitive than private keys, but their replacement can still change encryption or trust behaviour. Apply appropriate write controls and deploy updates deliberately.
The parent lookup can perform filesystem I/O and its exceptions propagate. Velox's path lock is process-local and does not coordinate certificate replacement across services or machines.
Related entries and official references
AppDataPrivateCertPathis the private-key location and requires stricter access controls.- Embarcadero: ForceDirectories
- Free Pascal: ForceDirectories (compatibility reference)