public class SignatureRSA extends AbstractSignature
Signature| Modifier and Type | Class and Description |
|---|---|
static class |
SignatureRSA.Factory
A named factory for RSA
Signature |
algorithm, signature| Constructor and Description |
|---|
SignatureRSA() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
sign()
Compute the signature.
|
boolean |
verify(byte[] sig)
Verify against the given signature.
|
extractSig, init, update, updatepublic byte[] sign()
Signaturepublic boolean verify(byte[] sig)
Signaturesig - the signature to verify againsttrue on successful verification, false on failureCopyright © 2009–2013. All rights reserved.