aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/x509/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Drop rustc-serialize dependencySteven Fackler2016-11-091-2/+2
|
* 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
|
* De-enumify message digestsSteven Fackler2016-10-151-3/+3
|
* Add support for OpenSSL 1.1.0Alex Crichton2016-10-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is relatively major refactoring of the `openssl-sys` crate as well as the `openssl` crate itself. The end goal here was to support OpenSSL 1.1.0, and lots of other various tweaks happened along the way. The major new features are: * OpenSSL 1.1.0 is supported * OpenSSL 0.9.8 is no longer supported (aka all OSX users by default) * All FFI bindings are verified with the `ctest` crate (same way as the `libc` crate) * CI matrixes are vastly expanded to include 32/64 of all platforms, more OpenSSL version coverage, as well as ARM coverage on Linux * The `c_helpers` module is completely removed along with the `gcc` dependency. * The `openssl-sys` build script was completely rewritten * Now uses `OPENSSL_DIR` to find the installation, not include/lib env vars. * Better error messages for mismatched versions. * Better error messages for failing to find OpenSSL on a platform (more can be done here) * Probing of OpenSSL build-time configuration to inform the API of the `*-sys` crate. * Many Cargo features have been removed as they're now enabled by default. As this is a breaking change to both the `openssl` and `openssl-sys` crates this will necessitate a major version bump of both. There's still a few more API questions remaining but let's hash that out on a PR! Closes #452
* Add test for `"x509_validity"` featureDavid Weinstein2016-08-171-0/+12
|
* Start on PKCS #12 supportSteven Fackler2016-08-141-1/+1
|
* Move X509_get_extensions to openssl helpersSteven Fackler2016-08-091-0/+1
|
* Make c_helpers optionalSteven Fackler2016-08-091-2/+1
|
* Add PKey::from_rsaSteven Fackler2016-08-071-2/+1
|
* Remove X509Generator::bitlenthSteven Fackler2016-08-071-2/+1
|
* Restore disabled testsSteven Fackler2016-08-071-11/+16
|
* Add RSA::generateSteven Fackler2016-08-071-4/+6
|
* x509 cleanupSteven Fackler2016-08-071-1/+1
|
* PKey reformSteven Fackler2016-08-071-0/+2
| | | | | This deletes the vast majority of PKey's API, since it was weirdly tied to RSA and super broken.
* Restructure PEM input/output methodsSteven Fackler2016-08-021-40/+17
| | | | | Dealing with byte buffers directly avoids error handling weirdness and we were loading it all into memory before anyway.
* Implement save_der for X509 and X509ReqOnur Aslan2016-07-291-0/+13
|
* RustfmtSteven Fackler2016-05-161-6/+10
|
* Update certSteven Fackler2016-05-151-9/+5
| | | | Now with a 10 year expriation
* Document SAN APIs and tweak accessor namesSteven Fackler2016-05-011-6/+8
|
* Implement `iter` method on `GeneralNames`.Corey Farwell2016-05-011-0/+13
|
* Add accessors for x509 subject alt namesSteven Fackler2016-04-291-0/+12
|
* Rename Nid uid/UID to prevent breakageJoe Wilm2016-02-021-1/+1
|
* Fix Nid::UID valueJoe Wilm2016-02-021-0/+17
| | | | | Nid::UID (userId) previously held the value of Nid::uid (uniqueIdentifier).
* Preserve X.509 extension insertion order.Jimmy Cuadra2016-01-281-0/+24
| | | | | | | Ensures that extensions that are order-dependent are inserted in the same order when calling out to OpenSSL during certificate signing. Fixes #327.
* RustfmtSteven Fackler2015-12-151-18/+20
|
* Implement certificate extensions for certificate requestsJethro Beekman2015-07-081-5/+20
|
* Fix/add more X509generator testsJethro Beekman2015-07-081-1/+1
|
* Add Subject Alternate Name extensionJethro Beekman2015-07-011-1/+3
|
* Add arbitrary X509 extensions by OID stringJethro Beekman2015-07-011-3/+4
|
* Add arbitrary X509 extensions by NIDJethro Beekman2015-07-011-2/+3
|
* Add public generic extension interface to X509GeneratorJethro Beekman2015-07-011-4/+5
| | | | | | * Add add_extension and add_extensions functions * Deprecate set_usage and set_ext_usage * Change test to use add_extension
* Implement arbitrary X509 Extended Key Usage valuesJethro Beekman2015-07-011-2/+2
|
* Turn assertions into unwraps such that tests provide useful output on panic.Jethro Beekman2015-07-011-7/+3
|
* Add a test that checks whether 3 known subject attributes can be retrieved ↵Jethro Beekman2015-06-301-0/+29
| | | | by NID
* Test reading CN from test certificateJoseph Glanville2015-05-181-1/+19
|
* Write through to underlying stream for every write callSteven Fackler2015-04-301-1/+0
| | | | cc #208
* Add X509::public_key()Manuel Schölling2015-04-151-0/+3
|
* Fix deprecation warningsSteven Fackler2015-03-251-1/+1
|
* Convert to new IO.Steven Fackler2015-02-241-6/+6
|
* Move docs to this repo and auto buildSteven Fackler2015-02-071-0/+51