Adds a certificate to be checked against its issuer. The issuer name and key hashes will be computed automatically.
Certificate and its issuer
This builder for chaining
Adds a request-level extension (e.g., nonce).
The extension to add
This builder for chaining
Adds a pre-built Request entry.
The Request to add
This builder for chaining
Builds the OCSP request, computing CertIDs for all pending certificates.
Promise resolving to the OCSPRequest
Sets the hash algorithm used to compute issuer name and key hashes in CertID. Defaults to 'SHA-256'.
Note: many OCSP responders only support SHA-1.
The hash algorithm
This builder for chaining
Sets the requestor's distinguished name (optional).
Requestor name as string or Name object
This builder for chaining
Sets the protocol version. Defaults to 0 (v1).
The protocol version
This builder for chaining
Builder class for creating OCSP (Online Certificate Status Protocol) requests.
Provides a fluent API for constructing OCSP requests with one or more certificate status queries.
Example