Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Security Namespace / SecurityUtils Class / GetOCSP Method
The certificate to check.
The parent certificate.
The OCSP URL, can be null, in this case it will be obtained from certificate if possible.

In This Topic
    GetOCSP Method
    In This Topic
    Returns the OCSP for specified certificate.
    Syntax
    'Declaration
     
    Public Shared Function GetOCSP( _
       ByVal certificate As System.Security.Cryptography.X509Certificates.X509Certificate2, _
       ByVal parentCertificate As System.Security.Cryptography.X509Certificates.X509Certificate2, _
       ByVal url As System.String _
    ) As System.Byte()
    public static System.byte[] GetOCSP( 
       System.Security.Cryptography.X509Certificates.X509Certificate2 certificate,
       System.Security.Cryptography.X509Certificates.X509Certificate2 parentCertificate,
       System.string url
    )

    Parameters

    certificate
    The certificate to check.
    parentCertificate
    The parent certificate.
    url
    The OCSP URL, can be null, in this case it will be obtained from certificate if possible.
    See Also