public final class SignatureMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HMAC_SHA1 |
static String |
PLAINTEXT |
static String |
RSA_SHA1 |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAlgorithmName(String sigMethod) |
static boolean |
isValid(String sigMethod) |
static boolean |
requiresNonceAndTimestamp(String sigMethod)
Returns true if the given signature method requires nonce and timestamp OAuth params.
|
public static final String HMAC_SHA1
public static final String RSA_SHA1
public static final String PLAINTEXT
public static boolean isValid(String sigMethod)
public static boolean requiresNonceAndTimestamp(String sigMethod)
sigMethod - Name of the signature method.Copyright © 2013. All rights reserved.