2 * Copyright (C) 2001-2004 Andreas Steffen, Zuercher Hochschule Winterthur
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>.
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
22 err_t
pem_to_bin(chunk_t
*blob
, char *passphrase
, bool *pgp
);
24 bool pem_asn1_load_file(const char *filename
, char *passphrase
,
25 const char *type
, chunk_t
*blob
, bool *pgp
);