aboutsummaryrefslogtreecommitdiffstats
path: root/include/openpgp.h
blob: 43adc69b0002bd95532ba4a0cf67b8f122f00cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*************************************************
* OpenPGP Header File                            *
* (C) 1999-2006 The Botan Project                *
*************************************************/

#ifndef BOTAN_OPENPGP_H__
#define BOTAN_OPENPGP_H__

#include <botan/data_src.h>
#include <string>
#include <map>

namespace Botan {

namespace OpenPGP {

/*************************************************
* OpenPGP Base64 encoding/decoding               *
*************************************************/
std::string encode(const byte[], u32bit, const std::string&,
                   const std::map<std::string, std::string>&);
SecureVector<byte> decode(DataSource&, std::string&,
                          std::map<std::string, std::string>&);

std::string encode(const byte[], u32bit, const std::string&);
SecureVector<byte> decode(DataSource&, std::string&);

}

}

#endif