monotone

monotone Mtn Source Tree

Root/botan/pem.h

1/*************************************************
2* PEM Encoding/Decoding Header File *
3* (C) 1999-2006 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_PEM_H__
7#define BOTAN_PEM_H__
8
9#include <botan/data_src.h>
10
11namespace Botan {
12
13namespace PEM_Code {
14
15/*************************************************
16* PEM Encoding/Decoding *
17*************************************************/
18std::string encode(const byte[], u32bit, const std::string&);
19std::string encode(const MemoryRegion<byte>&, const std::string&);
20
21SecureVector<byte> decode(DataSource&, std::string&);
22SecureVector<byte> decode_check_label(DataSource&, const std::string&);
23bool matches(DataSource&, const std::string& = "");
24
25}
26
27}
28
29#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status