开发者

Signing arbitrary data with x509 in Java

I have an API which which 开发者_StackOverflow社区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?


oracle.security.crypto.cert.PKCS7

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜