public class PlainTextSignatureAlgorithm extends AbstractSignatureAlgorithm implements SignatureAlgorithm
| Constructor and Description |
|---|
PlainTextSignatureAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(String text,
String key)
Generates a signature for the given text with the given key.
|
verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitverifypublic String generate(String text, String key) throws AuthSignatureException
SignatureAlgorithmgenerate in interface SignatureAlgorithmtext - Text to be signed.key - Cryto Key to sign the text.AuthSignatureExceptionCopyright © 2013. All rights reserved.