summaryrefslogtreecommitdiff
path: root/openssl/src/cms.rs
AgeCommit message (Collapse)Author
2021-01-01Use crate in imports in the openssl crateJonas Platte
This was mostly automated using `cargo fix --edition`, except imports of openssl_sys (renamed to ffi) were converted to crate::ffi, which was reverted. The same thing is not done for the openssl-sys crate because this breaks ctest (used in systest to verify the -sys crate), see https://github.com/gnzlbg/ctest/issues/70
2020-05-24Run clippySteven Fackler
2019-11-14Format code using 'cargo fmt'Atul Bhosale
2019-06-12Conditionally compile PEM functions for CMSDaniel Abramov
Apparently libressl does not quite support all CMS functions (well, at least the bindings for CMS are currently compile-time guarded), so CI checks inside the systest fail during the verification on libressl. This is an attempt to fix it.
2019-06-12Extend CMS unit tests (pem/der conversions)Daniel Abramov
2019-06-12Fix formatting in cms `to_der` implementationDaniel Abramov
2019-06-12Add `CmsContentInfo` <-> PEM bindingsDaniel Abramov
2019-03-02CMS: add encrypt, from_dertgbit
2019-02-22RustfmtSteven Fackler
2018-06-01Fix typesSteven Fackler
2018-06-01Fix use-after-free in cmsSteven Fackler
Closes #941
2018-05-10Gate away CMS_KEY_PARAM from OpenSSL 1.0.1Umang Raghuvanshi
2018-05-10Properly version-gate CMS constantsUmang Raghuvanshi
2018-05-10Move CMS_* flags to the openssl-sys packageUmang Raghuvanshi
Also renames attributes in the bitflags struct.
2018-04-26Use bitflags for CMS optionsUmang Raghuvanshi
2018-04-22Implement CR suggestionsUmang Raghuvanshi
* Don't do un-necessary heap pointer gymnastics * Use the to_der! macro instead of a manually written impl * Allow optional arguments for CMS_sign
2018-04-20Add the CMS_sign and i2d_CMS_ContentInfo function bindingsUmang Raghuvanshi
This adds the CMS_sign and i2d_CMS_ContentInfo bindings in the openssl-sys crate and Rusty wrappers in the openssl crate.
2017-12-30Parameterize keys over what they containSteven Fackler
Closes #790
2017-11-10Added a macro that wraps foreign type, and impl Send and Sync for both,Paul Florence
the borrowed type and the owned one. Replaced all invocation of `foreign_type` by `foreign_type_and_impl_send_sync`.
2017-10-07Merge pull request #748 from AndyGauge/doc-cmsSteven Fackler
CMS module documentation
2017-10-04Module level documentaiton rewriteAndy Gauge
2017-10-03Convert try! usage to ?johnthagen
2017-10-03CMS module documentationAndy Gauge
2017-08-09added cms decryptionStephen Demos