added display of holderIssuer, holderSerial, and authorityKeyIdentifier

This commit is contained in:
Andreas Steffen
2008-05-23 14:24:24 +00:00
parent 8cc16c9d9e
commit 0672aa7b0e
3 changed files with 95 additions and 4 deletions
@@ -44,6 +44,34 @@ struct ac_t {
*/
certificate_t certificate;
/**
* Get the attribute certificate's serial number.
*
* @return chunk pointing to serialNumber
*/
chunk_t (*get_serial)(ac_t *this);
/**
* Get the serial number of the holder certificate.
*
* @return chunk pointing to serialNumber
*/
chunk_t (*get_holderSerial)(ac_t *this);
/**
* Get the issuer of the holder certificate.
*
* @return holderIssuer as identification_t*
*/
identification_t* (*get_holderIssuer)(ac_t *this);
/**
* Get the thauthorityKeyIdentifier.
*
* @return authKeyIdentifier as identification_t*
*/
identification_t* (*get_authKeyIdentifier)(ac_t *this);
/**
* @brief Checks if two attribute certificates belong to the same holder
*