A B C D E F G H I K N P R S T V 

A

add(Key) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
addAll(Collection<? extends Key>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
addDate(Calendar) - Method in class net.adamcin.httpsig.api.SignatureBuilder
IMPORTANT: If you call this overload instead of SignatureBuilder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to SignatureBuilder.getDate().
addDate(Date) - Method in class net.adamcin.httpsig.api.SignatureBuilder
IMPORTANT: If you call this overload instead of SignatureBuilder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to SignatureBuilder.getDate().
addDateNow() - Method in class net.adamcin.httpsig.api.SignatureBuilder
IMPORTANT: If you call this overload instead of SignatureBuilder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to SignatureBuilder.getDate().
addHeader(String, String) - Method in class net.adamcin.httpsig.api.SignatureBuilder
Adds a header name and value pair
Algorithm - Enum in net.adamcin.httpsig.api
Enumeration of supported HTTP Signature algorithms
ALGORITHM - Static variable in class net.adamcin.httpsig.api.Constants
Challenge header "algorithm" parameter
ALGORITHMS - Static variable in class net.adamcin.httpsig.api.Constants
Challenge header "algorithms" parameter
ALL_SUPPORTED_ALGORITHMS - Static variable in class net.adamcin.httpsig.api.Constants
 
Authorization - Class in net.adamcin.httpsig.api
Representation of the "Authorization: Signature..." header sent by the client in response to a Challenge
Authorization(String, String, List<String>, Algorithm) - Constructor for class net.adamcin.httpsig.api.Authorization
 
Authorization(String, String, List<String>, Algorithm, Challenge) - Constructor for class net.adamcin.httpsig.api.Authorization
 
AUTHORIZATION - Static variable in class net.adamcin.httpsig.api.Constants
Http request header representing client credentials

B

Base64 - Class in net.adamcin.httpsig.api
Encodes and decodes to and from Base64 notation.
buildContent(List<String>, Charset) - Method in class net.adamcin.httpsig.api.SignatureBuilder
Returns the signature content as a byte array
buildString(List<String>) - Method in class net.adamcin.httpsig.api.SignatureBuilder
Returns the signature content as a String

C

canSign() - Method in interface net.adamcin.httpsig.api.Key
 
canVerify() - Method in interface net.adamcin.httpsig.api.Key
 
Challenge - Class in net.adamcin.httpsig.api
Representation of the "WWW-Authenticate: Signature ..." authentication challenge header sent by the server.
Challenge(String, List<String>, Collection<Algorithm>) - Constructor for class net.adamcin.httpsig.api.Challenge
 
CHALLENGE - Static variable in class net.adamcin.httpsig.api.Constants
Http response header representing a server authentication challenge
CHARSET - Static variable in class net.adamcin.httpsig.api.Constants
Default encoding for header values.
clear() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
Constants - Class in net.adamcin.httpsig.api
Constant values used by the Signature Specification
constructRFC2617(Map<String, String>) - Static method in class net.adamcin.httpsig.api.Constants
 
constructTokensString(List<String>) - Static method in class net.adamcin.httpsig.api.Constants
 
contains(Object) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
containsAll(Collection<?>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
currentKey() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
currentKey() - Method in interface net.adamcin.httpsig.api.Keychain
 

D

DATE_FORMAT - Static variable in class net.adamcin.httpsig.api.SignatureBuilder
 
DEFAULT_HEADERS - Static variable in class net.adamcin.httpsig.api.Constants
 
DEFAULT_KEY_IDENTIFIER - Static variable in class net.adamcin.httpsig.api.Constants
 
DEFAULT_SKEW - Static variable in class net.adamcin.httpsig.api.Verifier
 
DefaultKeychain - Class in net.adamcin.httpsig.api
Simple implementation of Keychain backed by a HashMap and modified via Collection methods
DefaultKeychain() - Constructor for class net.adamcin.httpsig.api.DefaultKeychain
 
DefaultKeychain(Collection<? extends Key>) - Constructor for class net.adamcin.httpsig.api.DefaultKeychain
 
discard() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
discard() - Method in interface net.adamcin.httpsig.api.Keychain
 

E

equals(Object) - Method in class net.adamcin.httpsig.api.Challenge
 

F

filterAlgorithms(Collection<Algorithm>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
filterAlgorithms(Collection<Algorithm>) - Method in interface net.adamcin.httpsig.api.Keychain
Filter this keychain by a Collection of supported Algorithms
forName(String) - Static method in enum net.adamcin.httpsig.api.Algorithm
 
fromBase64(byte[]) - Static method in class net.adamcin.httpsig.api.Base64
 
fromBase64String(String) - Static method in class net.adamcin.httpsig.api.Base64
 

G

getAlgorithm() - Method in class net.adamcin.httpsig.api.Authorization
 
getAlgorithms() - Method in class net.adamcin.httpsig.api.Challenge
 
getAlgorithms() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
getAlgorithms() - Method in interface net.adamcin.httpsig.api.Key
 
getAlgorithms() - Method in interface net.adamcin.httpsig.api.Keychain
 
getAlgorithmsString() - Method in class net.adamcin.httpsig.api.Challenge
 
getCandidateKeys() - Method in class net.adamcin.httpsig.api.Signer
 
getChallenge() - Method in class net.adamcin.httpsig.api.Authorization
 
getDate() - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
getDateGMT() - Method in class net.adamcin.httpsig.api.SignatureBuilder
Returns the currently set date header value converted to a Date object in the GMT time zone
getDateTZ(TimeZone) - Method in class net.adamcin.httpsig.api.SignatureBuilder
Returns the currently set date header value converted to a Calendar in the specified timeZone, or in the default timeZone if the parameter is null
getHeaderNames() - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
getHeaders() - Method in class net.adamcin.httpsig.api.Authorization
 
getHeaders() - Method in class net.adamcin.httpsig.api.Challenge
 
getHeaderValue() - Method in class net.adamcin.httpsig.api.Authorization
 
getHeaderValue() - Method in class net.adamcin.httpsig.api.Challenge
 
getHeaderValues(String) - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
getId() - Method in interface net.adamcin.httpsig.api.Key
 
getId(Key) - Method in interface net.adamcin.httpsig.api.KeyIdentifier
 
getKeychain() - Method in class net.adamcin.httpsig.api.Signer
 
getKeychain() - Method in class net.adamcin.httpsig.api.Verifier
 
getKeyId() - Method in class net.adamcin.httpsig.api.Authorization
 
getKeyIdentifier() - Method in class net.adamcin.httpsig.api.Signer
 
getName() - Method in enum net.adamcin.httpsig.api.Algorithm
 
getRealm() - Method in class net.adamcin.httpsig.api.Challenge
 
getRequestLine() - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
getSignature() - Method in class net.adamcin.httpsig.api.Authorization
 
getSignatureBytes() - Method in class net.adamcin.httpsig.api.Authorization
 
getSkew() - Method in class net.adamcin.httpsig.api.Verifier
 

H

hashCode() - Method in class net.adamcin.httpsig.api.Challenge
 
HEADER_DATE - Static variable in class net.adamcin.httpsig.api.Constants
 
HEADER_REQUEST_LINE - Static variable in class net.adamcin.httpsig.api.Constants
 
HEADERS - Static variable in class net.adamcin.httpsig.api.Constants
Parameter name for the "headers" authorization parameter

I

isEmpty() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
isEmpty() - Method in interface net.adamcin.httpsig.api.Keychain
 
iterator() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 

K

Key - Interface in net.adamcin.httpsig.api
 
KEY_ID - Static variable in class net.adamcin.httpsig.api.Constants
Parameter name for challenge-selected SSH Public Key Fingerprint
Keychain - Interface in net.adamcin.httpsig.api
Immutable interface for a list of Keys
KeyIdentifier - Interface in net.adamcin.httpsig.api
Interface used by a Keychain to generate keyId's from the Keys that it contains

N

net.adamcin.httpsig.api - package net.adamcin.httpsig.api
 

P

parse(String) - Static method in class net.adamcin.httpsig.api.Authorization
 
parseAlgorithms(String) - Static method in class net.adamcin.httpsig.api.Challenge
 
parseChallenge(String) - Static method in class net.adamcin.httpsig.api.Challenge
 
parseRFC2617(String) - Static method in class net.adamcin.httpsig.api.Constants
 
parseTokens(String) - Static method in class net.adamcin.httpsig.api.Constants
 
PREEMPTIVE_CHALLENGE - Static variable in class net.adamcin.httpsig.api.Constants
 

R

REALM - Static variable in class net.adamcin.httpsig.api.Constants
Challenge header "realm" parameter
remove(Object) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
removeAll(Collection<?>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
retainAll(Collection<?>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
RFC2617_PARAM - Static variable in class net.adamcin.httpsig.api.Constants
 
rotateKeys() - Method in class net.adamcin.httpsig.api.Signer
Call this method to rotate the candidate keys back to the original state.
rotateKeys(Challenge) - Method in class net.adamcin.httpsig.api.Signer
Call this method to rotate the candidate keys according to the provided Challenge.
rotateKeys(Challenge, Authorization) - Method in class net.adamcin.httpsig.api.Signer
Call this method to rotate the candidate keys

S

SCHEME - Static variable in class net.adamcin.httpsig.api.Constants
Identifier for the Signature Authentication scheme
setRequestLine(String) - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
setSkew(long) - Method in class net.adamcin.httpsig.api.Verifier
 
sign(Algorithm, byte[]) - Method in interface net.adamcin.httpsig.api.Key
Signs the challengeHash using the specified signature Algorithm
sign(SignatureBuilder) - Method in class net.adamcin.httpsig.api.Signer
Signs a SignatureBuilder and returns an Authorization header
SIGNATURE - Static variable in class net.adamcin.httpsig.api.Constants
Parameter name for the "signature" authorization parameter
SignatureBuilder - Class in net.adamcin.httpsig.api
Object used to pass per-request context, such as Request Line and HTTP Headers in client/server implementation-independent way.
SignatureBuilder() - Constructor for class net.adamcin.httpsig.api.SignatureBuilder
 
Signer - Class in net.adamcin.httpsig.api
Instance of a Signer, used by an HTTP client to sign a SignatureBuilder and create an Authorization
Signer() - Constructor for class net.adamcin.httpsig.api.Signer
 
Signer(Keychain) - Constructor for class net.adamcin.httpsig.api.Signer
 
Signer(Keychain, KeyIdentifier) - Constructor for class net.adamcin.httpsig.api.Signer
 
size() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 

T

toArray() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
toArray(T[]) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
toBase64String(byte[]) - Static method in class net.adamcin.httpsig.api.Base64
 
toMap(KeyIdentifier) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
toMap(KeyIdentifier) - Method in interface net.adamcin.httpsig.api.Keychain
 
toString() - Method in class net.adamcin.httpsig.api.Authorization
 
toString() - Method in class net.adamcin.httpsig.api.Challenge
 
toString() - Method in class net.adamcin.httpsig.api.SignatureBuilder
 
tryParseDate(String) - Method in class net.adamcin.httpsig.api.SignatureBuilder
Sets the literal date header value.

V

valueOf(String) - Static method in enum net.adamcin.httpsig.api.Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.adamcin.httpsig.api.VerifyResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.adamcin.httpsig.api.Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.adamcin.httpsig.api.VerifyResult
Returns an array containing the constants of this enum type, in the order they are declared.
Verifier - Class in net.adamcin.httpsig.api
The Server-Side component of the protocol which verifies Authorization headers using SSH Public Keys
Verifier(Keychain) - Constructor for class net.adamcin.httpsig.api.Verifier
 
Verifier(Keychain, KeyIdentifier) - Constructor for class net.adamcin.httpsig.api.Verifier
 
verify(Algorithm, byte[], byte[]) - Method in interface net.adamcin.httpsig.api.Key
Verifies the signatureBytes against the challengeHash using an underlying public key
verify(Challenge, SignatureBuilder, Authorization) - Method in class net.adamcin.httpsig.api.Verifier
Verifies the provided Authorization header against the original Challenge
VerifyResult - Enum in net.adamcin.httpsig.api
verifyWithResult(Challenge, SignatureBuilder, Authorization) - Method in class net.adamcin.httpsig.api.Verifier
Verifies the provided Authorization header against the original Challenge
A B C D E F G H I K N P R S T V 

Copyright © 2013. All Rights Reserved.