OCSPRequestSignRequest Method (X509Certificate2, Boolean) |
Digitally signs the OCSP request. The method uses "sha1RSA" signature
algorithm by default.
Namespace:
PKI.OCSP
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public void SignRequest(
X509Certificate2 signerCert,
bool includeFullChain
)
Public Sub SignRequest (
signerCert As X509Certificate2,
includeFullChain As Boolean
)
public:
void SignRequest(
X509Certificate2^ signerCert,
bool includeFullChain
)
member SignRequest :
signerCert : X509Certificate2 *
includeFullChain : bool -> unit
Parameters
- signerCert
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
An X509Certificate2 object that represents signer certificate.
- includeFullChain
- Type: SystemBoolean
Specifies whether the full certificate chain is included in the digital signature. If the
parameter is False, only signer certificate is included in the signature.
Exceptions Remarks
OCSP server may return an error if it do not support signed requests.
Once the request is signed, no modifications to the request object are allowed.
See Also