diff options
author | lloyd <[email protected]> | 2011-04-08 14:35:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-04-08 14:35:28 +0000 |
commit | 438f3eb73e494fcab82b239452d712bec06f48c9 (patch) | |
tree | 97c0c0cc826715a73688d2788045c804b832f57f /doc/x509.txt | |
parent | 5c44330158b5cf9daaf43140c5cfd15f98c6f1e8 (diff) |
Pile more doc updates
Diffstat (limited to 'doc/x509.txt')
-rw-r--r-- | doc/x509.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/x509.txt b/doc/x509.txt index 027548b16..942d27f4c 100644 --- a/doc/x509.txt +++ b/doc/x509.txt @@ -187,11 +187,11 @@ Adding Certificates You can add new certificates to a certificate store using any of these functions: -.. cpp:function:: void add_cert(const X509_Certificate& cert, bool trusted = false) +.. cpp:function:: void X509_Store::add_cert(const X509_Certificate& cert, bool trusted = false) -.. cpp:function:: void add_cert(DataSource& source) +.. cpp:function:: void X509_Store::add_cert(DataSource& source) -.. cpp:function:: void add_trusted_certs(DataSource& source) +.. cpp:function:: void X509_Store::add_trusted_certs(DataSource& source) The versions that take a ``DataSource&`` will add all the certificates that it can find in that source. @@ -211,7 +211,7 @@ trusted. Adding CRLs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. cpp:function:: X509_Code add_crl(const X509_CRL& crl) +.. cpp:function:: X509_Code X509_Store::add_crl(const X509_CRL& crl) This will process the CRL and mark the revoked certificates. This will also work if a revoked certificate is added to the store sometime @@ -277,7 +277,7 @@ Verifying Certificates There is a single function in ``X509_Store`` related to verifying a certificate: -.. .cpp:function:: X509_Code validate_cert(const X509_Certificate& cert, Cert_Usage usage = ANY) +.. .cpp:function:: X509_Code X509_Store::validate_cert(const X509_Certificate& cert, Cert_Usage usage = ANY) This function will return ``VERIFIED`` if the certificate can safely be considered valid for the usage(s) described by ``usage``, |