added create_certificate_iterator() method
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user