zmqpp
4.1.2
C++ bindings for 0mq (libzmq)
src
zmqpp
curve.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*
6
* This file is part of zmqpp.
7
* Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
8
*/
9
17
#ifndef ZMQPP_CURVE_HPP_
18
#define ZMQPP_CURVE_HPP_
19
20
#include <string>
21
#include <zmq.h>
22
23
namespace
zmqpp
{
27
namespace
curve
28
{
29
33
struct
keypair
34
{
35
std::string
public_key
;
36
std::string
secret_key
;
37
};
38
39
#if (ZMQ_VERSION_MAJOR >= 4)
40
keypair
generate_keypair
();
41
#endif
42
43
} }
44
45
#endif
/* ZMQPP_CURVE_HPP_ */
zmqpp
C++ wrapper around zmq.
Definition:
actor.cpp:30
zmqpp::curve::keypair::secret_key
std::string secret_key
Definition:
curve.hpp:36
zmqpp::curve::keypair::public_key
std::string public_key
Definition:
curve.hpp:35
zmqpp::curve::generate_keypair
keypair generate_keypair()
Definition:
curve.cpp:27
zmqpp::curve::keypair
A pair of public and private key.
Definition:
curve.hpp:34
Generated on Thu Dec 24 2020 14:33:25 for zmqpp by
1.8.20