]> git.ipfire.org Git - thirdparty/pdns.git/blame - pdns/ipcipher.hh
pkcs11signers: Use emplace_back for attributes
[thirdparty/pdns.git] / pdns / ipcipher.hh
CommitLineData
7d280342 1#pragma once
e41aadeb
RG
2#include "config.h"
3
7d280342 4#include "iputils.hh"
5#include <string>
6
5d5d8c2e 7// see https://powerdns.org/ipcipher
8
e41aadeb 9#ifdef HAVE_IPCIPHER
ee598772
FM
10ComboAddress encryptCA(const ComboAddress& address, const std::string& key);
11ComboAddress decryptCA(const ComboAddress& address, const std::string& key);
5d5d8c2e 12std::string makeIPCipherKey(const std::string& password);
e41aadeb 13#endif /* HAVE_IPCIPHER */