Add an enumerator for PKCS#7 contained certificates

This commit is contained in:
Martin Willi
2012-12-19 10:32:08 +01:00
parent 9afbe59953
commit 9e967d7dda
4 changed files with 17 additions and 0 deletions
@@ -48,6 +48,13 @@ struct pkcs7_t {
*/
bool (*get_attribute)(pkcs7_t *this, int oid, enumerator_t *enumerator,
chunk_t *value);
/**
* Create an enumerator over attached certificates.
*
* @return enumerator over certificate_t
*/
enumerator_t* (*create_cert_enumerator)(pkcs7_t *this);
};
#endif /** PKCS7_H_ @}*/