-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws:
java.security.NoSuchAlgorithmException:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi friends,
I am trying to write a small application using bouncycastle algorithm, from the http://tinyurl.com/ylclavn (BouncyCastleProvider.java) it says we have to import and add the provider during runtime by the following code
import org.bouncycastle.jce.provider.BouncyCastleProvider;
Security…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I'm trying to write an c#.net app to encrypt files using my private key (in ascii format) and any other public key (also in ascii format). The BouncyCastle library looks like the correct thing to use, but I cannot find documentation for C#. Could anyone please give me an example of how to use…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
through the bouncycastle wiki page I was able to understand how to create a X.509 root certificate and a certification request, but I do not quite understand how to proceed concept- and programming wise after that.
Lets assume party A does a cert request and gets his client certificate from…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
can anyone give me an example for using GCM and/or CCM modes with AES in BouncyCastle?
My code is this:
SecretKeySpec key = new SecretKeySpec(keyBytes, "AES");
IvParameterSpec ivSpec = new IvParameterSpec(ivBytes);
Cipher cipher = Cipher.getInstance("AES/AEAD/PKCS5Padding"…
>>> More