diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-24 14:10:26 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-26 11:23:52 +0200 |
commit | a5e3153a36524c1689573cd04adc2125f879412f (patch) | |
tree | 1dce56bb49c8be4802c36a014bb63c385019fd77 /src | |
parent | e35c3e2a032975d1accf04376d880127f7743889 (diff) | |
download | strongswan-a5e3153a36524c1689573cd04adc2125f879412f.tar.bz2 strongswan-a5e3153a36524c1689573cd04adc2125f879412f.tar.xz |
updated x509/CRL/AC API to align with public key, authKeyIdentifier is a chunk
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/credentials/certificates/ac.h | 10 | ||||
-rw-r--r-- | src/libstrongswan/credentials/certificates/crl.h | 4 | ||||
-rw-r--r-- | src/libstrongswan/credentials/certificates/x509.h | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/libstrongswan/credentials/certificates/ac.h b/src/libstrongswan/credentials/certificates/ac.h index fb99b4756..e617d56b0 100644 --- a/src/libstrongswan/credentials/certificates/ac.h +++ b/src/libstrongswan/credentials/certificates/ac.h @@ -55,21 +55,21 @@ struct ac_t { * @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* + * @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 * diff --git a/src/libstrongswan/credentials/certificates/crl.h b/src/libstrongswan/credentials/certificates/crl.h index 3fef0d710..44390c524 100644 --- a/src/libstrongswan/credentials/certificates/crl.h +++ b/src/libstrongswan/credentials/certificates/crl.h @@ -67,9 +67,9 @@ struct crl_t { /** * 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. diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h index eedab78f7..0e63d357f 100644 --- a/src/libstrongswan/credentials/certificates/x509.h +++ b/src/libstrongswan/credentials/certificates/x509.h @@ -76,9 +76,9 @@ struct x509_t { /** * 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. |