updated x509/CRL/AC API to align with public key, authKeyIdentifier is a chunk
This commit is contained in:
@@ -55,21 +55,21 @@ struct ac_t {
|
|||||||
* @return chunk pointing to serialNumber
|
* @return chunk pointing to serialNumber
|
||||||
*/
|
*/
|
||||||
chunk_t (*get_holderSerial)(ac_t *this);
|
chunk_t (*get_holderSerial)(ac_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the issuer of the holder certificate.
|
* Get the issuer of the holder certificate.
|
||||||
*
|
*
|
||||||
* @return holderIssuer as identification_t*
|
* @return holderIssuer as identification_t*
|
||||||
*/
|
*/
|
||||||
identification_t* (*get_holderIssuer)(ac_t *this);
|
identification_t* (*get_holderIssuer)(ac_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the thauthorityKeyIdentifier.
|
* Get the thauthorityKeyIdentifier.
|
||||||
*
|
*
|
||||||
* @return authKeyIdentifier as identification_t*
|
* @return authKeyIdentifier as chunk_t, to internal data
|
||||||
*/
|
*/
|
||||||
identification_t* (*get_authKeyIdentifier)(ac_t *this);
|
chunk_t (*get_authKeyIdentifier)(ac_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Checks if two attribute certificates belong to the same holder
|
* @brief Checks if two attribute certificates belong to the same holder
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -67,9 +67,9 @@ struct crl_t {
|
|||||||
/**
|
/**
|
||||||
* Get the the authorityKeyIdentifier.
|
* Get the the authorityKeyIdentifier.
|
||||||
*
|
*
|
||||||
* @return authKeyIdentifier as identification_t*
|
* @return authKeyIdentifier chunk, point to internal data
|
||||||
*/
|
*/
|
||||||
identification_t* (*get_authKeyIdentifier)(crl_t *this);
|
chunk_t (*get_authKeyIdentifier)(crl_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an enumerator over all revoked certificates.
|
* Create an enumerator over all revoked certificates.
|
||||||
|
|||||||
@@ -76,9 +76,9 @@ struct x509_t {
|
|||||||
/**
|
/**
|
||||||
* Get the the authorityKeyIdentifier.
|
* Get the the authorityKeyIdentifier.
|
||||||
*
|
*
|
||||||
* @return authKeyIdentifier as identification_t*
|
* @return authKeyIdentifier as chunk_t, internal data
|
||||||
*/
|
*/
|
||||||
identification_t* (*get_authKeyIdentifier)(x509_t *this);
|
chunk_t (*get_authKeyIdentifier)(x509_t *this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an enumerator over all subjectAltNames.
|
* Create an enumerator over all subjectAltNames.
|
||||||
|
|||||||
Reference in New Issue
Block a user