Reputation: 49
I need to encrypt and sign data using PKCS7(CMS)
.
I am using bouncy castle provided api to achieve this using java .
Till now what i understood is i need to follow these steps
RSA
X509
certificatePKCS7
key format like p7b *.jks
fileCertificate Signing Request (CSR)
using keytool command *.crt
CA(Certificate Autority)
and certify I still need to figure out what steps i need to follow to sign,encrypt,decrypt data.
My question is
Upvotes: 0
Views: 2861
Reputation: 2482
What you need is not BouncyCastle
.
You need OpenSSL
and a guide.
Alternatively, to generate and store an RSA key using Java:
Generate RSA key pair and encode private as string
Upvotes: 1