support of setting and getting authority flags

This commit is contained in:
Andreas Steffen
2007-03-08 16:48:16 +00:00
parent 9149635ffa
commit 8d0cd21a01
2 changed files with 58 additions and 2 deletions
+25
View File
@@ -85,6 +85,31 @@ struct x509_t {
*/
cert_status_t (*get_status) (const x509_t *this);
/**
* @brief Add authority flags
*
* @param this calling object
* @param flag flags to be added
*/
void (*add_authority_flags) (x509_t *this, u_int flags);
/**
* @brief Get authority flags
*
* @param this calling object
* @return authority flags
*/
u_int (*get_authority_flags) (x509_t *this);
/**
* @brief Check a specific authority flag
*
* @param this calling object
* @param flag flag to be checked
* @return TRUE if flag is present
*/
bool (*has_authority_flag) (x509_t *this, u_int flag);
/**
* @brief Get the DER-encoded X.509 certificate body
*