aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/crypto/pkey.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix a leak when using `EVP_PKEY_get1_RSA`.Overmind JIANG2015-11-181-0/+1
| | | | | | `EVP_PKEY_get1_RSA` returns a RSA structure with its reference count increased by 1 and therefore we need to call `RSA_free` after finishing using that value.
* Provide public_decrypt, private_encrypt for PKEYThom May2015-10-281-12/+115
|
* Add public key PEM read function.Nathan Lilienthal2015-10-011-0/+26
|
* Merge pull request #270 from mvdnes/crypto_segvSteven Fackler2015-09-111-7/+67
|\ | | | | Check if public/private RSA key is properly loaded
| * Fix one call to RSA_size found by testsMathijs van de Nes2015-09-111-1/+1
| |
| * Add tests to ensure a panic occurs instead of segvMathijs van de Nes2015-09-111-0/+32
| |
| * Check rsa.is_null() before passing it to RSA_sizeMathijs van de Nes2015-09-101-1/+22
| | | | | | | | RSA_size will cause an segmentation fault if it is null
| * Check _fromstr function for successMathijs van de Nes2015-09-101-6/+13
| |
* | Make the docs say that load_pub/save_pub methods take DER bytesAlex Gaynor2015-09-091-2/+2
|/
* Add function to write RSA public key as PEMAndrew Dunham2015-07-231-0/+32
|
* Correction on sign and verify documentation to be more explicit of rightEmeric Chevalier2015-05-301-8/+17
| | | | behaviour (no hash done by the functions).
* Move PKey comparison func to public_eq()Manuel Schölling2015-05-011-14/+14
|
* Add comparison for PKeysManuel Schölling2015-04-161-0/+30
|
* Add X509::public_key()Manuel Schölling2015-04-151-1/+11
|
* Add SslContext::add_extra_chain_cert()Manuel Schölling2015-04-031-1/+0
|
* Add ability to load private keys from files and use raw keys and ↵Manuel Schölling2015-04-031-0/+30
| | | | certificates for SslContext
* Fixup for betaAlex Crichton2015-04-021-3/+3
| | | | Add derive(Clone) and don't negate unsigned numbers
* Fix deprecation warningsSteven Fackler2015-03-251-15/+15
|
* Convert to new IO.Steven Fackler2015-02-241-3/+5
|
* Move docs to this repo and auto buildSteven Fackler2015-02-071-0/+423