aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_pkey_dsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Backport Ruby's OpenSSL changesMichal Rokos2003-08-141-23/+5
|
* call ossl_raise with NULL when no message is passedMichal Rokos2003-07-091-14/+14
|
* * cipher.h: replace ossl_cipher_get_EVP_CIPHER into GetCipherPtrGOTOU Yuuzou2003-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* PEM callback, examplesMichal Rokos2003-06-161-2/+2
|
* PKey params inspectionMichal Rokos2003-04-141-0/+26
|
* Make it work with "BEGIN PUBLIC KEY" headerMichal Rokos2003-04-071-5/+14
|
* * pkey_*.c: make alias to_s to export.GOTOU Yuuzou2002-12-221-0/+1
| | | | | | | | * 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.
* * Indent by 4 spaces, 1 tab has the width of 8 spaces.GOTOU Yuuzou2002-12-171-228/+224
|
* change all rb_raise and OSSL_Raise to ossl_raiseMichal Rokos2002-06-121-18/+18
| | | | | fix: Cipher#final cannot be called without preceding Cipher#(en|de)crypt Config ported to OpenSSL 0.9.7 interface
* New debug interface that can be directed from Ruby-spaceMichal Rokos2002-06-111-1/+1
|
* PKey#sign and #verify moved to C-space (pkey.c)Michal Rokos2002-06-101-3/+3
|
* PKey: NO useless EVP_PKEY* dups.Michal Rokos2002-06-081-10/+5
|
* PKey (DH|DSA|RSA) cleanup and rewrite (EVP_PKEY is now wrapped), final ↵Michal Rokos2002-06-061-222/+156
| | | | cleaning for ossl.h
* Initial revisionMichal Rokos2002-06-041-2/+2
|
* * Macros fixupsossl1-ossl2-branch-pointMichal Rokos2002-04-071-4/+4
| | | | | | | | | | * 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 !!!
* * WARNING! All to_str methods are not used any longer (use to_text instead)Michal Rokos2002-03-051-8/+8
| | | | | * 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
* * More benevolent checks (Check_SafeStr(x) -> Check_Type(x, T_STRING)Michal Rokos2002-02-231-6/+6
| | | | (where we don't care)
* * transition from rb_raise to OSSL_Raise (where possible)Michal Rokos2002-02-131-43/+30
| | | | | * some mem checks * preliminary DH key support
* * added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*)Michal Rokos2002-01-101-2/+3
| | | | | | | * 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
* * OpenSSL 0.9.6c support (BN)Michal Rokos2002-01-101-1/+1
| | | | | | * MS_CALLBACK to ossl_pkey_*.c * Memory checking with OSSL_DEBUG * API doc style change
* * Further checking (Check_SafeStr, memory leaks)Michal Rokos2002-01-041-86/+69
|
* * Memory checkingMichal Rokos2001-12-211-15/+41
|
* - BN added (only proof of concept)Michal Rokos2001-11-211-1/+1
| | | | | - indent changed - rand.h to ossl.h added
* - HMAC addedMichal Rokos2001-11-201-19/+37
| | | | | | | | - 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
* Released as 0.0.9Michal Rokos2001-11-181-1/+4
|
* Sync with DEVELMichal Rokos2001-11-161-1/+15
|
* Initial revisionMichal Rokos2001-11-161-0/+411