| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cipher.c: ditto.
* ossl_pkey_rsa.c: use GetCipherPtr.
* ossl_pkey_dsa.c: use GetCipherPtr.
* ossl_ssl.c: SSLContext#initialize allows a Symbol as SSL type.
* ossl_x509store.c: set verify callback on ex_data.
* ossl_pkcs7.c: added some(many) features.
- PKCS7::read_smime as a wrapper of SMIME_write_PKCS7
- PKCS7::write_smime as a wrapper of SMIME_write_PKCS7
- PKCS7::sign as a wrapper of PKCS7_sign
- PKCS7::encrypt as a wrapper of PKCS7_ecnrypt
- PKCS7::PKCS7#initialized disallow PKCS#7 type as argument.
- PKCS7::PKCS7#type= to set PKCS#7 type.
(NID_pkcs7_* can be specified by Symbol.)
- PKCS7::PKCS7#type to get PKCS#7 type.
- PKCS7::PKCS7#detached= to set detached.
- PKCS7::PKCS7#detached? to query if the envelop is detached.
- PKCS7::PKCS7#verify is as a wrapper of PKCS7_verify
- PKCS7::PKCS7#decrypt is as a wrapper of PKCS7_decypt
- PKCS7::PKCS7#data= is an alias of PKCS7::PKCS7#add_data
- PKCS7::PKCS7#verify_data is temporarily disabled.
- PKCS7::PKCS7#decode_data is temporarily disabled.
- PKCS7_* constants are introduced.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* ssl.c: the underlying SSLContext is frozen in SSLSocket#initialize.
* ssl.c: the following methods are deprecated:
SSLContext#cert_file=/cert_file, SSLContext#key_file=/key_file
SSLContext#ssl_method=/ssl_method, SSLContext#setup
* example/ssl/{svr.rb,cli.rb}: improved.
|
| |
|
|
|
|
|
| |
fix: Cipher#final cannot be called without preceding Cipher#(en|de)crypt
Config ported to OpenSSL 0.9.7 interface
|
| |
|
| |
|
| |
|
|
|
|
| |
cleaning for ossl.h
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* X509ExtFactory cleanup
* fixed strptime warning on Linux
* X509::Certificate#version has been changed!
!!! WARNING !!!
x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...)
p x509.version -> 2, means that it is X509v3
!!! WARNING !!!
|
|
|
|
|
| |
* made an aliases to_pem as to_s
* more relaxed params checking - everywhere where string was needed it is OK that obj implements to_s method
|
|
|
|
| |
(where we don't care)
|
|
|
|
|
| |
* some mem checks
* preliminary DH key support
|
|
|
|
|
|
|
| |
* added AES cipher when compiled under OpenSSL-SNAPSHOT
* added warnings if the OpenSSL is compiled without some feature
* handle NO_RSA, NO_DSA in openssl.rb
* incremented version in ossl_version.h
|
|
|
|
|
|
| |
* MS_CALLBACK to ossl_pkey_*.c
* Memory checking with OSSL_DEBUG
* API doc style change
|
| |
|
| |
|
|
|
|
|
| |
- indent changed
- rand.h to ossl.h added
|
|
|
|
|
|
|
|
| |
- Config came back
- API changed in PKCS7 (param. order)
- API changed in Cipher (can't add data in .new)
- indentation changed (only half of files, 2nd half to do)
- some API doc added to README
|
| |
|
| |
|
|
|