Skip to main content
All docs
V25.2
  • OcspClient(Uri, HashAlgorithmType) Constructor

    SECURITY-RELATED CONSIDERATIONS

    Using weak or outdated hash algorithms (such as SHA-1) may allow threat actors to manipulate or predict hash values. Use modern, secure alternatives (such as SHA-256 or stronger).

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

    Namespace: DevExpress.Office.DigitalSignatures

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

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public OcspClient(
        Uri uri,
        HashAlgorithmType hashAlgorithm
    )

    Parameters

    Name Type Description
    uri Uri

    An OCSP server URI. If not specified, the certificate data is used.

    hashAlgorithm HashAlgorithmType

    The hashing algorithm used to hash the issuer name and issuer public key.

    See Also