OCSPRequest Class |
Namespace: PKI.OCSP
The OCSPRequest type exposes the following members.
Name | Description | |
---|---|---|
OCSPRequest(X509Certificate2) |
Initializes a new instance of the OCSPRequest class using the X509Certificate2 object.
| |
OCSPRequest(X509Certificate2Collection) |
Initializes a new instance of the OCSPRequest class using the X509Certificate2Collection object
and Uri object.
| |
OCSPRequest(OCSPSingleRequestCollection) |
Initializes a new instance of OCSPRequest from an array of single request items.
| |
OCSPRequest(X509Certificate2Collection, X509Certificate2) |
Initializes a new instance of OCSPRequest using issuer certificate, an array of
certificates to verify and indication whether to include ServiceLocator extension
to the request.
|
Name | Description | |
---|---|---|
AcceptedSignatureAlgorithms |
Gets an array of supported signature algorithms that OCSP server shall use to sign response.
Default algorithm is sha1RSA.
| |
Extensions |
Gets optional OCSP Request extensions. This may include Nonce and/or Service Locator extensions.
| |
Nonce |
Indicates whether the client chose to add Nonce extension.
| |
NonceValue | ||
Proxy |
Gets or sets web proxy information that will be used to connect OCSP server.
| |
RawData |
Gets the raw data of a OCSP request. This data is sent to OCSP responder.
| |
RequestList |
Gets certificate identification object collection. This object is equavivalent to singleRequest
structure in ASN.1 module.
| |
SignerCertificate |
Gets the certificate used to sign this request. If the request is not signed, this property is null.
| |
URL |
Gets or sets the URL of the OCSP responder service. URL can be retrieved from certificate's AIA
extension.
| |
Version |
Gets OCSP Request version. Currently only version 1 is defined.
|
Name | Description | |
---|---|---|
Encode |
Encodes OCSP request based on a current information and populates RawData property.
After encoding, the object cannot be modified
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SendRequest |
Sends OCSP request (encoded raw data) to a OCSP responder specified in URL.
| |
SendRequest(String) |
Sends OCSP request (encoded raw data) to a OCSP responder specified in URL property
by using specific network method.
| |
SetCredential |
Gets or sets the network credentials that are sent to a OCSP server and used to authenticate the request.
| |
SetProxy | Obsolete.
Gets or sets the proxy used by OCSP request.
| |
SignRequest(X509Certificate2, Boolean) |
Digitally signs the OCSP request. The method uses "sha1RSA" signature
algorithm by default.
| |
SignRequest(X509Certificate2, Boolean, Oid) |
Digitally signs the OCSP request.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |