| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Return `PKey<Private>` from `private_key_from_der` | Bastian Köcher | 2018-04-04 | 1 | -1/+1 |
| | | |||||
| * | Remove a last couple features | Steven Fackler | 2018-03-19 | 1 | -5/+3 |
| | | |||||
| * | Make it possible to use cmac | Flakebi | 2018-03-19 | 1 | -0/+62 |
| | | | | | | | | | This adds Signer::new_without_digest to create Signers which don't have a digest (like cmac, which is based on aes). As openssl supports cmac since version 1.1.0, the functions are behind the ossl110 feature. This allows building CMAC/OMAC1 and the EAX AEAD on top of this library. | ||||
| * | Rename Oid to Id | Steven Fackler | 2018-03-11 | 1 | -19/+19 |
| | | |||||
| * | Switches to new type wrapper for RsaPssSaltlen | Bastian Köcher | 2018-03-10 | 1 | -2/+1 |
| | | |||||
| * | Switches to newtype wrapper for Oid | Bastian Köcher | 2018-03-08 | 1 | -22/+27 |
| | | |||||
| * | Adds `PKeyRef::get_id` to get the OID of a key | Bastian Köcher | 2018-03-07 | 1 | -0/+33 |
| | | |||||
| * | Add HMAC to Pkey docs | Ansley Peduru | 2018-01-24 | 1 | -1/+3 |
| | | |||||
| * | Print the public key in PKey example | Ansley Peduru | 2018-01-23 | 1 | -1/+5 |
| | | |||||
| * | Fix import in pkey docs | Ansley Peduru | 2018-01-07 | 1 | -2/+2 |
| | | |||||
| * | Missing colon | Ansley Peduru | 2018-01-07 | 1 | -1/+1 |
| | | |||||
| * | Add Pkey docs | Ansley Peduru | 2018-01-07 | 1 | -0/+75 |
| | | |||||
| * | Rename key serialization/deserialization methods | Steven Fackler | 2018-01-06 | 1 | -11/+117 |
| | | | | | | | Also document their specific formats. Closes #502 | ||||
| * | Parameterize keys over what they contain | Steven Fackler | 2017-12-30 | 1 | -118/+90 |
| | | | | | Closes #790 | ||||
| * | Remove deprecated APIs | Steven Fackler | 2017-12-25 | 1 | -21/+2 |
| | | |||||
| * | Upgrade bitflags to 1.0 | Steven Fackler | 2017-12-25 | 1 | -12/+8 |
| | | | | | Closes #756 | ||||
| * | Added a macro that wraps foreign type, and impl Send and Sync for both, | Paul Florence | 2017-11-10 | 1 | -8/+2 |
| | | | | | | the borrowed type and the owned one. Replaced all invocation of `foreign_type` by `foreign_type_and_impl_send_sync`. | ||||
| * | Convert try! usage to ? | johnthagen | 2017-10-03 | 1 | -35/+35 |
| | | |||||
| * | Rustfmt | Steven Fackler | 2017-07-15 | 1 | -38/+82 |
| | | |||||
| * | Add PKey::private_key_from_der | Steven Fackler | 2017-06-23 | 1 | -0/+7 |
| | | |||||
| * | Support public key decode from DER | Steven Fackler | 2017-05-06 | 1 | -0/+7 |
| | | | | | Closes #629 | ||||
| * | Add new EC/PKEY methods to permit deriving shared secrets. | Andrew Osmond | 2017-04-10 | 1 | -7/+58 |
| | | |||||
| * | Support PKCS#8 private key deserialization | Steven Fackler | 2017-02-14 | 1 | -1/+62 |
| | | | | | Closes #581 | ||||
| * | Switch to foreign_types | Steven Fackler | 2017-02-03 | 1 | -4/+10 |
| | | |||||
| * | Fixed constant names from openssl/rsa.h | Brian Chin | 2017-01-31 | 1 | -1/+1 |
| | | | | | | | Fixed PKeyCtxRef method that didn't need to be mutable. Added non-mutable accessors for PKeyCtxRef for Signer and Verifier. | ||||
| * | Adding suggestions from review. | Brian Chin | 2017-01-30 | 1 | -1/+18 |
| | | |||||
| * | Testing first version that works with signer. | Brian Chin | 2017-01-30 | 1 | -0/+6 |
| | | |||||
| * | Tweak layout a little bit | Steven Fackler | 2017-01-03 | 1 | -1/+3 |
| | | |||||
| * | Pointer from PKey docs to sign module. | Philipp Keck | 2017-01-03 | 1 | -0/+1 |
| | | | | | | | | Could even add a link, but I don't know how. Someone who wants to use OpenSSL to compute an HMAC won't find a "hmac" module and won't find HMACs in the "hash" module. Unless the person knows that HMACs are used to "sign" messages (the usual term in this context would be "authenticate"), they will probably use the search function and look for "hmac", then they'll find this method. So it's helpful to include a pointer to the right API to use. Without such a pointer, the API user is left with a seemingly useless Pkey instance. Similar pointers could be helpful from the other creator methods in this file. And/or from the top-level documentation or the hash documentation towards the sign module. Another idea would be a trivial `hmac` module with a few helper functions that internally just use Pkey. If many users who just want a simple HMAC value can use that API, there are fewer dependencies on `Pkey` and `sign`, which is probably a good thing. | ||||
| * | Rename ec_key to ec | Steven Fackler | 2016-11-14 | 1 | -2/+2 |
| | | |||||
| * | Rename new_by_curve_name to from_curve_name | Steven Fackler | 2016-11-13 | 1 | -1/+1 |
| | | |||||
| * | Remove some stray manual impls | Steven Fackler | 2016-11-13 | 1 | -10/+2 |
| | | |||||
| * | Macroise from_pem | Steven Fackler | 2016-11-13 | 1 | -13/+1 |
| | | |||||
| * | Macroise to_der | Steven Fackler | 2016-11-13 | 1 | -18/+3 |
| | | |||||
| * | Support serialization of encrypted private keys | Steven Fackler | 2016-11-13 | 1 | -1/+11 |
| | | | | | | Switch to PEM_write_bio_PKCS8PrivateKey since the other function outputs nonstandard PEM when encrypting. | ||||
| * | Macro-implement private_key_to_pem | Steven Fackler | 2016-11-13 | 1 | -16/+1 |
| | | |||||
| * | Some serialization support for EcKey | Steven Fackler | 2016-11-13 | 1 | -19/+4 |
| | | |||||
| * | Drop bits to u32 | Steven Fackler | 2016-11-12 | 1 | -2/+2 |
| | | |||||
| * | Add PKey::bits | Steven Fackler | 2016-11-12 | 1 | -0/+9 |
| | | |||||
| * | Consistently support both PEM and DER encodings | Steven Fackler | 2016-11-11 | 1 | -5/+14 |
| | | | | | Closes #500 | ||||
| * | Add EcKey <-> PKey conversions | Steven Fackler | 2016-11-11 | 1 | -1/+31 |
| | | | | | Closes #499 | ||||
| * | PKey <-> DH conversions | Steven Fackler | 2016-11-11 | 1 | -4/+34 |
| | | | | | Closes #498 | ||||
| * | Add PKey::dsa | Steven Fackler | 2016-11-11 | 1 | -5/+33 |
| | | | | | Closes #501 | ||||
| * | Remove set_rsa | Steven Fackler | 2016-11-05 | 1 | -11/+1 |
| | | | | | PKey is reference counted so allowing mutation is unsound | ||||
| * | Get rid of Ref | Steven Fackler | 2016-11-04 | 1 | -6/+6 |
| | | | | | | There's unfortunately a rustdoc bug that causes all methods implemented for any Ref<T> to be inlined in the deref methods section :( | ||||
| * | Add method to encode a public key as a DER blob | Lionel Flandrin | 2016-11-01 | 1 | -1/+10 |
| | | |||||
| * | Update Rsa | Steven Fackler | 2016-10-31 | 1 | -2/+2 |
| | | |||||
| * | Update PKey | Steven Fackler | 2016-10-31 | 1 | -37/+4 |
| | | |||||
| * | Add RsaRef | Steven Fackler | 2016-10-30 | 1 | -2/+2 |
| | | |||||
| * | Rustfmt | Steven Fackler | 2016-10-30 | 1 | -3/+1 |
| | | |||||