diff options
author | lloyd <[email protected]> | 2012-03-28 23:24:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-03-28 23:24:38 +0000 |
commit | 0da08c29d55ddea710767267af3ec690e91a77a6 (patch) | |
tree | edcf93c880c2f83fb91964f554637b77c94810f5 /src/cert/x509/x509_ca.cpp | |
parent | d4050e6b838acfd9552b4ab137fbf0717ff1e0ca (diff) |
Pass a class to the validation function that represents any
restrictions on the validation process. Currently these are if
revocation information (CRL or hypothetically OCSP) is required, and
what hashes to trust. Default trusted hashes are SHA-1 and SHA-2. This
will also be used for policy restrictions, likely other things.
The result enum is now a member of Path_Validation_Result
Remove the usage restrictions enum. It is easier, for applications
that actually care about one of these, to just check the extended
constraint attribute on the final result, if everything else
validates.
Diffstat (limited to 'src/cert/x509/x509_ca.cpp')
0 files changed, 0 insertions, 0 deletions