fixed typo
[strongswan.git] / src / libstrongswan / asn1 / pem.h
1 /*
2 * Copyright (C) 2001-2004 Andreas Steffen, Zuercher Hochschule Winterthur
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 */
14
15 #ifndef PEM_H_
16 #define PEM_H_
17
18 #include <stdio.h>
19
20 #include <library.h>
21
22 err_t pem_to_bin(chunk_t *blob, chunk_t *passphrase, bool *pgp);
23
24 bool pem_asn1_load_file(const char *filename, chunk_t *passphrase,
25 const char *type, chunk_t *blob, bool *pgp);
26
27 #endif /*PEM_H_*/