| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #937 from marcoh00/iterable-x509names | Steven Fackler | 2018-07-07 | 2 | -7/+64 |
| |\ | | | | | X509NameRef: Provide an iterator over all entries | ||||
| | * | Only grab the name entry count when needed | Steven Fackler | 2018-06-26 | 1 | -3/+1 |
| | | | |||||
| | * | Rename X509NameRef::all_entries and refactor end-of-iterator checks | Marco Huenseler | 2018-06-03 | 2 | -6/+8 |
| | | | |||||
| | * | Provide an Asn1Object getter method for X509NameEntryRef | Marco Huenseler | 2018-06-03 | 2 | -0/+16 |
| | | | |||||
| | * | Make X509NameRef provide an iterator over all X509NameEntries | Marco Huenseler | 2018-06-03 | 2 | -5/+46 |
| | | | |||||
| * | | Switch to accessors in libressl where possible | Steven Fackler | 2018-06-09 | 1 | -24/+28 |
| |/ | | | | | | | Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909 | ||||
| * | Add SslRef::verified_chain | Steven Fackler | 2018-05-29 | 1 | -6/+4 |
| | | |||||
| * | Rename X509Ref::fingerprint to X509Ref::digest and avoid allocating | Steven Fackler | 2018-05-24 | 2 | -13/+25 |
| | | |||||
| * | Overhaul openssl cfgs | Steven Fackler | 2018-05-20 | 2 | -84/+84 |
| | | | | | Also expose hostname verification on libressl | ||||
| * | Support min/max version in LibreSSL | Steven Fackler | 2018-05-19 | 1 | -5/+8 |
| | | | | | | Their implementations of the accessors don't behave expected with no bounds, so we ignore those bits of the tests. | ||||
| * | Add functions to X509Req to obtain public key and extensions | René Richter | 2018-04-21 | 2 | -0/+26 |
| | | | | | This allows for basic CSR signing. | ||||
| * | Fix a flag name | Steven Fackler | 2018-03-29 | 1 | -3/+5 |
| | | |||||
| * | Clean up a couple of holdovers from old features | Steven Fackler | 2018-03-29 | 1 | -4/+85 |
| | | |||||
| * | Add Asn1IntegerRef::to_bn | Steven Fackler | 2018-03-28 | 1 | -0/+1 |
| | | | | | Also deprecate Asn1IntegerRef since it's just asking for trouble. | ||||
| * | Add X509Ref::serial_number | Steven Fackler | 2018-03-28 | 1 | -0/+13 |
| | | |||||
| * | Remove version-specific features | Steven Fackler | 2018-03-19 | 1 | -2/+1 |
| | | | | | Closes #852 | ||||
| * | Tweak verify_cert's signature | Steven Fackler | 2018-03-11 | 2 | -36/+40 |
| | | | | | | The call can fail either due to an invalid cert or an internal error, and we should distinguish between the two. | ||||
| * | Changes `init` to take a closure which is called with the initialized context | Bastian Köcher | 2018-03-11 | 2 | -14/+28 |
| | | | | | | After calling the closure, we automatically cleanup the context. This is required, because otherwise we could have dangling references in the context. | ||||
| * | Moves store context init into its own function | Bastian Köcher | 2018-03-10 | 2 | -13/+24 |
| | | |||||
| * | Extends the test to verify the certificate two times | Bastian Köcher | 2018-03-08 | 1 | -0/+2 |
| | | |||||
| * | Moves `cleanup` into its own function | Bastian Köcher | 2018-03-08 | 1 | -5/+14 |
| | | |||||
| * | Fixes the implementation of `X509StoreContextRef::verify_cert` | Bastian Köcher | 2018-03-07 | 2 | -34/+38 |
| | | | | | | | The certificate, the store and the certificates chain does not need to be consumed by `verify_cert` and instead are taken as references. We also call `X509_STORE_CTX_cleanup`, after the verification succeeded. | ||||
| * | delay return until after forgets | Benjamin Fry | 2018-03-07 | 1 | -2/+4 |
| | | |||||
| * | cleanup and add negative test | Benjamin Fry | 2018-03-07 | 2 | -6/+23 |
| | | |||||
| * | add cleanup ffi to store context | Benjamin Fry | 2018-03-07 | 2 | -3/+7 |
| | | |||||
| * | restructure to self contained function | Benjamin Fry | 2018-03-07 | 2 | -8/+12 |
| | | |||||
| * | Little tweaks | Steven Fackler | 2018-03-07 | 1 | -4/+4 |
| | | |||||
| * | convert to raw pass-through methods | Benjamin Fry | 2018-03-07 | 2 | -7/+23 |
| | | |||||
| * | add comment about consuming self in verify_cert | Benjamin Fry | 2018-03-07 | 1 | -0/+3 |
| | | |||||
| * | fix error check | Benjamin Fry | 2018-03-07 | 2 | -5/+4 |
| | | |||||
| * | properly version library functions | Benjamin Fry | 2018-03-07 | 2 | -0/+8 |
| | | |||||
| * | Fix memory mgmt | Benjamin Fry | 2018-03-07 | 1 | -1/+1 |
| | | |||||
| * | add verify_cert and store_context_builder | Benjamin Fry | 2018-03-07 | 1 | -0/+17 |
| | | |||||
| * | Remove the x509 module-level example | Steven Fackler | 2018-03-05 | 1 | -33/+0 |
| | | | | | | | | | | | | | The example generated a bogus certificate that was missing a serial number, a validity range, etc. Generating a correct x509 certificate is complex enough that doing it correctly is too long to be a reasonable doc example. There's already a more complete example in the examples directory that handles things more correctly. Closes #859 | ||||
| * | Tweak features | Steven Fackler | 2018-02-14 | 1 | -2/+2 |
| | | | | | We should keep the version features totally separate for now. | ||||
| * | OpenSSL 1.1.1 support | Steven Fackler | 2018-02-13 | 1 | -1/+1 |
| | | |||||
| * | Don't leak X509s | Steven Fackler | 2018-02-12 | 1 | -5/+4 |
| | | |||||
| * | add support for rfc822Name (email) and uniformResourceIdentifier (uri) to ↵ | Ian P. Cooke | 2018-01-15 | 2 | -7/+32 |
| | | | | | GeneralName | ||||
| * | Rename key serialization/deserialization methods | Steven Fackler | 2018-01-06 | 1 | -25/+92 |
| | | | | | | | Also document their specific formats. Closes #502 | ||||
| * | Fix links in x509 module | Ansley Peduru | 2018-01-01 | 1 | -2/+4 |
| | | |||||
| * | Merge branch 'master' into x509-docs | Ansley Peduru | 2018-01-01 | 2 | -25/+6 |
| |\ | |||||
| | * | Move X509Filetype to SslFiletype | Steven Fackler | 2018-01-01 | 1 | -12/+0 |
| | | | | | | | | | | | | | These constants have the same values, but X509_FILETYPE_DEFAULT doesn't work in the Ssl methods and using the SSL_* names is a bit less confusing. | ||||
| | * | Bump hex to 0.3 | Bastien Orivel | 2018-01-01 | 1 | -8/+6 |
| | | | | | | | | | | | The `to_hex` method has been removed and `hex::encode` should be used instead. | ||||
| * | | Fix x509 doc examples | Ansley Peduru | 2018-01-01 | 2 | -12/+44 |
| | | | |||||
| * | | Add documentation for x509 module | Ansley Peduru | 2017-12-31 | 3 | -3/+265 |
| |/ | |||||
| * | Parameterize keys over what they contain | Steven Fackler | 2017-12-30 | 2 | -8/+20 |
| | | | | | Closes #790 | ||||
| * | Add issuer name access. | Steven Fackler | 2017-12-29 | 1 | -3/+47 |
| | | | | | Closes #808 | ||||
| * | Split X509StoreContextRef::ssl up | Steven Fackler | 2017-12-26 | 1 | -15/+22 |
| | | |||||
| * | Overhaul verify error type | Steven Fackler | 2017-12-26 | 2 | -28/+30 |
| | | | | | Also set the error in the hostname verification callback for 1.0.1 | ||||
| * | Remove deprecated APIs | Steven Fackler | 2017-12-25 | 3 | -632/+5 |
| | | |||||