Configure OCSP which must conform to RFC 2560.

Namespace: Spire.Pdf.Security
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void ConfigureCustomOCSP(
	PdfSignature..::..OCSPResponseGenerateHandler handler,
	X509Certificate2Collection extraCertificates
)
Public Sub ConfigureCustomOCSP ( 
	handler As PdfSignature..::..OCSPResponseGenerateHandler,
	extraCertificates As X509Certificate2Collection
)
public:
void ConfigureCustomOCSP(
	PdfSignature..::..OCSPResponseGenerateHandler^ handler, 
	X509Certificate2Collection^ extraCertificates
)
member ConfigureCustomOCSP : 
        handler : PdfSignature..::..OCSPResponseGenerateHandler * 
        extraCertificates : X509Certificate2Collection -> unit 

Parameters

handler
PdfSignature..::..OCSPResponseGenerateHandler
the handler which generate OCSP response.
extraCertificates
X509Certificate2Collection
Represents an additional collection of certificates that can be searched if null,only use windows cert store.

See Also