[openssl-users] ECDSA vs RSA certificates

2016-06-22 Thread Rajeswari K
Hello Openssl users, Need pointers on how to use ECDSA vs RSA certificates. When our device acting as TLS server, we have support for both ECDSA and RSA based certificates. At first, we need to feed a certificate for the TLS server to accept the connections. >From the code, having a feel that, i

Re: [openssl-users] ECDSA vs RSA certificates

2016-06-22 Thread Wall, Stephen
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of > Rajeswari K > Is there a way we can feed multiple certificates i.e. one with ECDSA and > other with RSA > to TLS server during SSL_CTX initialization?  Yes, you can set a certificate of each known type (DSA, RSA, EC

Re: [openssl-users] Record aggregation with TLS Client

2016-06-22 Thread Michael Wojcik
By "a single packet", do you mean a single TCP segment? No, there's no way to ensure they're sent in separate TCP segments. TCP segmentation is a function of the TCP/IP stack. And your application knows nothing about it anyway; TCP is a byte-stream protocol. Why do you think you want to do this

[openssl-users] CMS: Encrypt with binary encoding

2016-06-22 Thread c.hol...@ades.at
Hi! Is there a way to get binary (not base64) encoding out of CMS-encrypt?? openssl cms -encrypt -in plain.txt mycer.cer gives me a MIME-part with Content-Transfer-Encoding: base64 But I'd like to have binary. Thanks for help! Chris -- openssl-users mailing list To unsubscribe: https://mta.o

Re: [openssl-users] CMS: Encrypt with binary encoding

2016-06-22 Thread Jakob Bohm
On 22/06/2016 17:09, c.hol...@ades.at wrote: Hi! Is there a way to get binary (not base64) encoding out of CMS-encrypt?? openssl cms -encrypt -in plain.txt mycer.cer gives me a MIME-part with Content-Transfer-Encoding: base64 But I'd like to have binary. Thanks for help! Chris -outform DER

[openssl-users] CMS: Encrypt with binary encoding

2016-06-22 Thread c.hol...@ades.at
Yes, but then there is no MIME-Header. Can I have MIME with binary encoding?? -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] CMS: Encrypt with binary encoding

2016-06-22 Thread Thomas Francis, Jr.
> On Jun 22, 2016, at 11:40 AM, c.hol...@ades.at wrote: > > Yes, but then there is no MIME-Header. > Can I have MIME with binary encoding?? Not really. If you’re using raw binary output, the output wouldn’t be a MIME body (or body-part), so a MIME header would be inappropriate. MIME requires