Search Results for

    Show / Hide Table of Contents

    TEncryptionFactory.GetX509Certificate Method

    Loads a X509Certificate from a pfx byte array. You need to destroy the class returned by this method once you are done using it.

    Syntax

    Unit: FlexCel.Core

    function TEncryptionFactory.GetX509Certificate(const Data: TBytes; const Password: string): TX509Certificate2; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const Data TBytes A byte array with the data of a pfx file. To load the data from disk, you can use TFile.ReadAllBytes(FileName.pfx)
    const Password string Password to open the pfx file.

    Returns

    A certificate to sign a pdf file. Remember to free this class once it is used.

    See also

    • TEncryptionFactory
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com