parse_authorityKeyIdentifier() is made available externally
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 12 Apr 2007 18:56:46 +0000 (18:56 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 12 Apr 2007 18:56:46 +0000 (18:56 -0000)
src/libstrongswan/crypto/x509.h

index fb9f5a9..851ae30 100755 (executable)
@@ -282,7 +282,7 @@ struct x509_t {
  * @param chunk        chunk containing DER encoded data
  * @return                     created x509_t certificate, or NULL if inv\ 1lid.
  * 
- * @ingroup transforms
+ * @ingroup crypto
  */
 x509_t *x509_create_from_chunk(chunk_t chunk, u_int level);
 
@@ -293,8 +293,20 @@ x509_t *x509_create_from_chunk(chunk_t chunk, u_int level);
  * @param label                label describing kind of certificate
  * @return                     created x509_t certificate, or NULL if invalid.
  * 
- * @ingroup transforms
+ * @ingroup crypto
  */
 x509_t *x509_create_from_file(const char *filename, const char *label);
 
+/**
+ * @brief Parses a DER encoded authorityKeyIdentifier
+ * 
+ * @param blob                                         blob containing DER encoded data
+ * @param level0                               indicates the current parsing level
+ * @param authKeyID                            assigns the authorityKeyIdentifier
+ * @param authKeySerialNumber  assigns the authKeySerialNumber
+ * 
+ * @ingroup crypto
+ */
+void parse_authorityKeyIdentifier(chunk_t blob, int level0, chunk_t *authKeyID, chunk_t *authKeySerialNumber);
+
 #endif /* X509_H_ */