Tor  0.4.4.0-alpha-dev
rend_authorized_client_st.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2020, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file rend_authorized_client_st.h
9  * @brief Hidden-service authorized client structure.
10  **/
11 
12 #ifndef REND_AUTHORIZED_CLIENT_ST_H
13 #define REND_AUTHORIZED_CLIENT_ST_H
14 
15 /** Hidden-service side configuration of client authorization. */
17  char *client_name;
18  uint8_t descriptor_cookie[REND_DESC_COOKIE_LEN];
19  crypto_pk_t *client_key;
20 };
21 
22 #endif /* !defined(REND_AUTHORIZED_CLIENT_ST_H) */
#define REND_DESC_COOKIE_LEN
Definition: or.h:366