Skip to main content
All docs
V25.1
  • Pkcs7Signer(Stream, String, HashAlgorithmType, ITsaClient, IOcspClient, ICrlClient, PdfSignatureProfile) Constructor

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

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.Core.dll

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public Pkcs7Signer(
        Stream stream,
        string password,
        HashAlgorithmType hashAlgorithm,
        ITsaClient tsaClient,
        IOcspClient ocspClient,
        ICrlClient crlClient,
        PdfSignatureProfile profile
    )

    Parameters

    Name Type Description
    stream Stream

    A stream that contains signature certificate (.pfx file format).

    password String

    A password for a certificate.

    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