Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
OCSP_SINGLERESP_new, OCSP_SINGLERESP_free, OCSP_CERTSTATUS_new, OCSP_CERTSTATUS_free, OCSP_REVOKEDINFO_new, OCSP_REVOKEDINFO_free, OCSP_resp_find_status, OCSP_cert_status_str, OCSP_resp_count, OCSP_resp_get0, OCSP_resp_find, OCSP_SINGLERESP_get0_id, OCSP_single_get0_status, OCSP_check_validity, OCSP_basic_verify — OCSP response utility functionsSYNOPSIS
#include <openssl/ocsp.h>OCSP_SINGLERESP_new(void);
OCSP_SINGLERESP_free(OCSP_SINGLERESP *single);
OCSP_CERTSTATUS_new(void);
OCSP_CERTSTATUS_free(OCSP_CERTSTATUS *certstatus);
OCSP_REVOKEDINFO_new(void);
OCSP_REVOKEDINFO_free(OCSP_REVOKEDINFO *revokedinfo);
OCSP_resp_find_status(OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status, int *reason, ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd);
OCSP_cert_status_str(long status);
OCSP_resp_count(OCSP_BASICRESP *bs);
OCSP_resp_get0(OCSP_BASICRESP *bs, int idx);
OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last);
OCSP_SINGLERESP_get0_id(const OCSP_SINGLERESP *single);
OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason, ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd);
OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long sec, long maxsec);
OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, X509_STORE *st, unsigned long flags);
DESCRIPTION
OCSP_SINGLERESP_new() allocates and initializes an empty OCSP_SINGLERESP object, representing an ASN.1 SingleResponse structure defined in RFC 6960. Each such object can store the server's answer regarding the validity of one individual certificate. Such objects are used inside the OCSP_RESPDATA of OCSP_BASICRESP objects, which are described in OCSP_BASICRESP_new(3). OCSP_SINGLERESP_free() frees single.- 1
.