Skip navigation links
A B C D E F G H I J K L M N P R S T U 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.RequestContent.Builder
IMPORTANT: If you call this overload instead of RequestContent.Builder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to RequestContent.getDate().
addDate(Date) - Method in class net.adamcin.httpsig.api.RequestContent.Builder
IMPORTANT: If you call this overload instead of RequestContent.Builder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to RequestContent.getDate().
addDateNow() - Method in class net.adamcin.httpsig.api.RequestContent.Builder
IMPORTANT: If you call this overload instead of RequestContent.Builder.addHeader(String, String), be sure to retrieve the generated header value to add to your client request using a subsequent call to RequestContent.getDate().
addHeader(String, String) - Method in class net.adamcin.httpsig.api.RequestContent.Builder
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
 
AsyncSignatureCalculator - Class in net.adamcin.httpsig.http.ning
Implementation of SignatureCalculator using a Signer
AsyncSignatureCalculator(Signer) - Constructor for class net.adamcin.httpsig.http.ning.AsyncSignatureCalculator
 
AsyncSignatureCalculator(Signer, SignatureCalculator) - Constructor for class net.adamcin.httpsig.http.ning.AsyncSignatureCalculator
 
AsyncUtil - Class in net.adamcin.httpsig.http.ning
 
authenticate(Credentials, String, String) - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
authenticate(Credentials, HttpMethod) - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
authenticate(Credentials, HttpRequest) - Method in class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
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
Construct an Authorization instance
AUTHORIZATION - Static variable in class net.adamcin.httpsig.api.Constants
Http request header representing client credentials
AuthorizedKeys - Class in net.adamcin.httpsig.ssh.jce
Factory methods for creating DefaultVerifier instances around SSH authorized_keys files
AuthorizedKeys() - Constructor for class net.adamcin.httpsig.ssh.jce.AuthorizedKeys
 

B

Base64 - Class in net.adamcin.httpsig.api
Encodes and decodes to and from Base64 notation.
build() - Method in class net.adamcin.httpsig.api.RequestContent.Builder
 
Builder() - Constructor for class net.adamcin.httpsig.api.RequestContent.Builder
 
bytesToHex(byte[]) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 

C

calculateAndAddSignature(String, Request, RequestBuilderBase<?>) - Method in class net.adamcin.httpsig.http.ning.AsyncSignatureCalculator
calculateSignature(Signer, Request, RequestBuilderBase<?>) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
 
canSign() - Method in interface net.adamcin.httpsig.api.Key
 
canSign() - Method in class net.adamcin.httpsig.hmac.HmacKey
HMAC Keys can always be used to sign
canSign() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
canSign() - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
canVerify() - Method in interface net.adamcin.httpsig.api.Key
 
canVerify() - Method in class net.adamcin.httpsig.hmac.HmacKey
HMAC Keys can always be used to verify
canVerify() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
canVerify() - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
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
Construct a Challenge instance
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.RequestContent
Deprecated.
DATE_FORMAT_RFC1123 - Static variable in class net.adamcin.httpsig.api.RequestContent
 
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.DefaultVerifier
 
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
 
defaultKeychain() - Static method in class net.adamcin.httpsig.ssh.jce.AuthorizedKeys
 
DefaultVerifier - Class in net.adamcin.httpsig.api
The Server-Side component of the protocol which verifies Authorization headers using SSH Public Keys
DefaultVerifier(Keychain) - Constructor for class net.adamcin.httpsig.api.DefaultVerifier
 
DefaultVerifier(Keychain, KeyId) - Constructor for class net.adamcin.httpsig.api.DefaultVerifier
 
DefaultVerifier(Keychain, KeyId, long) - Constructor for class net.adamcin.httpsig.api.DefaultVerifier
 
discard() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
discard() - Method in interface net.adamcin.httpsig.api.Keychain
 
DSA - Static variable in class net.adamcin.httpsig.ssh.jce.FingerprintGenerator
 
DSA_G - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
DSA_P - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
DSA_Q - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
DSA_X - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
DSA_Y - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
dssPadSignature(byte[]) - Static method in class net.adamcin.httpsig.ssh.jce.Magic
Pad r and s to 160-bit (20 byte) integers
dssUnpadSignature(byte[]) - Static method in class net.adamcin.httpsig.ssh.jce.Magic
Remove padding from 160-bit integers, r and s
dumpKeyBlob(PublicKey) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 

E

enableAuth(HttpClient, Keychain, KeyId) - Static method in class net.adamcin.httpsig.http.apache3.Http3Util
 
enableAuth(AbstractHttpClient, Keychain, KeyId) - Static method in class net.adamcin.httpsig.http.apache4.Http4Util
 
enableAuth(AsyncHttpClient, Signer) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
Attaches the provided Signer to the AsyncHttpClient as a signature calculator.
enableAuth(AsyncHttpClient, Signer, SignatureCalculator) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
Attaches the provided Signer to the AsyncHttpClient as a signature calculator.
engineGetParameter(String) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineGetParameter(String) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineInitSign(PrivateKey) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineInitSign(PrivateKey) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineInitVerify(PublicKey) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineInitVerify(PublicKey) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineSetParameter(String, Object) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineSetParameter(String, Object) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineSign() - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineSign() - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineUpdate(byte) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineUpdate(byte[], int, int) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineUpdate(byte) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineUpdate(byte[], int, int) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
engineVerify(byte[]) - Method in class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
engineVerify(byte[]) - Method in class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 
equals(Object) - Method in class net.adamcin.httpsig.api.Challenge
 
equals(Object) - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
extractSignatureFromDER(byte[]) - Static method in class net.adamcin.httpsig.ssh.jce.Magic
 

F

filter(FilterContext) - Method in class net.adamcin.httpsig.http.ning.RotateAndReplayResponseFilter
 
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
filterHeaders(List<String>) - Static method in class net.adamcin.httpsig.api.Constants
 
FingerprintableKey - Interface in net.adamcin.httpsig.ssh.jce
Interface for public keys which can provide a uniquely identifying fingerprint
FingerprintGenerator - Class in net.adamcin.httpsig.ssh.jce
 
FingerprintGenerator() - Constructor for class net.adamcin.httpsig.ssh.jce.FingerprintGenerator
 
forIdentifier(String) - Static method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
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
 
getAlgorithms() - Method in class net.adamcin.httpsig.hmac.HmacKey
 
getAlgorithms() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
getAlgorithms() - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
getAlgorithmsString() - Method in class net.adamcin.httpsig.api.Challenge
 
getAuthorization(HttpServletRequest) - Static method in class net.adamcin.httpsig.http.servlet.ServletUtil
Parse an HttpServletRequest to create an Authorization
getAuthorizedKeysFile() - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getAuthorizedKeysStream() - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getBytesToSign(List<String>, Charset) - Method in class net.adamcin.httpsig.api.RequestContent
Returns the request content as a byte array for generating a signature.
getCandidateKeys() - Method in class net.adamcin.httpsig.api.Signer
 
getContent(List<String>, Charset) - Method in class net.adamcin.httpsig.api.RequestContent
Deprecated.
getContentString(List<String>) - Method in class net.adamcin.httpsig.api.RequestContent
Deprecated.
use RequestContent.getStringToSign(List) to include the Constants.HEADER_REQUEST_TARGET prefix in signature content
getCredentials(AuthScheme, String, int, boolean) - Method in class net.adamcin.httpsig.http.apache3.SignerCredentialsProvider
 
getDate() - Method in class net.adamcin.httpsig.api.RequestContent
 
getDateGMT() - Method in class net.adamcin.httpsig.api.RequestContent
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.RequestContent
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
getDelegatee() - Method in class net.adamcin.httpsig.http.apache3.SignerCredentialsProvider
 
getFingerprint() - Method in interface net.adamcin.httpsig.ssh.jce.FingerprintableKey
 
getFingerprint(PublicKey) - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getFingerprint(byte[]) - Static method in class net.adamcin.httpsig.ssh.jce.Magic
Computes the MD5 fingerprint of the public key blob
getFingerprint() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
getFingerprint() - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
getHeaderNames() - Method in class net.adamcin.httpsig.api.RequestContent
 
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.RequestContent
 
getId() - Method in interface net.adamcin.httpsig.api.Key
 
getId(Key) - Method in interface net.adamcin.httpsig.api.KeyId
 
getId() - Method in class net.adamcin.httpsig.hmac.HmacKey
 
getId(Key) - Method in class net.adamcin.httpsig.hmac.HmacKeyId
 
getId() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
getId(Key) - Method in class net.adamcin.httpsig.ssh.jce.UserFingerprintKeyId
 
getId(Key) - Method in class net.adamcin.httpsig.ssh.jce.UserKeysFingerprintKeyId
 
getId() - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
getIdentifier() - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getIdentities(JSch) - Static method in class net.adamcin.httpsig.ssh.jsch.JschKey
 
getKeyAlgorithm() - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getKeychain() - Method in class net.adamcin.httpsig.api.DefaultVerifier
 
getKeychain() - Method in class net.adamcin.httpsig.api.Signer
 
getKeyFactory() - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getKeyId() - Method in class net.adamcin.httpsig.api.Authorization
 
getKeyId() - Method in class net.adamcin.httpsig.api.Signer
 
getKeyPairFromProperties(String, String) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getName() - Method in enum net.adamcin.httpsig.api.Algorithm
 
getPassword() - Method in class net.adamcin.httpsig.http.apache4.SignerCredentials
 
getPrivateKeyAsFile(String, String) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getPrivateKeyAsKeyPair(String, String, String) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getPublicKeyAsFile(String, String) - Static method in class net.adamcin.httpsig.testutil.KeyTestUtil
 
getRealm() - Method in class net.adamcin.httpsig.api.Challenge
 
getRequestContent(HttpServletRequest) - Static method in class net.adamcin.httpsig.http.servlet.ServletUtil
Parse an HttpServletRequest to build the RequestContent
getRequestContent(HttpServletRequest, Collection<String>) - Static method in class net.adamcin.httpsig.http.servlet.ServletUtil
Parse an HttpServletRequest to build the RequestContent
getRequestLine() - Method in class net.adamcin.httpsig.api.RequestContent
Deprecated.
getRequestPath(Request) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
 
getRequestTarget() - Method in class net.adamcin.httpsig.api.RequestContent
 
getSchemeName() - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
getSchemeName() - Method in class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
getSignature() - Method in class net.adamcin.httpsig.api.Authorization
 
getSignatureAlgorithms() - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getSignatureBytes() - Method in class net.adamcin.httpsig.api.Authorization
 
getSignatureInstance(Algorithm) - Method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
 
getSigner() - Method in class net.adamcin.httpsig.http.apache3.SignerCredentials
 
getSigner() - Method in class net.adamcin.httpsig.http.apache4.SignerCredentials
 
getSkew() - Method in class net.adamcin.httpsig.api.DefaultVerifier
getSkew() - Method in interface net.adamcin.httpsig.api.Verifier
 
getStringToSign(List<String>) - Method in class net.adamcin.httpsig.api.RequestContent
Returns the request content as a String for generating a signature.
getUserId() - Method in interface net.adamcin.httpsig.api.UserKey
Get the associated userId
getUsername() - Method in class net.adamcin.httpsig.ssh.jce.UserFingerprintKeyId
 
getUsername() - Method in class net.adamcin.httpsig.ssh.jce.UserKeysFingerprintKeyId
 
getUserPrincipal() - Method in class net.adamcin.httpsig.http.apache4.SignerCredentials
 

H

hashCode() - Method in class net.adamcin.httpsig.api.Challenge
 
hashCode() - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
HEADER_DATE - Static variable in class net.adamcin.httpsig.api.Constants
 
HEADER_REQUEST_LINE - Static variable in class net.adamcin.httpsig.api.Constants
Deprecated.
HEADER_REQUEST_TARGET - 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
hexArray - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
HmacKey - Class in net.adamcin.httpsig.hmac
 
HmacKey(String, String) - Constructor for class net.adamcin.httpsig.hmac.HmacKey
Instantiates a new HMAC key with an identifier and a secret used to sign
HmacKeyId - Class in net.adamcin.httpsig.hmac
 
HmacKeyId() - Constructor for class net.adamcin.httpsig.hmac.HmacKeyId
 
Http3SignatureAuthScheme - Class in net.adamcin.httpsig.http.apache3
 
Http3SignatureAuthScheme() - Constructor for class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
Http3Util - Class in net.adamcin.httpsig.http.apache3
 
Http4SignatureAuthScheme - Class in net.adamcin.httpsig.http.apache4
 
Http4SignatureAuthScheme() - Constructor for class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
Http4Util - Class in net.adamcin.httpsig.http.apache4
 

I

IGNORE_HEADERS - Static variable in class net.adamcin.httpsig.api.Constants
List of headers to always exclude from signature calculation
isComplete() - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
isComplete() - Method in class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
isConnectionBased() - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 
isConnectionBased() - Method in class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
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
 

J

JschKey - Class in net.adamcin.httpsig.ssh.jsch
 
JschKey(Identity) - Constructor for class net.adamcin.httpsig.ssh.jsch.JschKey
 

K

Key - Interface in net.adamcin.httpsig.api
Interface representing an object which can sign content and/or verify signatures
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
KeyFormat - Enum in net.adamcin.httpsig.ssh.jce
 
KeyId - Interface in net.adamcin.httpsig.api
Interface used by a Keychain to generate keyId's from the Keys that it contains
KeyTestUtil - Class in net.adamcin.httpsig.testutil
 
KeyTestUtil() - Constructor for class net.adamcin.httpsig.testutil.KeyTestUtil
 

L

login(AsyncHttpClient, Signer, Request) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
Executes and replays a login request until one is found which satisfies the Challenge being returned by the server, or until there are no more keys in the keychain.
login(AsyncHttpClient, Signer, Request, AsyncCompletionHandler<T>) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
Executes and replays a login request until one is found which satisfies the Challenge being returned by the server, or until there are no more keys in the keychain.
login(AsyncHttpClient, Signer, Request, AsyncCompletionHandler<T>, SignatureCalculator) - Static method in class net.adamcin.httpsig.http.ning.AsyncUtil
Executes and replays a login request until one is found which satisfies the Challenge being returned by the server, or until there are no more keys in the keychain.

M

Magic - Class in net.adamcin.httpsig.ssh.jce
Implementation of peculiar SSH byte array algorithms
Magic() - Constructor for class net.adamcin.httpsig.ssh.jce.Magic
 

N

net.adamcin.httpsig.api - package net.adamcin.httpsig.api
 
net.adamcin.httpsig.hmac - package net.adamcin.httpsig.hmac
 
net.adamcin.httpsig.http.apache3 - package net.adamcin.httpsig.http.apache3
 
net.adamcin.httpsig.http.apache4 - package net.adamcin.httpsig.http.apache4
 
net.adamcin.httpsig.http.ning - package net.adamcin.httpsig.http.ning
 
net.adamcin.httpsig.http.servlet - package net.adamcin.httpsig.http.servlet
 
net.adamcin.httpsig.ssh.bc - package net.adamcin.httpsig.ssh.bc
 
net.adamcin.httpsig.ssh.jce - package net.adamcin.httpsig.ssh.jce
 
net.adamcin.httpsig.ssh.jsch - package net.adamcin.httpsig.ssh.jsch
 
net.adamcin.httpsig.testutil - package net.adamcin.httpsig.testutil
 
newKeychain(File) - Static method in class net.adamcin.httpsig.ssh.jce.AuthorizedKeys
Convenience method which should simplify the interaction for 99% of implementations.
NOP - Static variable in class net.adamcin.httpsig.ssh.jce.FingerprintGenerator
 

P

P_TYPE - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
parse(String) - Static method in class net.adamcin.httpsig.api.Authorization
Parse an Authorization header value to construct an Authorization instance
parse(String) - Static method in class net.adamcin.httpsig.api.Challenge
Parse a WWW-Authenticate header value to create a Challenge
parseAlgorithms(String) - Static method in class net.adamcin.httpsig.api.Challenge
 
parseChallenge(CharArrayBuffer, int, int) - Method in class net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
 
parseRFC2617(String) - Static method in class net.adamcin.httpsig.api.Constants
 
parseTokens(String) - Static method in class net.adamcin.httpsig.api.Constants
 
PEMUtil - Class in net.adamcin.httpsig.ssh.bc
 
PEMUtil() - Constructor for class net.adamcin.httpsig.ssh.bc.PEMUtil
 
PREEMPTIVE_CHALLENGE - Static variable in class net.adamcin.httpsig.api.Constants
 
processChallenge(String) - Method in class net.adamcin.httpsig.http.apache3.Http3SignatureAuthScheme
 

R

readKey(InputStream, char[]) - Static method in class net.adamcin.httpsig.ssh.bc.PEMUtil
Read a single PEM-formatted key
readKey(File, char[]) - Static method in class net.adamcin.httpsig.ssh.bc.PEMUtil
Read a single PEM-formatted key
readKey(byte[], char[]) - Static method in class net.adamcin.httpsig.ssh.bc.PEMUtil
Read a single PEM-formatted key
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
 
RequestContent - 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.
RequestContent.Builder - Class in net.adamcin.httpsig.api
 
retainAll(Collection<?>) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
RFC2617_PARAM - Static variable in class net.adamcin.httpsig.api.Constants
 
RotateAndReplayResponseFilter - Class in net.adamcin.httpsig.http.ning
Implementation of ResponseFilter which calls Signer.rotateKeys(net.adamcin.httpsig.api.Challenge, net.adamcin.httpsig.api.Authorization) so long as the response is a 401 or no keys are left to try.
RotateAndReplayResponseFilter(Signer) - Constructor for class net.adamcin.httpsig.http.ning.RotateAndReplayResponseFilter
 
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
RSA - Static variable in class net.adamcin.httpsig.ssh.jce.FingerprintGenerator
 
RSA_D - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_E - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_N - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_P - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_PE - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_Q - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_QE - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
RSA_U - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 

S

SCHEME - Static variable in class net.adamcin.httpsig.api.Constants
Identifier for the Signature Authentication scheme
selectKey(Authorization) - Method in class net.adamcin.httpsig.api.DefaultVerifier
Selects an appropriate Key from the Keychain matching the keyId specified in the Authorization.
selectKey(Authorization) - Method in interface net.adamcin.httpsig.api.Verifier
Selects an appropriate Key from the Keychain matching the keyId specified in the Authorization.
sendChallenge(HttpServletResponse, Challenge) - Static method in class net.adamcin.httpsig.http.servlet.ServletUtil
Handle an HttpServletResponse which has failed authentication by sending a Challenge header
ServletUtil - Class in net.adamcin.httpsig.http.servlet
Helper methods for use in a Servlet context.
setRequestLine(String) - Method in class net.adamcin.httpsig.api.RequestContent.Builder
Deprecated.
setRequestTarget(String, String) - Method in class net.adamcin.httpsig.api.RequestContent.Builder
 
setSkew(long) - Method in class net.adamcin.httpsig.api.DefaultVerifier
Deprecated.
will remove to make the class immutable. use constructor overload instead.
sign(Algorithm, byte[]) - Method in interface net.adamcin.httpsig.api.Key
Signs the challengeHash using the specified signature Algorithm
sign(RequestContent) - Method in class net.adamcin.httpsig.api.Signer
Signs a RequestContent and returns an Authorization header.
sign(RequestContent, List<String>) - Method in class net.adamcin.httpsig.api.Signer
Signs a RequestContent and returns an Authorization header.
sign(Algorithm, byte[]) - Method in class net.adamcin.httpsig.hmac.HmacKey
Signs the challengeHash using the specified signature Algorithm
sign(Algorithm, byte[]) - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
Signs the challengeHash using the specified signature Algorithm
sign(Algorithm, byte[]) - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
Signs the challengeHash using the specified signature Algorithm
SIGNATURE - Static variable in class net.adamcin.httpsig.api.Constants
Parameter name for the "signature" authorization parameter
Signer - Class in net.adamcin.httpsig.api
Instance of a Signer, used by an HTTP client to sign a RequestContent and create an Authorization
Signer(Keychain) - Constructor for class net.adamcin.httpsig.api.Signer
 
Signer(Key, KeyId) - Constructor for class net.adamcin.httpsig.api.Signer
 
Signer(Keychain, KeyId) - Constructor for class net.adamcin.httpsig.api.Signer
 
SignerCredentials - Class in net.adamcin.httpsig.http.apache3
 
SignerCredentials(Signer) - Constructor for class net.adamcin.httpsig.http.apache3.SignerCredentials
 
SignerCredentials - Class in net.adamcin.httpsig.http.apache4
 
SignerCredentials(Signer) - Constructor for class net.adamcin.httpsig.http.apache4.SignerCredentials
 
SignerCredentialsProvider - Class in net.adamcin.httpsig.http.apache3
 
SignerCredentialsProvider(Signer, CredentialsProvider) - Constructor for class net.adamcin.httpsig.http.apache3.SignerCredentialsProvider
 
size() - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
SSHDSSSignature - Class in net.adamcin.httpsig.ssh.jce
The "ssh-dss" key format has the following specific encoding: string "ssh-dss" mpint p mpint q mpint g mpint y Here, the 'p', 'q', 'g', and 'y' parameters form the signature key blob.
SSHDSSSignature() - Constructor for class net.adamcin.httpsig.ssh.jce.SSHDSSSignature
 
SSHKey - Class in net.adamcin.httpsig.ssh.jce
Default Key implementation for OpenSSH-compliant keys (RSA/DSA)
SSHKey(KeyFormat, KeyPair) - Constructor for class net.adamcin.httpsig.ssh.jce.SSHKey
 
SSHKey(KeyFormat, PublicKey, PrivateKey) - Constructor for class net.adamcin.httpsig.ssh.jce.SSHKey
 
SSHRSASignature - Class in net.adamcin.httpsig.ssh.jce
The "ssh-rsa" key format has the following specific encoding: string "ssh-rsa" mpint e mpint n Here the 'e' and 'n' parameters form the signature key blob.
SSHRSASignature() - Constructor for class net.adamcin.httpsig.ssh.jce.SSHRSASignature
 

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(KeyId) - Method in class net.adamcin.httpsig.api.DefaultKeychain
 
toMap(KeyId) - 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.RequestContent
 
tryParseDate(String) - Static method in class net.adamcin.httpsig.api.RequestContent
Sets the literal date header value.
TYPE_DSA - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 
TYPE_RSA - Static variable in class net.adamcin.httpsig.testutil.KeyTestUtil
 

U

UserFingerprintKeyId - Class in net.adamcin.httpsig.ssh.jce
Implementation of KeyId which incorporates a username into the keyId string.
UserFingerprintKeyId(String) - Constructor for class net.adamcin.httpsig.ssh.jce.UserFingerprintKeyId
 
UserKey - Interface in net.adamcin.httpsig.api
Extends the base Key interface to add a userId field, which is a common use case for authentication.
UserKeysFingerprintKeyId - Class in net.adamcin.httpsig.ssh.jce
Implementation of KeyId following the Joyent API convention of /$username/keys/$fingerprint
UserKeysFingerprintKeyId(String) - Constructor for class net.adamcin.httpsig.ssh.jce.UserKeysFingerprintKeyId
 

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.
valueOf(String) - Static method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
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.
values() - Static method in enum net.adamcin.httpsig.ssh.jce.KeyFormat
Returns an array containing the constants of this enum type, in the order they are declared.
Verifier - Interface in net.adamcin.httpsig.api
Limited interface allowing for server-side use of guards and remote service calls
verify(Challenge, RequestContent, Authorization) - Method in class net.adamcin.httpsig.api.DefaultVerifier
Verifies the provided Authorization header against the original Challenge
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, RequestContent, Authorization) - Method in interface net.adamcin.httpsig.api.Verifier
Verifies the provided Authorization header against the original Challenge
verify(Algorithm, byte[], byte[]) - Method in class net.adamcin.httpsig.hmac.HmacKey
Verifies the signatureBytes against the challengeHash using an underlying public key
verify(Algorithm, byte[], byte[]) - Method in class net.adamcin.httpsig.ssh.jce.SSHKey
Verifies the signatureBytes against the challengeHash using an underlying public key
verify(Algorithm, byte[], byte[]) - Method in class net.adamcin.httpsig.ssh.jsch.JschKey
Verifies the signatureBytes against the challengeHash using an underlying public key
VerifyResult - Enum in net.adamcin.httpsig.api
verifyWithResult(Challenge, RequestContent, Authorization) - Method in class net.adamcin.httpsig.api.DefaultVerifier
Verifies the provided Authorization header against the original Challenge
verifyWithResult(Challenge, RequestContent, Authorization) - Method in interface net.adamcin.httpsig.api.Verifier
Verifies the provided Authorization header against the original Challenge
A B C D E F G H I J K L M N P R S T U V 
Skip navigation links

Copyright © 2013-2017. All Rights Reserved.