public class HMACSha1SignatureService extends java.lang.Object implements SignatureService
SignatureService
Constructor and Description |
---|
HMACSha1SignatureService() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSignature(java.lang.String baseString,
java.lang.String apiSecret,
java.lang.String tokenSecret)
Returns the signature
|
java.lang.String |
getSignatureMethod()
Returns the signature method/algorithm
|
public java.lang.String getSignature(java.lang.String baseString, java.lang.String apiSecret, java.lang.String tokenSecret)
getSignature
in interface SignatureService
baseString
- url-encoded string to signapiSecret
- api secret for your apptokenSecret
- token secret (empty string for the request token step)public java.lang.String getSignatureMethod()
getSignatureMethod
in interface SignatureService