summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_verify.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cache sha512 hash and parsed not_before and not_after with X509 cert.beck2021-11-041-1/+2
| | | | | | | | | | | Replace sha1 hash use with sha512 for certificate comparisons internal to the library. use the cached sha512 for the validator's verification cache. Reduces our recomputation of hashes, and heavy use of time1 time conversion functions noticed bu claudio@ in rpki client. ok jsing@ tb@
* Add new x509 certificate chain validator in x509_verify.cbeck2020-09-131-0/+42
The new validator finds multiple validated chains to handle the modern PKI cases which may frequently have multiple paths via different intermediates to different roots. It is loosely based on golang's x509 validator This includes integration so that the new validator can be used via X509_verify_cert() as well as a new api x509_verify() which will return multiple chains (similar to go). The new validator is not enabled by default with this commit, this will be changed in a follow on commit. The new public API is not yet exposed, and will be finalized and exposed with a man page and a library minor bump later. ok tb@ inoguchi@ jsing@