added get_data() method

This commit is contained in:
Andreas Steffen
2007-10-11 14:38:46 +00:00
parent 04685885f5
commit a09bbc82ce
2 changed files with 18 additions and 1 deletions
+9 -1
View File
@@ -96,9 +96,17 @@ struct pkcs7_t {
*/
bool (*parse_envelopedData) (pkcs7_t *this, chunk_t serialNumber, rsa_private_key_t *key);
/**
* @brief Returns the parsed data object
*
* @param this calling object
* @return chunk containing the data object
*/
chunk_t (*get_data) (pkcs7_t *this);
/**
* @brief Destroys the contentInfo object.
*
*
* @param this PKCS#7 contentInfo object to destroy
*/
void (*destroy) (pkcs7_t *this);