| Package | Description |
|---|---|
| org.apache.cxf.rs.security.oauth2.tokens.mac |
| Modifier and Type | Method and Description |
|---|---|
static HmacAlgorithm |
HmacAlgorithm.toHmacAlgorithm(String value) |
static HmacAlgorithm |
HmacAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HmacAlgorithm[] |
HmacAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
HmacUtils.computeHmac(String key,
HmacAlgorithm algo,
String data)
Computes HMAC value using the given parameters.
|
static String |
HmacUtils.generateSecret(HmacAlgorithm algo) |
| Constructor and Description |
|---|
MacAccessToken(Client client,
HmacAlgorithm macAlgo,
long lifetime) |
MacAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
long lifetime,
long issuedAt) |
MacAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
String macKey,
long lifetime,
long issuedAt) |
Apache CXF