Top "Jce" questions

Java Cryptographic Extension : a pluggable cryptography framework where various providers can bring the desired functionality

Key length limit with Java Cryptography Extension

I am aware that the keylenght in the Sun/Oracle JVM is limited for judical reasons. However as far as …

java cryptography bouncycastle jce jca
Java SE strong cryptography for Java 7?

The preview release of Java 7 seems to be missing JCE package for unlimited cryptography strength. Has someone stumbled upon such?

java cryptography java-7 jce
Encrypting and decrypting a file using CipherInputStream and CipherOutputStream

I've been trying to write an encrypted file in AES and decrypt it subsequently by using Cipher Streams provided in …

java encryption jce
Should I use Cipher.WRAP_MODE OR Cipher.ENCRYPT_MODE to encrypt a session key?

How should I encrypt a session key on the client side with the public key transported from server side? Should …

java encryption jce
Bouncy Castle vs Java default RSA with OAEP

Can someone explain to me why this code throws javax.crypto.BadPaddingException: Decryption error on the final line when it's …

java encryption rsa bouncycastle jce
Generate PKCS12 file using Java

I need to generate a PKCS12 file using Java. Actually, I need to automate the following certificate generation using openssl (…

java jce pkcs#12
How does JCA/JCE and PKCS#11 work (together)?

I want to use a HSM (hardware security module) to create a signature of a XML file. I did a …

java jce pkcs#11
How does one convert a public EC code point and curve name into a PublicKey?

I have two 32 byte long byte arrays representing the X and Y values for an EC Public Key. I know …

java bouncycastle jce elliptic-curve
Dazed and confused by Java Security & BouncyCastle APIs

I've been trying to make sense of the BouncyCastle cryptography APIs for Java. Unfortunately, I'm finding Java cryptography in general …

java cryptography rsa bouncycastle jce
Java Crypto Api - how to choose a cipher provider

In order to implement encryption using Java, I am using JCE, which is nice and fun. I was told that …

java encryption encryption-asymmetric jce