diff options
| author | Steven Fackler <[email protected]> | 2016-07-29 09:05:51 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-07-29 09:05:51 -0700 |
| commit | 4eaada2c4b9e4be8d349cf537db0004df7867e3f (patch) | |
| tree | 189aa150549862165d706d5ca7e5776899f5101f /openssl-sys | |
| parent | Merge pull request #428 from onur/get_handle_for_X509Req (diff) | |
| parent | Implement save_der for X509 and X509Req (diff) | |
| download | rust-openssl-4eaada2c4b9e4be8d349cf537db0004df7867e3f.tar.xz rust-openssl-4eaada2c4b9e4be8d349cf537db0004df7867e3f.zip | |
Merge pull request #427 from onur/save_der
Implement save_der for X509 and X509Req
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 96a24e48..1e0d5fe5 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -841,6 +841,9 @@ extern "C" { pub fn X509_REQ_add_extensions(req: *mut X509_REQ, exts: *mut stack_st_X509_EXTENSION) -> c_int; pub fn X509_REQ_sign(x: *mut X509_REQ, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; + pub fn i2d_X509_bio(b: *mut BIO, x: *mut X509) -> c_int; + pub fn i2d_X509_REQ_bio(b: *mut BIO, x: *mut X509_REQ) -> c_int; + pub fn i2d_RSA_PUBKEY(k: *mut RSA, buf: *const *mut u8) -> c_int; pub fn d2i_RSA_PUBKEY(k: *const *mut RSA, buf: *const *const u8, len: c_uint) -> *mut RSA; pub fn i2d_RSAPrivateKey(k: *mut RSA, buf: *const *mut u8) -> c_int; |