Is it possible: To use the Native SSL libraries to encrypt a payload

30 views
Skip to first unread message

Fuzz

unread,
Oct 14, 2016, 2:12:38 PM10/14/16
to Netty discussions
Hi,

We use Netty (it's awesome!).

In one of our use-cases, we add a header to a HTTP request, that carries a digital signature. We've generate this using a JDK Cipher e.g.

final Cipher rsaCipher = Cipher.getInstance("RSA");
rsaCipher.init(Cipher.ENCRYPT_MODE, key);
final byte[] encryptedData = rsaCipher.doFinal(data);

We also use netty-tcnative-boringssl-static(1.1.33.Fork23).

Is it possible to use this library to achieve the same result as above?

Many thanks,
Fuzz

Norman Maurer

unread,
Oct 14, 2016, 2:13:37 PM10/14/16
to ne...@googlegroups.com
Nope its not supported atm :(

--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/f9553ec8-00a3-42ac-b78d-a9ba7e7bf901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages