Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Security Namespace / DocumentSecurityStore Class / AddVerificationOCSP Method / AddVerificationOCSP(Signature,X509Certificate2,X509Certificate2,String) Method
The Signature object.
The certificate for which OCSP is requested.
The parent certificate.
The OCSP URL. If a null reference (Nothing in Visual Basic), it will be obtained from certificate if possible.

In This Topic
    AddVerificationOCSP(Signature,X509Certificate2,X509Certificate2,String) Method
    In This Topic
    Adds an OCSP response for a specified signature.
    Syntax
    'Declaration
     
    Public Overloads Function AddVerificationOCSP( _
       ByVal signature As Signature, _
       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 System.byte[] AddVerificationOCSP( 
       Signature signature,
       System.Security.Cryptography.X509Certificates.X509Certificate2 certificate,
       System.Security.Cryptography.X509Certificates.X509Certificate2 parentCertificate,
       System.string url
    )

    Parameters

    signature
    The Signature object.
    certificate
    The certificate for which OCSP is requested.
    parentCertificate
    The parent certificate.
    url
    The OCSP URL. If a null reference (Nothing in Visual Basic), it will be obtained from certificate if possible.

    Return Value

    The DER-encoded OCSP that was added, or a null reference (Nothing in Visual Basic) if OCSP could not be obtained.
    See Also