Skip to main content
All docs
V26.1
  • 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.v26.1.Core.dll

    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