views:

15

answers:

1

I have an API which which provides authentication via a signed response to a random chalange. Server sends a random string to the client, the client signs this data using a previously established key pair and then sends this data back to the server. I need the format of the signature to be something roughly equivalent to the PGP clear sign or detached signature format. Is this possible to do using only the official Java APIs e.g. no bouncy castle?

A: 

oracle.security.crypto.cert.PKCS7

MrEvil