Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/cpanel/ea-openssl11/share/doc/openssl/html/man3/ drwxr-xr-x |
Viewing file: Select action/file-type: NAMEOCSP_REQUEST_new, OCSP_REQUEST_free, OCSP_request_add0_id, OCSP_request_sign, OCSP_request_add1_cert, OCSP_request_onereq_count, OCSP_request_onereq_get0 - OCSP request functions SYNOPSIS
DESCRIPTIONOCSP_REQUEST_new() allocates and returns an empty OCSP_REQUEST structure. OCSP_REQUEST_free() frees up the request structure req. OCSP_request_add0_id() adds certificate ID cid to req. It returns the OCSP_ONEREQ structure added so an application can add additional extensions to the request. The id parameter MUST NOT be freed up after the operation. OCSP_request_sign() signs OCSP request req using certificate signer, private key key, digest dgst and additional certificates certs. If the flags option OCSP_NOCERTS is set then no certificates will be included in the request. OCSP_request_add1_cert() adds certificate cert to request req. The application is responsible for freeing up cert after use. OCSP_request_onereq_count() returns the total number of OCSP_ONEREQ structures in req. OCSP_request_onereq_get0() returns an internal pointer to the OCSP_ONEREQ contained in req of index i. The index value i runs from 0 to OCSP_request_onereq_count(req) - 1. RETURN VALUESOCSP_REQUEST_new() returns an empty OCSP_REQUEST structure or NULL if an error occurred. OCSP_request_add0_id() returns the OCSP_ONEREQ structure containing cid or NULL if an error occurred. OCSP_request_sign() and OCSP_request_add1_cert() return 1 for success and 0 for failure. OCSP_request_onereq_count() returns the total number of OCSP_ONEREQ structures in req. OCSP_request_onereq_get0() returns a pointer to an OCSP_ONEREQ structure or NULL if the index value is out or range. NOTESAn OCSP request structure contains one or more OCSP_ONEREQ structures corresponding to each certificate. OCSP_request_onereq_count() and OCSP_request_onereq_get0() are mainly used by OCSP responders. EXAMPLESCreate an OCSP_REQUEST structure for certificate cert with issuer issuer:
SEE ALSOcrypto(7), OCSP_cert_to_id(3), OCSP_request_add1_nonce(3), OCSP_resp_find_status(3), OCSP_response_status(3), OCSP_sendreq_new(3) COPYRIGHTCopyright 2015-2019 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html. |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0036 ]-- |