=pod OCSP_response_status, OCSP_response_get1_basic, OCSP_response_create, OCSP_RESPONSE_free - OCSP response functions. =head1 SYNOPSIS #include int OCSP_response_status(OCSP_RESPONSE *resp); OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp); OCSP_RESPONSE *OCSP_response_create(int status, OCSP_BASICRESP *bs); void OCSP_RESPONSE_free(OCSP_RESPONSE *resp); =head1 DESCRIPTION OCSP_response_status() returns the OCSP response status of B. It returns one of the values: B, B, B, B B, or B. OCSP_response_get1_basic() decodes and returns the B structure contained in B. OCSP_response_create() creates and returns an B structure for B and optionally including basic response B. OCSP_RESPONSE_free() frees up OCSP response B. =head1 RETURN VALUES OCSP_RESPONSE_status() returns a status value. OCSP_response_get1_basic() returns an B structure pointer or B if an error occurred. OCSP_response_create() returns an B structure pointer or B if an error occurred. OCSP_RESPONSE_free() does not return a value. =head1 NOTES OCSP_response_get1_basic() is only called if the status of a response is B. =head1 SEE ALSO L L L L L L =cut =head1 COPYRIGHT Copyright 2015-2016 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 L. =cut