File: ipcipher.hh

package info (click to toggle)
dnsdist 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,640 kB
  • sloc: cpp: 91,323; javascript: 24,456; sh: 4,744; python: 1,328; makefile: 832; ansic: 816
file content (13 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include "config.h"

#include "iputils.hh"
#include <string>

// see https://powerdns.org/ipcipher

#ifdef HAVE_IPCIPHER
ComboAddress encryptCA(const ComboAddress& address, const std::string& key);
ComboAddress decryptCA(const ComboAddress& address, const std::string& key);
std::string makeIPCipherKey(const std::string& password);
#endif /* HAVE_IPCIPHER */