A B C E G H I K M N P S T V 

A

algorithm(HawkCredentials.Algorithm) - Method in class com.wealdtech.hawk.HawkCredentials.Builder
Set the algorithm used to calculate the MAC.
authenticate(HawkCredentials, URI, String, ImmutableMap<String, String>, String, boolean) - Method in class com.wealdtech.hawk.HawkServer
Authenticate a request using Hawk.
authenticate(HawkCredentials, URI) - Method in class com.wealdtech.hawk.HawkServer
Authenticate a request using a Hawk bewit.

B

bewitAllowed(Boolean) - Method in class com.wealdtech.hawk.HawkServerConfiguration.Builder
Override the existing allowance of bewits.
build() - Method in class com.wealdtech.hawk.HawkClient.Builder
Build the client
build() - Method in class com.wealdtech.hawk.HawkClientConfiguration.Builder
Create a new Hawk client configuration from the defaults and overrides provided.
build() - Method in class com.wealdtech.hawk.HawkCredentials.Builder
Build the Hawk credentials.
build() - Method in class com.wealdtech.hawk.HawkServer.Builder
Build the server
build() - Method in class com.wealdtech.hawk.HawkServerConfiguration.Builder
Create a new Hawk server configuration from the defaults and overrides provided.

C

calculateBodyMac(HawkCredentials, String, String) - Static method in class com.wealdtech.hawk.Hawk
Generate the MAC for a body with a specific content-type
calculateMAC(HawkCredentials, Hawk.AuthType, Long, URI, String, String, String, String, String, String) - Static method in class com.wealdtech.hawk.Hawk
Calculate and return a MAC.
calculateMac(HawkCredentials, String) - Static method in class com.wealdtech.hawk.Hawk
Internal method to generate the MAC given the compiled string to sign
calculateTSMac(long) - Static method in class com.wealdtech.hawk.Hawk
 
com.wealdtech.hawk - package com.wealdtech.hawk
 
com.wealdtech.hawk.guice - package com.wealdtech.hawk.guice
 
compareTo(HawkClient) - Method in class com.wealdtech.hawk.HawkClient
 
compareTo(HawkClientConfiguration) - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
compareTo(HawkCredentials) - Method in class com.wealdtech.hawk.HawkCredentials
 
compareTo(HawkServer) - Method in class com.wealdtech.hawk.HawkServer
 
compareTo(HawkServerConfiguration) - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
configuration(HawkClientConfiguration) - Method in class com.wealdtech.hawk.HawkClient.Builder
Override the existing configuration.
configuration(HawkServerConfiguration) - Method in class com.wealdtech.hawk.HawkServer.Builder
Override the existing configuration.
configure() - Method in class com.wealdtech.hawk.guice.HawkServerConfigurationModule
 
credentials(HawkCredentials) - Method in class com.wealdtech.hawk.HawkClient.Builder
Override the existing credentials.

E

equals(Object) - Method in class com.wealdtech.hawk.HawkClient
 
equals(Object) - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
equals(Object) - Method in class com.wealdtech.hawk.HawkCredentials
 
equals(Object) - Method in class com.wealdtech.hawk.HawkServer
 
equals(Object) - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
extractBewit(URI) - Method in class com.wealdtech.hawk.HawkServer
Extract a bewit from a URI.

G

generateAuthenticateHeader() - Method in class com.wealdtech.hawk.HawkServer
Generate text for a WWW-Authenticate header after a failed authentication.
generateAuthorizationHeader(URI, String, String, String, String, String) - Method in class com.wealdtech.hawk.HawkClient
Generate the value for the Hawk authorization header.
generateBewit(HawkCredentials, URI, Long, String) - Static method in class com.wealdtech.hawk.Hawk
Calculate and return a bewit.
getAlgorithm() - Method in class com.wealdtech.hawk.HawkCredentials
Obtain the algorithm used to calculate the MAC
getJavaAlgorithm() - Method in class com.wealdtech.hawk.HawkCredentials
Obtain the algorithm used to calculate the MAC, using the name as known by Java cryptography functions.
getKey() - Method in class com.wealdtech.hawk.HawkCredentials
Obtain the key.
getKeyId() - Method in class com.wealdtech.hawk.HawkCredentials
Obtain the key ID.
getNonceCacheSize() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
getPathPrefix() - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
getPayloadValidation() - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
getPayloadValidation() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
getTimestampSkew() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 

H

hashCode() - Method in class com.wealdtech.hawk.HawkClient
 
hashCode() - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
hashCode() - Method in class com.wealdtech.hawk.HawkCredentials
 
hashCode() - Method in class com.wealdtech.hawk.HawkServer
 
hashCode() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
Hawk - Class in com.wealdtech.hawk
The Hawk class provides helper methods for calculating the MAC, required by both clients and servers.
Hawk() - Constructor for class com.wealdtech.hawk.Hawk
 
Hawk.AuthType - Enum in com.wealdtech.hawk
 
Hawk.PayloadValidation - Enum in com.wealdtech.hawk
 
HawkClient - Class in com.wealdtech.hawk
 
HawkClient.Builder - Class in com.wealdtech.hawk
 
HawkClient.Builder() - Constructor for class com.wealdtech.hawk.HawkClient.Builder
Generate a new builder.
HawkClient.Builder(HawkClient) - Constructor for class com.wealdtech.hawk.HawkClient.Builder
Generate build with all values set from a prior object.
HawkClientConfiguration - Class in com.wealdtech.hawk
Configuration for a Hawk client.
HawkClientConfiguration() - Constructor for class com.wealdtech.hawk.HawkClientConfiguration
Create a client configuration with default values
HawkClientConfiguration.Builder - Class in com.wealdtech.hawk
 
HawkClientConfiguration.Builder() - Constructor for class com.wealdtech.hawk.HawkClientConfiguration.Builder
Generate a new builder.
HawkClientConfiguration.Builder(HawkClientConfiguration) - Constructor for class com.wealdtech.hawk.HawkClientConfiguration.Builder
Generate build with all values set from a prior configuration.
HawkCredentials - Class in com.wealdtech.hawk
HawkCredentials contains the information required to authenticate requests requests between a client and server.
HawkCredentials.Algorithm - Enum in com.wealdtech.hawk
 
HawkCredentials.Builder - Class in com.wealdtech.hawk
Builder class to create a set of Hawk credentials.
HawkCredentials.Builder() - Constructor for class com.wealdtech.hawk.HawkCredentials.Builder
Start a new builder.
HawkCredentials.Builder(HawkCredentials) - Constructor for class com.wealdtech.hawk.HawkCredentials.Builder
Start a new builder, initializing the values with those from an existing set of credentials.
HawkServer - Class in com.wealdtech.hawk
The Hawk server.
HawkServer.Builder - Class in com.wealdtech.hawk
 
HawkServer.Builder() - Constructor for class com.wealdtech.hawk.HawkServer.Builder
Generate a new builder.
HawkServer.Builder(HawkServer) - Constructor for class com.wealdtech.hawk.HawkServer.Builder
Generate build with all values set from a prior object.
HawkServerConfiguration - Class in com.wealdtech.hawk
Configuration for a Hawk server.
HawkServerConfiguration.Builder - Class in com.wealdtech.hawk
 
HawkServerConfiguration.Builder() - Constructor for class com.wealdtech.hawk.HawkServerConfiguration.Builder
Generate a new builder.
HawkServerConfiguration.Builder(HawkServerConfiguration) - Constructor for class com.wealdtech.hawk.HawkServerConfiguration.Builder
Generate build with all values set from a prior object.
HawkServerConfigurationModule - Class in com.wealdtech.hawk.guice
Make Hawk configuration available to Guice
HawkServerConfigurationModule(HawkServerConfiguration) - Constructor for class com.wealdtech.hawk.guice.HawkServerConfigurationModule
 
HAWKVERSION - Static variable in class com.wealdtech.hawk.Hawk
 

I

isBewitAllowed() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 
isValidFor(String) - Method in class com.wealdtech.hawk.HawkClient
 

K

key(String) - Method in class com.wealdtech.hawk.HawkCredentials.Builder
Set the key.
keyId(String) - Method in class com.wealdtech.hawk.HawkCredentials.Builder
Set the key ID.

M

MILLISECONDS_IN_SECONDS - Static variable in class com.wealdtech.hawk.Hawk
 

N

nonceCacheSize(Long) - Method in class com.wealdtech.hawk.HawkServerConfiguration.Builder
Override the existing nonce cache size.

P

parse(String) - Static method in enum com.wealdtech.hawk.Hawk.AuthType
 
parse(String) - Static method in enum com.wealdtech.hawk.Hawk.PayloadValidation
 
parse(String) - Static method in enum com.wealdtech.hawk.HawkCredentials.Algorithm
 
pathPrefix(String) - Method in class com.wealdtech.hawk.HawkClientConfiguration.Builder
Override the default path prefix
payloadValidation(Hawk.PayloadValidation) - Method in class com.wealdtech.hawk.HawkClientConfiguration.Builder
Override the default handling of payload validation.
payloadValidation(Hawk.PayloadValidation) - Method in class com.wealdtech.hawk.HawkServerConfiguration.Builder
Override the existing handling of payload validation.

S

splitAuthorizationHeader(String) - Method in class com.wealdtech.hawk.HawkServer
 
splitBewit(String) - Method in class com.wealdtech.hawk.HawkServer
Split a base64-encoded bewit into individual fields.

T

timestampSkew(Long) - Method in class com.wealdtech.hawk.HawkServerConfiguration.Builder
Override the existing timestamp skew.
toString() - Method in enum com.wealdtech.hawk.Hawk.AuthType
 
toString() - Method in enum com.wealdtech.hawk.Hawk.PayloadValidation
 
toString() - Method in class com.wealdtech.hawk.HawkClient
 
toString() - Method in class com.wealdtech.hawk.HawkClientConfiguration
 
toString() - Method in enum com.wealdtech.hawk.HawkCredentials.Algorithm
 
toString() - Method in class com.wealdtech.hawk.HawkCredentials
 
toString() - Method in class com.wealdtech.hawk.HawkServer
 
toString() - Method in class com.wealdtech.hawk.HawkServerConfiguration
 

V

valueOf(String) - Static method in enum com.wealdtech.hawk.Hawk.AuthType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.wealdtech.hawk.Hawk.PayloadValidation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.wealdtech.hawk.HawkCredentials.Algorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.wealdtech.hawk.Hawk.AuthType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.wealdtech.hawk.Hawk.PayloadValidation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.wealdtech.hawk.HawkCredentials.Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G H I K M N P S T V