Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Pkcs7Signer(String, String, ICertificateStoreProvider, HashAlgorithmType, ITsaClient, IOcspClient, ICrlClient, PdfSignatureProfile) Constructor

In This Article

Initializes a new instance of the Pkcs7Signer class with specified settings.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

#Declaration

public Pkcs7Signer(
    string fileName,
    string password,
    ICertificateStoreProvider provider,
    HashAlgorithmType hashAlgorithm,
    ITsaClient tsaClient,
    IOcspClient ocspClient,
    ICrlClient crlClient,
    PdfSignatureProfile profile
)

#Parameters

Name Type Description
fileName String

A path to a signature certificate file (.pfx file format).

password String

A password for a certificate.

provider ICertificateStoreProvider

An object used to build a certificate chain and register the signature in the Document Security Store (DSS).

hashAlgorithm HashAlgorithmType

Signature’s hash algorithm.

tsaClient ITsaClient

An object that provides a timestamp.

ocspClient IOcspClient

An object that performs Online Certificate Status Protocol (OCSP) request for a certificate.

crlClient ICrlClient

An object that performs a Certificate Revocation List (CRL) request for a certificate.

profile PdfSignatureProfile

An enumeration value type that specifies the signature’s baseline profile type.

See Also