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[] |
encode(byte[] signature)
Encode the signature as blog
|
boolean |
verify(byte[] sig)
Verify against the given signature.
|
extractSig, init, sign, update, updatepublic byte[] encode(byte[] signature)
Signaturesignature - the signature to encodepublic boolean verify(byte[] sig)
Signaturesig - the signature to verify againsttrue on successful verification, false on failureCopyright © 2009–2014. All rights reserved.