Using PKCS 7 Cryptography
问题 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 Need to generate a key pair private & public key using some algorithm say RSA Certify it with X509 certificate Convert it into PKCS7 key format like p7b Generate java key store using keytool some *.jks file Generate the Certificate Signing Request (CSR) using keytool command *.crt Become self CA(Certificate Autority)