zmqpp 4.1.2
C++ bindings for 0mq (libzmq)
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
23namespace zmqpp {
27namespace curve
28{
29
33struct keypair
34{
35 std::string public_key;
36 std::string secret_key;
37};
38
39#if (ZMQ_VERSION_MAJOR >= 4)
41#endif
42
43} }
44
45#endif /* ZMQPP_CURVE_HPP_ */
keypair generate_keypair()
Definition: curve.cpp:27
C++ wrapper around zmq.
Definition: actor.cpp:30
A pair of public and private key.
Definition: curve.hpp:34
std::string public_key
Definition: curve.hpp:35
std::string secret_key
Definition: curve.hpp:36