Top "Jce" questions

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

RSA decryption error - IllegalBlockSizeException: Data must not be longer than 128 bytes

I am now on making RSA message authentication software. The process is as follows: Sign the message by using A's …

java key rsa jce
Exception in thread "main" java.security.InvalidKeyException: Illegal key size or default parameters

The code belows is throwing this error message: Exception in thread "main" java.security.InvalidKeyException: Illegal key size or default …

java jce
How to sign a custom JCE security provider

Sun's PKCS11 JCE security provider is lacking some functionality we need. So I wrote an enhanced version of it using …

java security digital-signature jce
How to read a password encrypted key with java?

I have private key stored in file in PKCS8 DER format and protected by password. What is the easiest way …

java bouncycastle private-key jce pkcs#8
How do we convert a String from PEM to DER format

Have a String being sent from in the below format: -----BEGIN RSA PUBLIC KEY----- MIGHAoGBANAahj75ZIz9nXqW2H83nGcUao4wNyYZ9…

java cryptography jce
AES-256 and PKCS7Padding fails in Java

I have a couple of library, C#, PHP and Android where they all encrypt/decrypt a string in the same …

java encryption aes jce pkcs#7
PBKDF2 with bouncycastle in Java

I'm trying to securely store a password in a database and for that I chose to store its hash generated …

java bouncycastle jce pbkdf2
ECDHE cipher suites not supported on OpenJDK 8 installed on EC2 Linux machine

When starting jetty-distribution-9.3.0.v20150612 with openjdk 1.8.0_51 running on an EC2 Amazon Linux machine, is prints that all configured ECDHE suites …

jetty java-8 openjdk jce jetty-9
3DES/DES encryption using the JCE - generating an acceptable key

I'm working on a project that requires 3DES encryption in Java. The issue is that I've been (and will continue …

java .net jce
Generate certificate chain in java

The question is how to generate certificate chains programmatically in Java. In other words, I would like to perform in …

java security rsa x509certificate jce