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