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, updatepublic byte[] sign()
throws java.lang.Exception
Signaturejava.lang.Exceptionpublic boolean verify(byte[] sig)
throws java.lang.Exception
Signaturejava.lang.ExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.