Tor
0.4.6.0-alpha-dev
feature
rend
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. */
16
struct
rend_authorized_client_t
{
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) */
REND_DESC_COOKIE_LEN
#define REND_DESC_COOKIE_LEN
Definition:
or.h:367
crypto_pk_t
Definition:
crypto_rsa_nss.c:37
rend_authorized_client_t
Definition:
rend_authorized_client_st.h:16
Generated by
1.8.20