Hi Glen,
Thanks for your reply. I was afraid of that. I can understand not
bothering to expose the RSA crypto APIs in JSS ... especially as it
would mean some reworking of the Cipher implementation to accept keys
other than SecretKey.
I see that the NSS libraries do have APIs that should work.
Dean wrote:
> Hi folks,
>
> I've been trying to use the JSS APIs to encrypt and decrypt data using
> an RSA Cipher
JSS supports RSA for signing (and signature verification) and for
wrapping and unwrapping keys (encrypting and decrypting keys), but not
for encrypting or encrypting of data.
JSS on
Hi folks,
I've been trying to use the JSS APIs to encrypt and decrypt data using
an RSA Cipher but I keep getting an InvalidKeyException. Invalid key
type: org.mozilla.jss.pkcs11.PK11RSAPublicKey.
I have a sample that works with our own JCE provider and the JCE
provider from Bouncy Castle. I've
3 matches
Mail list logo