52 Commits

Author SHA1 Message Date
Günter Obiltschnig
826dc92fda style and doc fixes 2018-03-06 23:13:07 +01:00
Günter Obiltschnig
e7d2b4593a fix for OpenSSL 1.0 2018-03-06 22:58:14 +01:00
Günter Obiltschnig
943595c937 GH #2129: Add support for AES-GCM ciphers 2018-03-06 22:53:27 +01:00
Günter Obiltschnig
e19f33351d add additional cipher modes 2018-03-06 19:46:24 +01:00
Aleksandar Fabijanic
a4c744fdba
fix #endif comment 2018-01-29 18:43:25 -06:00
Alex Fabijanic
8f2ecfccef openssl VS projects modifications 2018-01-29 09:22:45 -06:00
Guenter Obiltschnig
c672c14e5a remove duplicate files and remaining Id headers 2017-11-10 09:26:24 +01:00
Alex Fabijanic
210bc6d30c add X509 version, serialNumber and signatureAlgorithm 2017-09-29 18:20:10 -05:00
Alex Fabijanic
4c4de6b7fb add PKCS12 CA-cert friendly names extraction 2017-09-28 20:50:30 -05:00
Alex Fabijanic
8fff0cf586 fix incomplete EC key creation from curve name; make sure tests use curves that exist; add validation checks on EC key creation 2017-09-28 14:42:50 -05:00
Alex Fabijanic
ba5af017cc remove unneeded include and duplicate declaration 2017-09-27 21:56:40 -05:00
Alex Fabijanic
9e18ae0944 fix wrong test file name and other iprovements (WIP EC EVP key comparison) 2017-09-27 21:43:00 -05:00
Alex Fabijanic
e5aaa991b8 style fix 2017-09-26 21:57:15 -05:00
Alex Fabijanic
1d18435e38 read/write list of X509 certificates 2017-09-26 21:43:22 -05:00
Alex Fabijanic
4ac56bff0c EVPPKey == operator; PKCS12 copy/move 2017-09-26 15:28:23 -05:00
Alex Fabijanic
dc2c4dcd27 backport CipherKey digest changes and tests from develop 2017-09-26 11:38:53 -05:00
Alex Fabijanic
b4f1427725 make all save() functions const 2017-09-26 11:20:00 -05:00
Alex Fabijanic
741fead666 add openssl autolink to NetSSL 2017-09-23 16:19:14 -05:00
Alex Fabijanic
b7fbdabf5f Merge branch 'poco-1.8.0' of https://github.com/pocoproject/poco into poco-1.8.0 2017-09-22 18:31:39 -05:00
Alex Fabijanic
0e81e082ff openssl 1.1 support 2017-09-22 16:29:33 -05:00
Alex Fabijanic
b01d45a166 fix linux build 2017-09-21 11:42:54 -05:00
Alex Fabijanic
ab90c48da2 backport EVPPKey file/stream load/save capabilities 2017-09-19 22:04:32 -05:00
Alex Fabijanic
dbd82953cb add capability to construct EVPPKey from ECKey and RSAKey; RSA EVPPKey tests, RSA KeyPairImpl type bugfix 2017-09-18 14:49:54 -05:00
Alex Fabijanic
b90ee449a2 port RSAKey* changes 2017-09-18 12:18:56 -05:00
Alex Fabijanic
e89e3745ee add Crypto PKCS12/EC; update VS projects 2017-09-16 00:44:39 -05:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
186e89923a style fixes and SolarisStudio support backported from develop 2017-01-25 11:07:51 +01:00
Günter Obiltschnig
75a7ee4b0f Crypto and NetSSL fixes for OpenSSL 1.1 2016-11-27 23:58:39 +01:00
Guenter Obiltschnig
5076f60a5c added X509Certificate::equals() 2016-02-25 22:17:34 +01:00
Guenter Obiltschnig
676f043338 style fix 2014-12-15 11:12:24 +01:00
Guenter Obiltschnig
4152b569c0 fixed GH #500: SSLManager causes a crash (use AtomicCounter, remove static Mutex) 2014-11-19 17:33:57 +01:00
Guenter Obiltschnig
87f1d0f940 #596: only include openssl/fips.h for OpenSSL versions < 1.0.1 2014-11-06 13:17:43 +01:00
Guenter Obiltschnig
865943438b fixed #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h 2014-11-06 11:16:33 +01:00
John Nelson
8a51be2a0d Fix RSAKey constructor documentation.
The two RSAKey constructors which take existing keys (one from a
stream, the other from a string) have incomplete and ambiguous
documentation.

This change improves the header documentation to reflect that:
 1. Decryption is supported using a private key (existing doc says you
    can "only" sign if a private key is present),
 2. Clarify that public key not needed when private key is present.
2014-10-13 13:48:29 -06:00
Guenter Obiltschnig
ded5af27db fixed #527: added OpenSSLInitializer to DigestEngine 2014-08-26 11:41:57 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Cristian Thiago Moecke
ecd771d1e0 Also removing include of rsa.h that is not needed on the header file 2014-02-21 05:10:48 -08:00
Cristian Thiago Moecke
53e6d9efaa Improve RSADigestEngine, using Poco::Crypto::DigestEngine to calculate
the hash before signing. That way we can then support RSA signatures
with any hash supported by OpenSSL, not only MD5 and SHA1. It was also
required a new method on DigestEngine to obtain the NID (numeric ID) of
the algorithm, to be used on the OpenSSL RSA_sign call.
2014-02-21 04:43:05 -08:00
aleks-f
5654749e2b fixed warning in Poco/Crypto/OpenSSLInitializer.h
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h (fix ported from
1.4.6)
2013-02-26 22:43:36 -06:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Guenter Obiltschnig
4367c5da7c fixed DigestEngine test in Crypto 2012-09-25 04:42:58 +00:00
Aleksandar Fabijanic
c48b06221a SF 3538786: Use size_t for describing data-blocks in DigestEngine 2012-07-20 02:48:41 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
bcf1d5b6a7 Crypto: complete merge to 1.4.2 2011-09-14 16:41:40 +00:00
Guenter Obiltschnig
99c48cff49 integrated changes from 1.3.5 2009-06-16 16:56:28 +00:00
Guenter Obiltschnig
37e6fa383a fixes from 1.3.4 2009-03-24 09:23:21 +00:00