00001 /*00002 * PKCS #8 (Private-key information syntax)00003 * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>00004 *00005 * This program is free software; you can redistribute it and/or modify00006 * it under the terms of the GNU General Public License version 2 as00007 * published by the Free Software Foundation.00008 *00009 * Alternatively, this software may be distributed under the terms of BSD00010 * license.00011 *00012 * See README and COPYING for more details.00013 */00014
00015 #ifndef PKCS8_H00016 #define PKCS8_H00017
00018 struct crypto_private_key * pkcs8_key_import(constu8 *buf, size_t len);
00019 struct crypto_private_key *
00020 pkcs8_enc_key_import(constu8 *buf, size_t len, constchar *passwd);
00021
00022 #endif /* PKCS8_H */