added create_certificate_iterator() method

This commit is contained in:
Andreas Steffen
2007-10-12 21:57:20 +00:00
parent 92a0b9d5ec
commit 0fa2c4fada
2 changed files with 20 additions and 5 deletions
+10 -4
View File
@@ -32,12 +32,10 @@ typedef struct pkcs7_t pkcs7_t;
#include <library.h>
#include <crypto/x509.h>
#include <crypto/rsa/rsa_private_key.h>
/* Access structure for a PKCS#7 ContentInfo object */
#include <utils/iterator.h>
/**
* @brief PKCS#7 ContentInfo object.
* @brief PKCS#7 contentInfo object.
*
* @b Constructors:
* -pkcs7_create_from_chunk()
@@ -104,6 +102,14 @@ struct pkcs7_t {
*/
chunk_t (*get_data) (pkcs7_t *this);
/**
* @brief Create an iterator for the certificates.
*
* @param this calling object
* @return iterator for the certificates
*/
iterator_t *(*create_certificate_iterator) (pkcs7_t *this);
/**
* @brief Destroys the contentInfo object.
*