method
sign
v2_6_3 -
Show latest stable
-
0 notes -
Class: Request
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (15)
- 2_4_6 (38)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
sign(p1, p2, p3 = v3, p4 = v4, p5 = v5)
public
Signs this OCSP request using cert, key and optional digest. If digest is not specified, SHA-1 is used. certs is an optional Array of additional certificates which are included in the request in addition to the signer certificate. Note that if certs is nil or not given, flag OpenSSL::OCSP::NOCERTS is enabled. Pass an empty array to include only the signer certificate.
flags is a bitwise OR of the following constants:
OpenSSL::OCSP::NOCERTS |
Don’t include any certificates in the request. certs will be ignored. |