PdfSignature
ConfigureCustomOCSP Method
|
Configure OCSP which must conform to RFC 2560.
Namespace:
Spire.Pdf.Security
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void ConfigureCustomOCSP(
PdfSignatureOCSPResponseGenerateHandler handler,
X509Certificate2Collection extraCertificates
)
Public Sub ConfigureCustomOCSP (
handler As PdfSignatureOCSPResponseGenerateHandler,
extraCertificates As X509Certificate2Collection
)
public:
void ConfigureCustomOCSP(
PdfSignatureOCSPResponseGenerateHandler^ handler,
X509Certificate2Collection^ extraCertificates
)
member ConfigureCustomOCSP :
handler : PdfSignatureOCSPResponseGenerateHandler *
extraCertificates : X509Certificate2Collection -> unit
Parameters
-
handler
-
Type:
Spire.Pdf.Security
PdfSignature
OCSPResponseGenerateHandler
the handler which generate OCSP response.
-
extraCertificates
-
Type:
System.Security.Cryptography.X509Certificates
X509Certificate2Collection
Represents an additional collection of certificates that can be searched
if null,only use windows cert store.
See Also