aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/x509/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename X509NameRef::all_entries and refactor end-of-iterator checksMarco Huenseler2018-06-031-1/+1
|
* Provide an Asn1Object getter method for X509NameEntryRefMarco Huenseler2018-06-031-0/+3
|
* Make X509NameRef provide an iterator over all X509NameEntriesMarco Huenseler2018-06-031-0/+21
|
* Rename X509Ref::fingerprint to X509Ref::digest and avoid allocatingSteven Fackler2018-05-241-4/+4
|
* Support min/max version in LibreSSLSteven Fackler2018-05-191-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 extensionsRené Richter2018-04-211-0/+4
| | | | This allows for basic CSR signing.
* Add Asn1IntegerRef::to_bnSteven Fackler2018-03-281-0/+1
| | | | Also deprecate Asn1IntegerRef since it's just asking for trouble.
* Tweak verify_cert's signatureSteven Fackler2018-03-111-10/+16
| | | | | 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 contextBastian Köcher2018-03-111-7/+3
| | | | | 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 functionBastian Köcher2018-03-101-3/+6
|
* Extends the test to verify the certificate two timesBastian Köcher2018-03-081-0/+2
|
* Fixes the implementation of `X509StoreContextRef::verify_cert`Bastian Köcher2018-03-071-3/+8
| | | | | | 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.
* cleanup and add negative testBenjamin Fry2018-03-071-1/+15
|
* add cleanup ffi to store contextBenjamin Fry2018-03-071-1/+1
|
* restructure to self contained functionBenjamin Fry2018-03-071-4/+1
|
* convert to raw pass-through methodsBenjamin Fry2018-03-071-2/+2
|
* fix error checkBenjamin Fry2018-03-071-3/+2
|
* properly version library functionsBenjamin Fry2018-03-071-0/+1
|
* Fix memory mgmtBenjamin Fry2018-03-071-1/+1
|
* add verify_cert and store_context_builderBenjamin Fry2018-03-071-0/+17
|
* add support for rfc822Name (email) and uniformResourceIdentifier (uri) to ↵Ian P. Cooke2018-01-151-3/+13
| | | | GeneralName
* Bump hex to 0.3Bastien Orivel2018-01-011-8/+6
| | | | | The `to_hex` method has been removed and `hex::encode` should be used instead.
* Parameterize keys over what they containSteven Fackler2017-12-301-2/+2
| | | | Closes #790
* Overhaul verify error typeSteven Fackler2017-12-261-3/+3
| | | | Also set the error in the hostname verification callback for 1.0.1
* Remove deprecated APIsSteven Fackler2017-12-251-124/+3
|
* Move to associated constsSteven Fackler2017-12-251-4/+4
|
* Upgrade bitflags to 1.0Steven Fackler2017-12-251-31/+30
| | | | Closes #756
* Fix X509::clone implSteven Fackler2017-07-191-0/+7
| | | | Closes #667
* RustfmtSteven Fackler2017-07-151-40/+109
|
* Merge remote-tracking branch 'origin/master' into x509-builderSteven Fackler2017-02-111-4/+73
|\
| * Merge branch 'master' into x509_req_version_subjectSteven Fackler2017-02-111-0/+18
| |\
| | * X509 signature algorithm accessSteven Fackler2017-02-101-0/+3
| | |
| | * X509 signature accessSteven Fackler2017-02-101-0/+15
| | |
| * | Added X509ReqRef.subject_name and X509ReqRef.versionmredlek2017-01-261-2/+7
| |/
| * Support EC_GROUP_set_asn1_flagSteven Fackler2017-01-221-0/+23
| | | | | | | | Closes #561
| * OCSP functionalitySteven Fackler2017-01-141-1/+12
| |
| * Add X509::stack_from_pemSteven Fackler2017-01-031-1/+13
| | | | | | | | Implementation is a clone of SSL_CTX_use_certificate_chain_file
| * Drop rustc-serialize dependencySteven Fackler2016-11-091-2/+2
| |
* | Add an X509ReqBuilderSteven Fackler2016-11-071-1/+29
| |
* | Add SubjectAlternativeNameSteven Fackler2016-11-061-1/+6
| |
* | More extension progressSteven Fackler2016-11-061-3/+20
| |
* | Start of extension supportSteven Fackler2016-11-061-11/+16
| |
* | Start on an X509BuilderSteven Fackler2016-11-061-1/+32
|/
* Replace GeneralNames by the new Stack APILionel Flandrin2016-11-011-3/+3
|
* Clean up x509 name entriesSteven Fackler2016-10-311-32/+16
|
* RustfmtSteven Fackler2016-10-301-4/+3
|
* Use constants rather than constructors for NidSteven Fackler2016-10-221-11/+11
|
* Camel case RsaSteven Fackler2016-10-221-2/+2
|
* De-enumify NidSteven Fackler2016-10-221-10/+10
|
* Flatten crypto moduleSteven Fackler2016-10-221-3/+3
|