rend_authorized_client_st.h 527 B

123456789101112131415161718
  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-2018, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. #ifndef REND_AUTHORIZED_CLIENT_ST_H
  7. #define REND_AUTHORIZED_CLIENT_ST_H
  8. /** Hidden-service side configuration of client authorization. */
  9. struct rend_authorized_client_t {
  10. char *client_name;
  11. uint8_t descriptor_cookie[REND_DESC_COOKIE_LEN];
  12. crypto_pk_t *client_key;
  13. };
  14. #endif