public interface OAuthSignatureMethod
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the OAuth signature method.
|
String |
sign(String signatureBaseString)
Sign the signature base string.
|
void |
verify(String signatureBaseString,
String signature)
Verify the specified signature on the given signature base string.
|
String getName()
String sign(String signatureBaseString)
signatureBaseString
- The signature base string to sign.void verify(String signatureBaseString, String signature) throws InvalidSignatureException
signatureBaseString
- The signature base string.signature
- The signature.InvalidSignatureException
Copyright © 2019. All rights reserved.