Unsolved
This post is more than 5 years old
1 Message
0
1018
July 19th, 2019 03:00
RSA key management client
Hi all,
using RSA KMC java 2.2 with this snippet
KMConfig config = new KMConfig(ClientConfig.CLIENT_KEYSTORE_PASSWORD, ClientConfig.CACHE_PASSWORD,
ClientConfig.KMC_CONFIG);
KMContext kmContext = config.newKMContext();
Decrypter decrypter = kmContext.getDecrypter();
byte[] decryptedData = decrypter.doFinal(encryptedData, 0, encryptedData.length);
I receive this exception:
java.nio.BufferOverflowException
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:165)
We have
- OS: Windows 10.0.17763.0
- Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
- original pkg dimension 389byte
- header (HeaderFormat: VERSION_2_1) 121byte
Thanks, regards
Dario
Anonymous
10 Elder
•
274.2K Posts
0
May 9th, 2022 11:00
Have you tested it by yourself. Is it working or showing any issue. You have just posted the script here but haven't share any related information to it. Kindly provide some information related to it. So it will be helpful for everyone. Being a newbie I can't understand it.