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

2016-10-14 Thread 'Norman Maurer' via Netty discussions
Nope its not supported atm :(

> On 14 Oct 2016, at 20:12, Fuzz  wrote:
> 
> 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
> 
> -- 
> 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+unsubscr...@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 
> .

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/3B9D8FC4-BDEC-468A-AE8D-AEE9354F4041%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-10-14 Thread Fuzz
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

-- 
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+unsubscr...@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.