- Added declaration of x509parse_public_key() and x509parse_public_keyfile() to
   the x509 header file

diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index c9648ba..e6d0c34 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -553,6 +553,30 @@
 
 /** \ingroup x509_module */
 /**
+ * \brief          Parse a public RSA key
+ *
+ * \param rsa      RSA context to be initialized
+ * \param key      input buffer
+ * \param keylen   size of the buffer
+ *
+ * \return         0 if successful, or a specific X509 or PEM error code
+ */
+int x509parse_public_key( rsa_context *rsa,
+                   const unsigned char *key, int keylen );
+
+/** \ingroup x509_module */
+/**
+ * \brief          Load and parse a public RSA key
+ *
+ * \param rsa      RSA context to be initialized
+ * \param path     filename to read the private key from
+ *
+ * \return         0 if successful, or a specific X509 or PEM error code
+ */
+int x509parse_public_keyfile( rsa_context *rsa, const char *path );
+
+/** \ingroup x509_module */
+/**
  * \brief          Parse DHM parameters
  *
  * \param dhm      DHM context to be initialized