| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Add PKeyRef | Steven Fackler | 2016-10-29 | 1 | -44/+65 |
| | | |||||
| * | Camel case Rsa | Steven Fackler | 2016-10-22 | 1 | -5/+5 |
| | | |||||
| * | Camel case Dsa | Steven Fackler | 2016-10-22 | 1 | -2/+2 |
| | | |||||
| * | Flatten crypto module | Steven Fackler | 2016-10-22 | 1 | -0/+193 |