B4J Question Private Key File p12

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Hello everyone

I want to create a little program in Java that create one time AES 256 key and save it as p12 or pfx file ?

Any idea
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Hi Erel; I can achieve it easily in windows or Linux using java keytool , but here in B4J i didn't try , i just want to see if there is a ready library or commands in B4J before diving deeply.

Generating Public/Private keys is interesting topics in encryption/decryption messaging in peer to peer communication, like chats.
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
You can the Encryption library to generate the key. I'm not familiar enough with those formats (p12, pfx) to say how difficult will it be to manually implement them.

You can use jShell to call Keytool to generate such files.
I'll try jShell to call keytool
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…