diff options
author | lloyd <[email protected]> | 2012-07-27 17:30:13 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-27 17:30:13 +0000 |
commit | 4d0008edca9d3c0a119518e7d9b49c81d7dbe33c (patch) | |
tree | c359b14f9f0a0a495fea6eb241cb082fd0dc0717 /doc/x509.rst | |
parent | 16ccb3c130ad29aee2e640d498606314ac486f55 (diff) |
Add Public_Key::estimated_strength which gives an approximation of how
hard that key is to break.
Use it in cert path validation, rejecting keys with estimated strength
less than 80 bits.
Diffstat (limited to 'doc/x509.rst')
-rw-r--r-- | doc/x509.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/x509.rst b/doc/x509.rst index c7f871898..be93c604c 100644 --- a/doc/x509.rst +++ b/doc/x509.rst @@ -219,6 +219,22 @@ The process of validating a certfificate chain up to a trusted root is called `path validation`, and in botan that operation is handled by a set of functions in ``x509path.h`` named ``x509_path_validate``. +.. cpp:class:: Path_Validation_Result + + Specifies the result of the validation + +.. cpp:class:: Path_Validation_Restrictions + + Specifies restrictions on the validation operation + +.. cpp:function:: Path_Validation_Result \ + x509_path_validate(const X509_Certificate& end_cert, \ + const Path_Validation_Restrictions& restrictions, \ + const Certificate_Store& store) + + Validates a path + + Certificate Authorities --------------------------------- |