public class RSASha1SignatureService extends Object implements SignatureService
BASE_64_ENCODER
Constructor and Description |
---|
RSASha1SignatureService(PrivateKey privateKey) |
Modifier and Type | Method and Description |
---|---|
String |
getSignature(String baseString,
String apiSecret,
String tokenSecret)
Returns the signature
|
String |
getSignatureMethod() |
public RSASha1SignatureService(PrivateKey privateKey)
public String getSignature(String baseString, String apiSecret, 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 String getSignatureMethod()
getSignatureMethod
in interface SignatureService
Copyright © 2018. All rights reserved.