1 /* 2 * Copyright (C) 2012 Free Software Foundation, Inc. 3 * 4 * Author: Simon Josefsson 5 * 6 * This file is part of GnuTLS. 7 * 8 * The GnuTLS is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public License 10 * as published by the Free Software Foundation; either version 2.1 of 11 * the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with this program. If not, see <https://www.gnu.org/licenses/> 20 * 21 */ 22 23 #ifndef GNUTLS_LIB_EXT_STATUS_REQUEST_H 24 #define GNUTLS_LIB_EXT_STATUS_REQUEST_H 25 26 #include <hello_ext.h> 27 28 #define STATUS_REQUEST_TLS_ID 5 29 30 extern const hello_ext_entry_st ext_mod_status_request; 31 32 int 33 _gnutls_send_server_certificate_status(gnutls_session_t session, 34 int again); 35 int _gnutls_recv_server_certificate_status(gnutls_session_t session); 36 37 int _gnutls_parse_ocsp_response(gnutls_session_t session, const uint8_t *data, 38 ssize_t data_size, 39 gnutls_datum_t *resp); 40 41 #endif /* GNUTLS_LIB_EXT_STATUS_REQUEST_H */ 42