aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/asn1-pluto/pem.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-10 14:19:10 +0000
committerMartin Willi <martin@strongswan.org>2006-04-10 14:19:10 +0000
commitb5cb0210f7b4672cd1c9e51a5ae6943fcc25331f (patch)
tree8a18498b075917f81127416cd57659444d440476 /Source/lib/asn1-pluto/pem.h
parent5113680f95e522c677cdd37072cfffbdca06831e (diff)
downloadstrongswan-b5cb0210f7b4672cd1c9e51a5ae6943fcc25331f.tar.bz2
strongswan-b5cb0210f7b4672cd1c9e51a5ae6943fcc25331f.tar.xz
- startet importing pluto ASN1 stuff
- der PKCS#1 key loading works (as it did with der_decoder)
Diffstat (limited to 'Source/lib/asn1-pluto/pem.h')
-rwxr-xr-xSource/lib/asn1-pluto/pem.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/lib/asn1-pluto/pem.h b/Source/lib/asn1-pluto/pem.h
new file mode 100755
index 000000000..a4332fd34
--- /dev/null
+++ b/Source/lib/asn1-pluto/pem.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2006 Martin Willi
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+#ifndef PEM_H_
+#define PEM_H_
+
+#include <stdio.h>
+
+#include <types.h>
+
+status_t pemtobin(chunk_t *blob, char *pass);
+
+#endif /*PEM_H_*/