Steven Fackler
|
f401ba2ec1
|
Run clippy
|
2020-05-24 16:31:04 -07:00 |
Steven Fackler
|
7eee39f1ec
|
Rustfmt
|
2019-02-22 10:14:15 -07:00 |
Steven Fackler
|
3a170b655b
|
Make Rsa::generate delegate to Rsa::generate_with_e
|
2019-01-30 09:16:12 -08:00 |
Zolmeister
|
dd140f5167
|
add Rsa::generate_with_e(bits: u32, e: BigNum)
|
2019-01-29 12:00:47 -06:00 |
Zolmeister
|
e56e09b6a4
|
Add RsaRef::check_key
|
2019-01-18 21:03:04 -06:00 |
李伟
|
348cb7391b
|
Fix typo
Fix typo in docs for openssl::rsa::Rsa::from_private_components
|
2018-09-13 12:39:57 -10:00 |
Steven Fackler
|
ea18d84de3
|
clean up example
|
2018-09-02 14:51:08 -07:00 |
Steven Fackler
|
947dfbd143
|
Small cleanup
Closes #981
|
2018-09-02 14:26:27 -07:00 |
Steven Fackler
|
115cb730b0
|
Switch to accessors in libressl where possible
Some accessors are mysteriously still macros so we can't make everything
opaque yet, unfortunately.
cc #909
|
2018-06-09 21:49:36 -07:00 |
Steven Fackler
|
a6fcef01c0
|
Overhaul openssl cfgs
Also expose hostname verification on libressl
|
2018-05-20 12:33:02 -07:00 |
Steven Fackler
|
d991566f2b
|
Support min/max version in LibreSSL
Their implementations of the accessors don't behave expected with no
bounds, so we ignore those bits of the tests.
|
2018-05-19 19:57:12 -07:00 |
Steven Fackler
|
b1e5c8b1ed
|
Implement Clone for Rsa
Closes #917
|
2018-05-12 16:34:47 -07:00 |
Steven Fackler
|
24ece94e99
|
Remove Rsa::build
It could be a bit confusing since it only works for private keys.
|
2018-04-25 19:55:35 -07:00 |
Edouard Oger
|
9a83e3350b
|
Add RsaPrivateKeyBuilder
Fixes #837
|
2018-04-25 11:18:57 -04:00 |
Bastian Köcher
|
84a5ce7607
|
Adds RSA PKCS1 PSS padding
|
2018-03-07 20:43:12 +01:00 |
Ole Herman Schumacher Elgesem
|
eb24a2157a
|
More tests for pem_pkcs1 methods
Signed-off-by: Ole Herman Schumacher Elgesem <oleherman93@gmail.com>
|
2018-02-15 03:02:58 +01:00 |
Ole Herman Schumacher Elgesem
|
041d473c0a
|
Added binding for PEM_read_bio_RSAPublicKey
Signed-off-by: Ole Herman Schumacher Elgesem <oleherman93@gmail.com>
|
2018-02-14 02:08:01 +01:00 |
Ansley Peduru
|
a686ed7891
|
Use Padding constant in RSA docs example
|
2018-02-10 23:36:05 -05:00 |
Ansley Peduru
|
c9fed802b3
|
Add RSA docs
|
2018-01-25 14:46:45 -05:00 |
Steven Fackler
|
91e120ca95
|
Rename and document RSA accessors
|
2018-01-06 17:44:24 -08:00 |
Steven Fackler
|
3c19702299
|
Rename key serialization/deserialization methods
Also document their specific formats.
Closes #502
|
2018-01-06 13:27:44 -08:00 |
Steven Fackler
|
d207897458
|
Parameterize keys over what they contain
Closes #790
|
2017-12-30 21:53:39 -08:00 |
Steven Fackler
|
2adf2cf12b
|
Remove deprecated APIs
|
2017-12-25 22:09:27 -07:00 |
Steven Fackler
|
3744e31e16
|
Fix a bunch of FIXMEs
|
2017-12-25 21:44:41 -07:00 |
Steven Fackler
|
3eab162dc2
|
Move to associated consts
|
2017-12-25 19:56:27 -07:00 |
pe@pijul.org
|
fccb2eab4e
|
Adding dp(), dq() and qi() methods to RSA, to get the CRT parameters back
|
2017-12-02 12:30:50 +01:00 |
Paul Florence
|
0bae121e12
|
Added a macro that wraps foreign type, and impl Send and Sync for both,
the borrowed type and the owned one.
Replaced all invocation of `foreign_type` by `foreign_type_and_impl_send_sync`.
|
2017-11-10 10:05:52 -05:00 |
johnthagen
|
b5bb8de4f2
|
Convert try! usage to ?
|
2017-10-03 17:44:02 -04:00 |
Steven Fackler
|
bcd0dcafcb
|
Rustfmt
|
2017-07-15 21:46:11 -07:00 |
Steven Fackler
|
51a226eb4b
|
Support PKCS#1 RSA public keys
Closes #656
|
2017-07-04 20:57:00 -07:00 |
Hasan
|
d7135c88ac
|
Fix documentation typo
|
2017-06-10 18:40:57 -04:00 |
Steven Fackler
|
12ae31ad47
|
Switch to foreign_types
|
2017-02-03 23:03:35 -08:00 |
Brian Chin
|
302ee77d32
|
Adding suggestions from review.
|
2017-01-30 16:51:10 -08:00 |
Brian Chin
|
72a10f3e65
|
Fixing typo
|
2017-01-30 15:04:44 -08:00 |
Brian Chin
|
ef61b814ff
|
Small amount of docs.
|
2017-01-30 15:04:44 -08:00 |
Brian Chin
|
20eed1e762
|
Simplify code, so that openssl-sys really doesn't contain anything aside
from bindings
|
2017-01-30 15:04:44 -08:00 |
Brian Chin
|
588fd33552
|
Testing first version that works with signer.
|
2017-01-30 15:04:44 -08:00 |
Steven Fackler
|
7dbef567e6
|
Remove some stray manual impls
|
2016-11-13 18:00:42 +00:00 |
Steven Fackler
|
ccef9e339d
|
Macroise from_pem
|
2016-11-13 17:56:48 +00:00 |
Steven Fackler
|
48c0009418
|
Macroise from_der
|
2016-11-13 17:06:50 +00:00 |
Steven Fackler
|
b0415f466c
|
Macroise to_der
|
2016-11-13 16:52:19 +00:00 |
Steven Fackler
|
ed9f600e28
|
Make password callback return a Result
|
2016-11-13 16:18:52 +00:00 |
Steven Fackler
|
387e78257b
|
Support serialization of encrypted private keys
Switch to PEM_write_bio_PKCS8PrivateKey since the other function outputs
nonstandard PEM when encrypting.
|
2016-11-13 16:09:52 +00:00 |
Steven Fackler
|
7d411c7975
|
Add private_key_from_pem_passphrase
|
2016-11-13 15:27:39 +00:00 |
Steven Fackler
|
2a8923c050
|
Macro-implement private_key_to_pem
|
2016-11-13 15:12:50 +00:00 |
Steven Fackler
|
08e0c4ca90
|
Some serialization support for EcKey
|
2016-11-13 15:02:38 +00:00 |
Steven Fackler
|
563754fb08
|
Add SslContextBuilder::set_tmp_{ec,}dh_callback
|
2016-11-12 12:43:44 +00:00 |
Steven Fackler
|
6b7279eb52
|
Consistently support both PEM and DER encodings
Closes #500
|
2016-11-11 20:10:10 +00:00 |
Steven Fackler
|
01ae978db0
|
Get rid of Ref
There's unfortunately a rustdoc bug that causes all methods implemented
for any Ref<T> to be inlined in the deref methods section :(
|
2016-11-04 17:16:59 -07:00 |
Steven Fackler
|
e9d78181c3
|
Update Rsa
|
2016-10-31 20:15:12 -07:00 |