Skip to main content
2 votes
0 answers
62 views

Within an Android app I am building an SSLContext in order to use a raw TLS socket to a remote service. Rather than having to manually load a KeyStore with the necessary trust material in the correct ...
OrangeDog's user avatar
  • 39.4k
1 vote
0 answers
71 views

The Cipher states that Java platforms require to support following transformations and keysizes. AES/CBC/NoPadding (128) AES/CBC/PKCS5Padding (128) AES/ECB/NoPadding (128) AES/ECB/PKCS5Padding (128) ...
Jin Kwon's user avatar
  • 22.5k
0 votes
1 answer
107 views

I am writing a custom Java SecretKey implementation that supports destruction and is thread-safe. Please see my code below: public class DSecretKey implements SecretKey, KeySpec { final String ...
LHA's user avatar
  • 9,745
0 votes
2 answers
2k views

I have been using some library which has dependency on bcprov-jdk18on-177.jar. Using Oracle Jre I am facing Exception:JCE Cannot Authenticate Provider BC. Although it is working fine with OpenJDK ...
user25080420's user avatar
0 votes
1 answer
193 views

I need to convert a JCE based code to a Bouncy Castle based code. I'm completely new to Bouncy Castle and couldn't find a easy-to-understand introduction to this topic in general or my issue ...
JulesF's user avatar
  • 21
0 votes
0 answers
76 views

I try to generate a keypair and show the private key. String provname = "BC"; KeyPairGenerator kpg = KeyPairGenerator.getInstance ("EC", provname); kpg.initialize (new ...
chris01's user avatar
  • 12.8k
1 vote
0 answers
118 views

With Java and JCE - I have to create a keypair, store it in a keystore and create a certificate-request. As far I see I can only store a private-key with a certificate-chain. But I do not have the ...
chris01's user avatar
  • 12.8k
0 votes
0 answers
99 views

Is there a way I can check if a private-key matches a public-key with Java JCE? // generate a keypair KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA", provname); kpg....
chris01's user avatar
  • 12.8k
0 votes
0 answers
815 views

In my Spring boot app I have following application.yml file: jasypt: encryptor: password: secretKey algorithm: "PBEWithMD5AndDES" iv-generator-classname: org.jasypt.iv....
gstackoverflow's user avatar
1 vote
3 answers
3k views

I am creating an algorithm where it has to encrypt and decrypt passwords by using JCE and AES. I will keep the encrypted text into a database, however I'm facing two problems. The first problem being ...
bem's user avatar
  • 11
5 votes
1 answer
332 views

can we utilise a general purpose HSM for EMV related work ? like ARQC/ARPC ? PCI guidelines do not specifically prohibit general purpose HSM from being used. There are certain constraints (e.g. ...
Sandeep's user avatar
  • 1,825
0 votes
1 answer
2k views

Environment details: Java: openjdk-1.8.0.312 OS: RHEL8 Following are the security providers configured. SunPKCS11-NSS-FIPS, SUN 1.8, SunEC 1.8, SunJSSE 1.8 Note: The issue disappears when added a new ...
Kedarnath's user avatar
  • 280
3 votes
0 answers
718 views

I have a batch process that require PGP encryption for files before writing them to "Archive" location. I read a little about PGP encryption using Java and learned that Bounsycastle does ...
Kul's user avatar
  • 119
0 votes
0 answers
1k views

Trying to read a PKCS#11 config stream and then extract certificate and private key. It is working but when trying to create a cipher instance of the private key, getting the below error: Exception in ...
tulak.hord's user avatar
2 votes
0 answers
394 views

In the Amazon CloudHSM command line tools there is the command findKey which can take a bunch of different parameters to search for keys by type, class, label etc. The equivalent in the Java library ...
Beeb84's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
29