public class Crypto extends Object
| Constructor and Description |
|---|
Crypto() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
verifySignature(PublicKey pubKey,
byte[] message,
byte[] signature) |
public static boolean verifySignature(PublicKey pubKey, byte[] message, byte[] signature)
signature is a valid digital signature of message under the
key pubKey. Internally, this uses RSA signature, but the student does not
have to deal with any of the implementation details of the specific signature
algorithm