aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-10-28 13:14:42 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-10-28 13:14:42 +0000
commitede816a786789381f63d3af4581ecfd06be0775f (patch)
tree7a006c03da6bdc5d34979dc3432533467a051d37 /src
parentd267cca18f7d4147f507d7c456fcb2d0c128be2b (diff)
downloadstrongswan-ede816a786789381f63d3af4581ecfd06be0775f.tar.bz2
strongswan-ede816a786789381f63d3af4581ecfd06be0775f.tar.xz
cosmetics
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libstrongswan/crypto/x509.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libstrongswan/crypto/x509.h b/src/libstrongswan/crypto/x509.h
index 5799c4f59..5d0b2c905 100755
--- a/src/libstrongswan/crypto/x509.h
+++ b/src/libstrongswan/crypto/x509.h
@@ -61,7 +61,7 @@ struct x509_t {
* @param until time until public key is trusted
*/
void (*set_until) (x509_t *this, time_t until);
-
+
/**
* @brief Get trusted public key life.
*
@@ -69,7 +69,7 @@ struct x509_t {
* @return time until public key is trusted
*/
time_t (*get_until) (const x509_t *this);
-
+
/**
* @brief Set the certificate status
*
@@ -77,7 +77,7 @@ struct x509_t {
* @param status certificate status
*/
void (*set_status) (x509_t *this, cert_status_t status);
-
+
/**
* @brief Get the certificate status
*
@@ -85,7 +85,7 @@ struct x509_t {
* @return certificate status
*/
cert_status_t (*get_status) (const x509_t *this);
-
+
/**
* @brief Get the DER-encoded X.509 certificate body
*
@@ -111,13 +111,13 @@ struct x509_t {
chunk_t (*get_serialNumber) (const x509_t *this);
/**
- * @brief Get serial number from the certificate.
+ * @brief Get subjectKeyID from the certificate.
*
* @param this calling object
* @return subjectKeyID
*/
chunk_t (*get_subjectKeyID) (const x509_t *this);
-
+
/**
* @brief Get the certificate issuer's ID.
*
@@ -128,9 +128,9 @@ struct x509_t {
* @return issuers ID
*/
identification_t *(*get_issuer) (const x509_t *this);
-
+
/**
- * @brief Get the subjects ID.
+ * @brief Get the subjectDistinguisheName.
*
* The resulting ID is always a identification_t
* of type ID_DER_ASN1_DN.
@@ -139,7 +139,7 @@ struct x509_t {
* @return subjects ID
*/
identification_t *(*get_subject) (const x509_t *this);
-
+
/**
* @brief Check if a certificate is trustworthy
*
@@ -147,7 +147,7 @@ struct x509_t {
* @param signer signer's RSA public key
*/
bool (*verify) (const x509_t *this, const rsa_public_key_t *signer);
-
+
/**
* @brief Compare two certificates.
*
@@ -158,7 +158,7 @@ struct x509_t {
* @return TRUE if signature is equal
*/
bool (*equals) (const x509_t *this, const x509_t *that);
-
+
/**
* @brief Checks if the certificate contains a subjectAltName equal to id.
*
@@ -185,7 +185,7 @@ struct x509_t {
* @return NULL if the certificate is valid
*/
err_t (*is_valid) (const x509_t *this, time_t *until);
-
+
/**
* @brief Returns the CA basic constraints flag
*
@@ -193,7 +193,7 @@ struct x509_t {
* @return TRUE if the CA flag is set
*/
bool (*is_ca) (const x509_t *this);
-
+
/**
* @brief Checks if the certificate is self-signed (subject equals issuer)
*