Skip navigation links
A B C D E F G H I K L M N O P R S T U V X _ 

A

ACCEPT_ENCODING - Static variable in class net.oauth.client.OAuthClient
Deprecated.
ACCEPT_ENCODING - Static variable in class net.oauth.http.HttpMessage
 
ACCEPT_ENCODING - Static variable in class net.oauth.OAuthConsumer
The name of the property whose value is the Accept-Encoding header in HTTP requests.
ACCEPTED - Static variable in class net.oauth.http.HttpMessageDecoder
 
access(OAuthMessage, ParameterStyle) - Method in class net.oauth.client.OAuthClient
Send a request and return the response.
accessor - Variable in class net.oauth.client.httpclient4.OAuthCredentials
 
ACCESSOR_SECRET - Static variable in class net.oauth.OAuthConsumer
The name of the property whose value is the Accessor Secret.
accessToken - Variable in class net.oauth.OAuthAccessor
 
accessTokenURL - Variable in class net.oauth.OAuthServiceProvider
 
ADDITIONAL_AUTHORIZATION_REQUIRED - Static variable in class net.oauth.OAuth.Problems
 
addParameter(String, String) - Method in class net.oauth.OAuthMessage
 
addParameter(Map.Entry<String, String>) - Method in class net.oauth.OAuthMessage
 
addParameters(String, String...) - Static method in class net.oauth.OAuth
Construct a URL like the given one, but with the given parameters added to its query string.
addParameters(String, Iterable<? extends Map.Entry<String, String>>) - Static method in class net.oauth.OAuth
 
addParameters(Collection<? extends Map.Entry<String, String>>) - Method in class net.oauth.OAuthMessage
 
addRequiredParameters(OAuthAccessor) - Method in class net.oauth.OAuthMessage
Add some of the parameters needed to request access to a protected resource, if they aren't already in the message.
ANY - Static variable in class net.oauth.signature.pem.DerParser
 
APPLICATION - Static variable in class net.oauth.signature.pem.DerParser
 
Asn1Object - Class in net.oauth.signature.pem
An ASN.1 TLV.
Asn1Object(int, int, byte[]) - Constructor for class net.oauth.signature.pem.Asn1Object
Construct a ASN.1 TLV.
AUTH_SCHEME - Static variable in class net.oauth.OAuthMessage
 
authenticate(Credentials, HttpRequest) - Method in class net.oauth.client.httpclient4.OAuthScheme
 
AUTHORIZATION - Static variable in class net.oauth.OAuthMessage
 
avail() - Method in class net.oauth.signature.Base64
Returns the amount of buffered data available for reading.

B

Base64 - Class in net.oauth.signature
Provides Base64 encoding and decoding as defined by RFC 2045.
Base64() - Constructor for class net.oauth.signature.Base64
Default constructor: lineLength is 76, and the lineSeparator is CRLF when encoding, and all forms can be decoded.
Base64(int) - Constructor for class net.oauth.signature.Base64
Consumer can use this constructor to choose a different lineLength when encoding (lineSeparator is still CRLF).
Base64(int, byte[]) - Constructor for class net.oauth.signature.Base64
Consumer can use this constructor to choose a different lineLength and lineSeparator when encoding.
BASE64 - Static variable in class net.oauth.signature.OAuthSignatureMethod
 
BASE64_ENCODING - Static variable in class net.oauth.signature.OAuthSignatureMethod
The character encoding used for base64.
base64Encode(byte[]) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
base64ToInt - Static variable in class net.oauth.signature.Base64
This array is a lookup table that translates unicode characters drawn from the "Base64 Alphabet" (as specified in Table 1 of RFC 2045) into their 6-bit positive integer equivalents.
beforeGetParameter() - Method in class net.oauth.OAuthMessage
A caller is about to get a parameter.
BEGIN_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
beginMarker - Variable in class net.oauth.signature.pem.PEMReader
 
BIT_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
BMP_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
body - Variable in class net.oauth.http.HttpMessage
 
bodyAsStream - Variable in class net.oauth.OAuthMessage
 
BOOLEAN - Static variable in class net.oauth.signature.pem.DerParser
 
buf - Variable in class net.oauth.signature.Base64
Buffer for streaming.

C

callbackURL - Variable in class net.oauth.OAuthConsumer
 
CERTIFICATE_X509_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
characterEncoding - Static variable in class net.oauth.OAuth
 
CHARSET - Static variable in class net.oauth.http.HttpMessage
 
checkSingleParameters(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if any SINGLE_PARAMETERS occur repeatedly.
CHUNK_SEPARATOR - Static variable in class net.oauth.signature.Base64
Chunk separator per RFC 2045 section 2.1.
CHUNK_SIZE - Static variable in class net.oauth.signature.Base64
Chunk size per RFC 2045 section 6.8.
client - Variable in class net.oauth.client.httpclient3.HttpClient3.SingleClient
 
client - Variable in class net.oauth.client.httpclient4.HttpClient4.SingleClient
 
clientPool - Variable in class net.oauth.client.httpclient3.HttpClient3
 
clientPool - Variable in class net.oauth.client.httpclient4.HttpClient4
 
clone() - Method in class net.oauth.OAuthAccessor
 
ComparableParameter(Map.Entry) - Constructor for class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
compareTo(OAuthSignatureMethod.ComparableParameter) - Method in class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
compareTo(SimpleOAuthValidator.UsedNonce) - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
Determine the relative order of this and that, as specified by Comparable.
complete - Variable in class net.oauth.client.httpclient4.OAuthScheme
Whether the authentication process is complete (for the current context)
completeParameters() - Method in class net.oauth.client.OAuthResponseMessage
 
completeParameters() - Method in class net.oauth.OAuthMessage
Finish adding parameters; for example read an HTTP response body and parse parameters from it.
computeSignature(String) - Method in class net.oauth.signature.HMAC_SHA1
 
CONNECT_TIMEOUT - Static variable in interface net.oauth.http.HttpClient
The name of the parameter that is the maximum time to wait to connect to the server.
connection - Variable in class net.oauth.client.URLConnectionResponse
 
CONSTRUCTED - Static variable in class net.oauth.signature.pem.DerParser
 
constructSingleParameters() - Static method in class net.oauth.SimpleOAuthValidator
 
consumer - Variable in class net.oauth.OAuthAccessor
 
CONSUMER_KEY_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
CONSUMER_KEY_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
CONSUMER_KEY_UNKNOWN - Static variable in class net.oauth.OAuth.Problems
 
consumerKey - Variable in class net.oauth.OAuthConsumer
 
ConsumerProperties - Class in net.oauth
A pool of OAuthConsumers that are constructed from Properties.
ConsumerProperties(String, ClassLoader) - Constructor for class net.oauth.ConsumerProperties
 
ConsumerProperties(Properties) - Constructor for class net.oauth.ConsumerProperties
 
consumerProperties - Variable in class net.oauth.ConsumerProperties
 
consumerSecret - Variable in class net.oauth.OAuthConsumer
 
consumerSecret - Variable in class net.oauth.signature.OAuthSignatureMethod
 
containsBase64Byte(byte[]) - Static method in class net.oauth.signature.Base64
 
CONTENT_ENCODING - Static variable in class net.oauth.http.HttpMessage
 
CONTENT_LENGTH - Static variable in class net.oauth.client.OAuthClient
 
CONTENT_LENGTH - Static variable in class net.oauth.http.HttpMessage
 
CONTENT_TYPE - Static variable in class net.oauth.http.HttpMessage
 
CONTEXT - Static variable in class net.oauth.signature.pem.DerParser
 
copyHeaders(HttpServletRequest, Collection<Map.Entry<String, String>>) - Static method in class net.oauth.server.HttpRequestMessage
 
currentLinePos - Variable in class net.oauth.signature.Base64
Variable tracks how many characters have been written to the current line.
currentTimeMsec() - Method in class net.oauth.SimpleOAuthValidator
Get the number of milliseconds since midnight, January 1, 1970 UTC.

D

decode(HttpResponseMessage) - Static method in class net.oauth.http.HttpMessageDecoder
Decode the given message if necessary and possible.
decode(byte[], int, int) - Method in class net.oauth.signature.Base64
Decodes all of the provided data, starting at inPos, for inAvail bytes.
decode(byte[]) - Method in class net.oauth.signature.Base64
Decodes a byte[] containing containing characters in the Base64 alphabet.
decode(byte[]) - Method in class net.oauth.signature.pem.PKCS1EncodedKeySpec
Decode PKCS#1 encoded private key into RSAPrivateCrtKeySpec.
decodeAuthorization(String) - Static method in class net.oauth.OAuthMessage
Parse the parameters from an OAuth Authorization or WWW-Authenticate header.
decodeBase64(byte[]) - Static method in class net.oauth.signature.Base64
Decodes Base64 data into octets
decodeBase64(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
decodeCharacters(byte[]) - Static method in class net.oauth.OAuth
 
decodeForm(String) - Static method in class net.oauth.OAuth
Parse a form-urlencoded document.
decodeInteger(byte[]) - Static method in class net.oauth.signature.Base64
Decode a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
decodePercent(String) - Static method in class net.oauth.OAuth
 
decodeSize - Variable in class net.oauth.signature.Base64
Convenience variable to help us determine when our buffer is going to run out of room and needs resizing.
DEFAULT_CHARSET - Static variable in class net.oauth.http.HttpMessage
 
DEFAULT_MAX_TIMESTAMP_AGE - Static variable in class net.oauth.SimpleOAuthValidator
The default maximum age of timestamps is 5 minutes.
DEFAULT_REALM - Static variable in class net.oauth.client.httpclient4.OAuthSchemeFactory
The name of an HttpClient param whose value is the realm to send in Authorization headers, if no realm was previously received in a WWW-Authenticate challenge.
DEFAULT_TIMESTAMP_WINDOW - Static variable in class net.oauth.SimpleOAuthValidator
 
defaultRealm - Variable in class net.oauth.client.httpclient4.OAuthScheme
 
DEFLATE - Static variable in class net.oauth.http.HttpMessageDecoder
 
DELETE - Static variable in class net.oauth.client.OAuthClient
 
DELETE - Static variable in interface net.oauth.http.HttpClient
 
DELETE - Static variable in class net.oauth.OAuthMessage
 
derBytes - Variable in class net.oauth.signature.pem.PEMReader
 
DerParser - Class in net.oauth.signature.pem
A bare-minimum ASN.1 DER decoder, just having enough functions to decode PKCS#1 private keys.
DerParser(InputStream) - Constructor for class net.oauth.signature.pem.DerParser
Create a new DER decoder from an input stream.
DerParser(byte[]) - Constructor for class net.oauth.signature.pem.DerParser
Create a new DER decoder from a byte array.
discardNonBase64(byte[]) - Static method in class net.oauth.signature.Base64
Discards any characters outside of the base64 alphabet, per the requirements on page 25 of RFC 2045 - "Any characters outside of the base64 alphabet are to be ignored in base64 encoded data."
dump(Map<String, Object>) - Method in class net.oauth.client.httpclient3.HttpMethodResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.client.httpclient4.HttpMethodResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.client.OAuthResponseMessage
 
dump(Map<String, Object>) - Method in class net.oauth.client.URLConnectionResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.http.HttpMessage
Put a description of this message and its origins into the given Map.
dump(Map<String, Object>) - Method in class net.oauth.http.HttpMessageDecoder
 
dump(Map<String, Object>) - Method in class net.oauth.http.HttpResponseMessage
 
dump(Map<String, Object>) - Method in class net.oauth.OAuthMessage
 

E

ELLIPSIS - Static variable in class net.oauth.client.ExcerptInputStream
A marker that's appended to the excerpt if it's less than the complete stream.
encode(byte[], int, int) - Method in class net.oauth.signature.Base64
Encodes all of the provided data, starting at inPos, for inAvail bytes.
encode(byte[]) - Method in class net.oauth.signature.Base64
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
encodeBase64(byte[]) - Static method in class net.oauth.signature.Base64
Encodes binary data using the base64 algorithm but does not chunk the output.
encodeBase64(byte[], boolean) - Static method in class net.oauth.signature.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64Chunked(byte[]) - Static method in class net.oauth.signature.Base64
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
encodeCharacters(String) - Static method in class net.oauth.OAuth
 
encodeInteger(BigInteger) - Static method in class net.oauth.signature.Base64
Encode to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
encodeSize - Variable in class net.oauth.signature.Base64
Convenience variable to help us determine when our buffer is going to run out of room and needs resizing.
ENCODING - Static variable in class net.oauth.OAuth
The encoding used to represent characters as bytes.
ENCODING - Static variable in class net.oauth.signature.HMAC_SHA1
ISO-8859-1 or US-ASCII would work, too.
ENUMERATED - Static variable in class net.oauth.signature.pem.DerParser
 
eof - Variable in class net.oauth.signature.Base64
Boolean flag to indicate the EOF has been reached.
EOL - Static variable in class net.oauth.client.URLConnectionClient
 
EOL - Static variable in class net.oauth.http.HttpResponseMessage
The standard end-of-line marker in an HTTP message.
equals(Object) - Method in class net.oauth.OAuth.Parameter
 
equals(Object) - Method in class net.oauth.OAuthServiceProvider
 
equals(String, String) - Static method in class net.oauth.signature.OAuthSignatureMethod
Determine whether the given strings contain the same sequence of characters.
equals(byte[], byte[]) - Static method in class net.oauth.signature.OAuthSignatureMethod
Determine whether the given arrays contain the same sequence of bytes.
equals(Object) - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
Return true iff this and that contain equal timestamps, nonce etc., in the same order.
equalsIgnoreCase(String, String) - Static method in class net.oauth.http.HttpMessage
 
excerpt - Variable in class net.oauth.client.ExcerptInputStream
 
ExcerptInputStream - Class in net.oauth.client
A decorator that retains a copy of the first few bytes of data.
ExcerptInputStream(InputStream) - Constructor for class net.oauth.client.ExcerptInputStream
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.httpclient3.HttpClient3
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.httpclient4.HttpClient4
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.URLConnectionClient
Send a message to the service provider and get the response.
execute(HttpMessage, Map<String, Object>) - Method in interface net.oauth.http.HttpClient
Send an HTTP request and return the response.

F

FOLLOW_REDIRECTS - Static variable in interface net.oauth.http.HttpClient
The name of the parameter to automatically follow redirects.
FORM_ENCODED - Static variable in class net.oauth.OAuth
The MIME type for a sequence of OAuth parameters.
formEncode(Iterable<? extends Map.Entry>) - Static method in class net.oauth.OAuth
Construct a form-urlencoded document containing the given sequence of name/value pairs.
formEncode(Iterable<? extends Map.Entry>, OutputStream) - Static method in class net.oauth.OAuth
Write a form-urlencoded document into the given stream, containing the given sequence of name/value pairs.

G

GENERAL_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
GENERALIZED_TIME - Static variable in class net.oauth.signature.pem.DerParser
 
GET - Static variable in interface net.oauth.http.HttpClient
 
GET - Static variable in class net.oauth.OAuthMessage
 
getAccessor() - Method in class net.oauth.client.httpclient4.OAuthCredentials
 
getAccessor(Credentials) - Method in class net.oauth.client.httpclient4.OAuthScheme
 
getAccessToken(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get an access token from the service provider, in exchange for an authorized request token.
getAuthorizationHeader(String) - Method in class net.oauth.OAuthMessage
Construct a WWW-Authenticate or Authentication header value, containing the given realm plus all the parameters whose names begin with "oauth_".
getBaseString(OAuthMessage) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
getBeginMarker() - Method in class net.oauth.signature.pem.PEMReader
 
getBody() - Method in class net.oauth.http.HttpMessage
 
getBodyAsStream() - Method in class net.oauth.client.OAuthResponseMessage
 
getBodyAsStream() - Method in class net.oauth.OAuthMessage
Get a stream from which to read the body of the HTTP request or response.
getBodyAsStream() - Method in class net.oauth.server.HttpRequestMessage
 
getBodyEncoding() - Method in class net.oauth.client.OAuthResponseMessage
 
getBodyEncoding() - Method in class net.oauth.OAuthMessage
The character encoding of the body of this message.
getBodyEncoding() - Method in class net.oauth.server.HttpRequestMessage
 
getBodyType() - Method in class net.oauth.OAuthMessage
The MIME type of the body of this message.
getCharset(String) - Static method in class net.oauth.http.HttpMessage
 
getConsumer(String) - Method in class net.oauth.ConsumerProperties
Get the consumer with the given name.
getConsumerKey() - Method in class net.oauth.OAuthMessage
 
getConsumerSecret() - Method in class net.oauth.signature.OAuthSignatureMethod
 
getContentCharset() - Method in class net.oauth.http.HttpMessage
 
getDerBytes() - Method in class net.oauth.signature.pem.PEMReader
 
getDump() - Method in class net.oauth.OAuthMessage
Construct a verbose description of this message and its origins.
getEncoding(HttpMessage) - Static method in class net.oauth.http.HttpMessageDecoder
 
getExcerpt() - Method in class net.oauth.client.ExcerptInputStream
The first few bytes of data, plus ELLIPSIS if there are more bytes.
getHeader(String) - Method in class net.oauth.http.HttpMessage
Get the value of the last header of the given name.
getHeader(String) - Method in class net.oauth.OAuthMessage
The value of the last HTTP header with the given name.
getHeaderField(URLConnection, int) - Method in class net.oauth.client.URLConnectionResponse
 
getHeaderFieldKey(URLConnection, int) - Method in class net.oauth.client.URLConnectionResponse
 
getHeaders() - Method in class net.oauth.client.httpclient3.HttpMethodResponse
 
getHeaders() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
 
getHeaders() - Method in class net.oauth.client.URLConnectionResponse
 
getHeaders() - Method in class net.oauth.OAuthMessage
All HTTP headers.
getHttpClient(URL) - Method in class net.oauth.client.httpclient3.HttpClient3.SingleClient
 
getHttpClient(URL) - Method in interface net.oauth.client.httpclient3.HttpClientPool
Get the appropriate HttpClient for sending a request to the given URL.
getHttpClient(URL) - Method in class net.oauth.client.httpclient4.HttpClient4.SingleClient
 
getHttpClient(URL) - Method in interface net.oauth.client.httpclient4.HttpClientPool
Get the appropriate HttpClient for sending a request to the given URL.
getHttpClient() - Method in class net.oauth.client.OAuthClient
 
getHttpParameters() - Method in class net.oauth.client.OAuthClient
HTTP client parameters, as a map from parameter name to value.
getHttpResponse() - Method in class net.oauth.client.OAuthResponseMessage
 
getHttpStatusCode() - Method in exception net.oauth.OAuthProblemException
 
getHttpUriRequest(HttpRequest) - Method in class net.oauth.client.httpclient4.OAuthScheme
 
getInteger() - Method in class net.oauth.signature.pem.Asn1Object
Get the value as integer
getKey() - Method in class net.oauth.OAuth.Parameter
 
getKeySpec() - Method in class net.oauth.signature.pem.PKCS1EncodedKeySpec
Get the key spec that JCE understands.
getLength() - Method in class net.oauth.signature.pem.Asn1Object
 
getLength() - Method in class net.oauth.signature.pem.DerParser
Decode the length of the field.
getMessage() - Method in exception net.oauth.OAuthProblemException
 
getMessage(HttpServletRequest, String) - Static method in class net.oauth.server.OAuthServlet
Extract the parts of the given request that are relevant to OAuth.
getParameter(String) - Method in class net.oauth.OAuthMessage
 
getParameterMap() - Method in class net.oauth.OAuthMessage
 
getParameters() - Method in class net.oauth.OAuthMessage
 
getParameters() - Method in exception net.oauth.OAuthProblemException
 
getParameters(HttpServletRequest) - Static method in class net.oauth.server.HttpRequestMessage
 
getParameters(Collection<OAuthSignatureMethod.ComparableParameter>) - Static method in class net.oauth.signature.OAuthSignatureMethod
Retrieve the original parameters from a sorted collection.
getParser() - Method in class net.oauth.signature.pem.Asn1Object
For constructed field, return a parser for its content.
getPassword() - Method in class net.oauth.client.httpclient4.OAuthCredentials
Get the current consumer secret, to be used as a password.
getPrivateKeyFromDer(byte[]) - Method in class net.oauth.signature.RSA_SHA1
 
getPrivateKeyFromPem(String) - Method in class net.oauth.signature.RSA_SHA1
 
getProblem() - Method in exception net.oauth.OAuthProblemException
 
getProperties(URL) - Static method in class net.oauth.ConsumerProperties
 
getProperty(String) - Method in class net.oauth.OAuthAccessor
 
getProperty(String) - Method in class net.oauth.OAuthConsumer
 
getPublicKeyFromDer(byte[]) - Method in class net.oauth.signature.RSA_SHA1
 
getPublicKeyFromDerCert(byte[]) - Method in class net.oauth.signature.RSA_SHA1
 
getPublicKeyFromPem(String) - Method in class net.oauth.signature.RSA_SHA1
 
getRealm() - Method in class net.oauth.client.httpclient4.OAuthScheme
 
getRequestToken(OAuthAccessor) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestToken(OAuthAccessor, String) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestToken(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestTokenResponse(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestURL(HttpServletRequest) - Static method in class net.oauth.server.OAuthServlet
Reconstruct the requested URL, complete with query string (if any).
getResource(String, ClassLoader) - Static method in class net.oauth.ConsumerProperties
 
getSchemeName() - Method in class net.oauth.client.httpclient4.OAuthScheme
 
getSignature() - Method in class net.oauth.OAuthMessage
 
getSignature(String) - Method in class net.oauth.signature.HMAC_SHA1
 
getSignature(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
 
getSignature(String) - Method in class net.oauth.signature.OAuthSignatureMethod
Compute the signature for the given base string.
getSignature(String) - Method in class net.oauth.signature.PLAINTEXT
 
getSignature() - Method in class net.oauth.signature.PLAINTEXT
 
getSignature(String) - Method in class net.oauth.signature.RSA_SHA1
 
getSignatureMethod() - Method in class net.oauth.OAuthMessage
 
getStatusCode() - Method in class net.oauth.client.httpclient3.HttpMethodResponse
 
getStatusCode() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
 
getStatusCode() - Method in class net.oauth.client.URLConnectionResponse
 
getStatusCode() - Method in class net.oauth.http.HttpMessageDecoder
 
getStatusCode() - Method in class net.oauth.http.HttpResponseMessage
 
getString() - Method in class net.oauth.signature.pem.Asn1Object
Get value as string.
getTimestamp() - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
 
getToken() - Method in class net.oauth.OAuthMessage
 
getTokenSecret() - Method in class net.oauth.signature.OAuthSignatureMethod
 
getType() - Method in class net.oauth.signature.pem.Asn1Object
 
getURL(URL, String) - Method in class net.oauth.ConsumerProperties
 
getUserName() - Method in class net.oauth.client.httpclient4.OAuthCredentials
Get the current consumer key, to be used as a password.
getValue() - Method in class net.oauth.OAuth.Parameter
 
getValue() - Method in class net.oauth.signature.pem.Asn1Object
 
GRAPHIC_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
GZIP - Static variable in class net.oauth.http.HttpMessageDecoder
 

H

handleException(HttpServletResponse, Exception, String) - Static method in class net.oauth.server.OAuthServlet
 
handleException(HttpServletResponse, Exception, String, boolean) - Static method in class net.oauth.server.OAuthServlet
 
hasData() - Method in class net.oauth.signature.Base64
Returns true if this Base64 object has buffered data for reading.
hashCode() - Method in class net.oauth.OAuth.Parameter
 
hashCode() - Method in class net.oauth.OAuthServiceProvider
 
hashCode() - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
 
headers - Variable in class net.oauth.http.HttpMessage
 
headers - Variable in class net.oauth.OAuthMessage
 
HMAC_SHA1 - Static variable in class net.oauth.OAuth
 
HMAC_SHA1 - Class in net.oauth.signature
The HMAC-SHA1 signature method.
HMAC_SHA1() - Constructor for class net.oauth.signature.HMAC_SHA1
 
htmlEncode(String) - Static method in class net.oauth.server.OAuthServlet
Return the HTML representation of the given plain text.
http - Variable in class net.oauth.client.OAuthClient
 
http - Variable in class net.oauth.client.OAuthResponseMessage
 
HTTP_LOCATION - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the response Location header.
HTTP_REQUEST - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP request.
HTTP_RESPONSE - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP response.
HTTP_STATUS_CODE - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP resopnse status code.
HttpClient - Interface in net.oauth.http
An HTTP client, which can send an HTTP request and receive the response.
HttpClient3 - Class in net.oauth.client.httpclient3
Utility methods for an OAuth client based on the Jakarta Commons HTTP client.
HttpClient3() - Constructor for class net.oauth.client.httpclient3.HttpClient3
 
HttpClient3(HttpClientPool) - Constructor for class net.oauth.client.httpclient3.HttpClient3
 
HttpClient3.SingleClient - Class in net.oauth.client.httpclient3
A pool that simply shares a single HttpClient, as recommended here.
HttpClient4 - Class in net.oauth.client.httpclient4
Utility methods for an OAuth client based on the Apache HttpClient.
HttpClient4() - Constructor for class net.oauth.client.httpclient4.HttpClient4
 
HttpClient4(HttpClientPool) - Constructor for class net.oauth.client.httpclient4.HttpClient4
 
HttpClient4.SingleClient - Class in net.oauth.client.httpclient4
A pool that simply shares a single HttpClient.
HttpClientPool - Interface in net.oauth.client.httpclient3
A source of Jakarta Commons HttpClient objects.
HttpClientPool - Interface in net.oauth.client.httpclient4
A source of Apache HttpClient 4 objects.
HttpMessage - Class in net.oauth.http
An HTTP request or response.
HttpMessage() - Constructor for class net.oauth.http.HttpMessage
 
HttpMessage(String, URL) - Constructor for class net.oauth.http.HttpMessage
 
HttpMessage(String, URL, InputStream) - Constructor for class net.oauth.http.HttpMessage
 
HttpMessageDecoder - Class in net.oauth.http
A decorator that handles Content-Encoding.
HttpMessageDecoder(HttpResponseMessage, String) - Constructor for class net.oauth.http.HttpMessageDecoder
 
HttpMethodResponse - Class in net.oauth.client.httpclient3
The response part of an HttpMethod, encapsulated as an HttpMessage.
HttpMethodResponse(HttpMethod, byte[], String) - Constructor for class net.oauth.client.httpclient3.HttpMethodResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
HttpMethodResponse - Class in net.oauth.client.httpclient4
An HttpResponse, encapsulated as an HttpMessage.
HttpMethodResponse(HttpRequestBase, HttpResponse, byte[], String) - Constructor for class net.oauth.client.httpclient4.HttpMethodResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
httpParameters - Variable in class net.oauth.client.OAuthClient
 
httpRequest - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
 
HttpRequestMessage - Class in net.oauth.server
An HttpServletRequest, encapsulated as an OAuthMessage.
HttpRequestMessage(HttpServletRequest, String) - Constructor for class net.oauth.server.HttpRequestMessage
 
httpResponse - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
 
HttpResponseMessage - Class in net.oauth.http
An HTTP response.
HttpResponseMessage(String, URL) - Constructor for class net.oauth.http.HttpResponseMessage
 

I

IA5_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
in - Variable in class net.oauth.http.HttpMessageDecoder
 
in - Variable in class net.oauth.signature.pem.DerParser
 
initialize(String, OAuthAccessor) - Method in class net.oauth.signature.OAuthSignatureMethod
 
initialize(String, OAuthAccessor) - Method in class net.oauth.signature.RSA_SHA1
 
INTEGER - Static variable in class net.oauth.signature.pem.DerParser
 
intToBase64 - Static variable in class net.oauth.signature.Base64
This array is a lookup table that translates 6-bit positive integer index values into their "Base64 Alphabet" equivalents as specified in Table 1 of RFC 2045.
invoke(OAuthAccessor, String, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Construct a request message, send it to the service provider and get the response.
invoke(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Construct a request message, send it to the service provider and get the response.
invoke(OAuthMessage, ParameterStyle) - Method in class net.oauth.client.OAuthClient
Send a request message to the service provider and get the response.
isArrayByteBase64(byte[]) - Static method in class net.oauth.signature.Base64
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
isBase64(byte) - Static method in class net.oauth.signature.Base64
Returns whether or not the octet is in the base 64 alphabet.
isComplete() - Method in class net.oauth.client.httpclient4.OAuthScheme
 
isConnectionBased() - Method in class net.oauth.client.httpclient4.OAuthScheme
 
isConstructed() - Method in class net.oauth.signature.pem.Asn1Object
 
isEmpty(String) - Static method in class net.oauth.OAuth
 
isFormEncoded(String) - Static method in class net.oauth.OAuth
Return true if the given Content-Type header means FORM_ENCODED.
ISO646_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
isValid(String, String) - Method in class net.oauth.signature.HMAC_SHA1
 
isValid(String, String) - Method in class net.oauth.signature.OAuthSignatureMethod
Decide whether the signature is valid.
isValid(String, String) - Method in class net.oauth.signature.PLAINTEXT
 
isValid(String, String) - Method in class net.oauth.signature.RSA_SHA1
 
isWhiteSpace(byte) - Static method in class net.oauth.signature.Base64
Check if a byte value is whitespace or not.

K

key - Variable in class net.oauth.OAuth.Parameter
 
key - Variable in class net.oauth.signature.HMAC_SHA1
 
key - Variable in class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
keySpec - Variable in class net.oauth.signature.pem.PKCS1EncodedKeySpec
 

L

length - Variable in class net.oauth.signature.pem.Asn1Object
 
LIMIT - Static variable in class net.oauth.client.ExcerptInputStream
 
lineLength - Variable in class net.oauth.signature.Base64
Line length for encoding.
lineSeparator - Variable in class net.oauth.signature.Base64
Line separator for encoding.
loadPrivateKey(Object) - Method in class net.oauth.signature.RSA_SHA1
Load private key from various sources, including A PrivateKey object A string buffer for PEM A byte array with PKCS#8 encoded key
loadPublicKey(Object, boolean) - Method in class net.oauth.signature.RSA_SHA1
Load a public key from key file or certificate.
LOCATION - Static variable in class net.oauth.http.HttpResponseMessage
The name of a dump entry whose value is the response Location header.

M

MAC_NAME - Static variable in class net.oauth.signature.HMAC_SHA1
 
mapToHttpCode() - Static method in class net.oauth.OAuth.Problems
 
MASK_6BITS - Static variable in class net.oauth.signature.Base64
Mask used to extract 6 bits, used when encoding
MASK_8BITS - Static variable in class net.oauth.signature.Base64
Mask used to extract 8 bits, used in decoding base64 bytes
maxTimestampAgeMsec - Variable in class net.oauth.SimpleOAuthValidator
 
maxVersion - Variable in class net.oauth.SimpleOAuthValidator
 
method - Variable in class net.oauth.client.httpclient3.HttpMethodResponse
 
method - Variable in class net.oauth.http.HttpMessage
 
method - Variable in class net.oauth.OAuthMessage
 
minVersion - Variable in class net.oauth.SimpleOAuthValidator
 
modulus - Variable in class net.oauth.signature.Base64
Writes to the buffer only occur after every 3 reads when encoding, an every 4 reads when decoding.

N

NAME_TO_CLASS - Static variable in class net.oauth.signature.OAuthSignatureMethod
 
net.oauth - package net.oauth
Fundamental classes and algorithms for implementing OAuth.
net.oauth.client - package net.oauth.client
Classes for implementing an OAuth Consumer; that is a client that requests access to protected resources.
net.oauth.client.httpclient3 - package net.oauth.client.httpclient3
Classes that integrate the Apache Commons HTTP Client version 3 with the OAuth library.
net.oauth.client.httpclient4 - package net.oauth.client.httpclient4
Classes that integrate the Apache Commons HTTP Client version 4 with the OAuth library.
net.oauth.http - package net.oauth.http
Classes that integrate OAuth with HTTP.
net.oauth.server - package net.oauth.server
Classes for implementing an OAuth Service Provider; that is a server that controls access to protected resources.
net.oauth.signature - package net.oauth.signature
Classes to compute and verify digital signatures.
net.oauth.signature.pem - package net.oauth.signature.pem
Classes to handle cryptographic data in PEM formats.
newConsumer(String) - Method in class net.oauth.ConsumerProperties
 
newInstance(HttpParams) - Method in class net.oauth.client.httpclient4.OAuthSchemeFactory
 
newList(String...) - Static method in class net.oauth.OAuth
Construct a list of Parameters from name, value, name, value...
newMap(Iterable<? extends Map.Entry>) - Static method in class net.oauth.OAuth
Construct a Map containing a copy of the given parameters.
newMethod(String, OAuthAccessor) - Static method in class net.oauth.signature.OAuthSignatureMethod
The factory for signature methods.
newRequest(OAuthMessage, ParameterStyle) - Static method in class net.oauth.http.HttpMessage
Construct an HTTP request from this OAuth message.
newRequestMessage(String, String, Collection<? extends Map.Entry>, InputStream) - Method in class net.oauth.OAuthAccessor
Construct a request message containing the given parameters but no body.
newRequestMessage(String, String, Collection<? extends Map.Entry>) - Method in class net.oauth.OAuthAccessor
 
newSigner(OAuthMessage, OAuthAccessor) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
NONCE_USED - Static variable in class net.oauth.OAuth.Problems
 
normalizeParameters(Collection<? extends Map.Entry>) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
normalizeUrl(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
NULL - Static variable in class net.oauth.signature.pem.DerParser
 
NUMERIC_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
NVP - Static variable in class net.oauth.OAuthMessage
 

O

OAuth - Class in net.oauth
Miscellaneous constants, methods and types.
OAuth() - Constructor for class net.oauth.OAuth
 
OAuth.Parameter - Class in net.oauth
A name/value pair.
OAuth.Problems - Class in net.oauth
Strings used for problem reporting.
OAUTH_ACCEPTABLE_TIMESTAMPS - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_ACCEPTABLE_VERSIONS - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_CALLBACK - Static variable in class net.oauth.OAuth
 
OAUTH_CALLBACK_CONFIRMED - Static variable in class net.oauth.OAuth
 
OAUTH_CONSUMER_KEY - Static variable in class net.oauth.OAuth
 
OAUTH_NONCE - Static variable in class net.oauth.OAuth
 
OAUTH_PARAMETERS_ABSENT - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_PARAMETERS_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_PROBLEM - Static variable in exception net.oauth.OAuthProblemException
 
OAUTH_PROBLEM_ADVICE - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_SIGNATURE - Static variable in class net.oauth.OAuth
 
OAUTH_SIGNATURE_METHOD - Static variable in class net.oauth.OAuth
 
OAUTH_TIMESTAMP - Static variable in class net.oauth.OAuth
 
OAUTH_TOKEN - Static variable in class net.oauth.OAuth
 
OAUTH_TOKEN_SECRET - Static variable in class net.oauth.OAuth
 
OAUTH_VERIFIER - Static variable in class net.oauth.OAuth
 
OAUTH_VERSION - Static variable in class net.oauth.OAuth
 
OAuthAccessor - Class in net.oauth
Properties of one User of an OAuthConsumer.
OAuthAccessor(OAuthConsumer) - Constructor for class net.oauth.OAuthAccessor
 
OAuthClient - Class in net.oauth.client
Methods for an OAuth consumer to request tokens from a service provider.
OAuthClient(HttpClient) - Constructor for class net.oauth.client.OAuthClient
 
OAuthConsumer - Class in net.oauth
Properties of an OAuth Consumer.
OAuthConsumer(String, String, String, OAuthServiceProvider) - Constructor for class net.oauth.OAuthConsumer
 
OAuthCredentials - Class in net.oauth.client.httpclient4
An OAuthAccessor, to be used as credentials for an AuthScheme based on OAuth.
OAuthCredentials(OAuthAccessor) - Constructor for class net.oauth.client.httpclient4.OAuthCredentials
 
OAuthCredentials(String, String) - Constructor for class net.oauth.client.httpclient4.OAuthCredentials
Constructs a simple accessor, containing only a consumer key and secret.
OAuthException - Exception in net.oauth
An exception thrown by the OAuth library.
OAuthException() - Constructor for exception net.oauth.OAuthException
For subclasses only.
OAuthException(String) - Constructor for exception net.oauth.OAuthException
 
OAuthException(Throwable) - Constructor for exception net.oauth.OAuthException
 
OAuthException(String, Throwable) - Constructor for exception net.oauth.OAuthException
 
OAuthMessage - Class in net.oauth
A request or response message used in the OAuth protocol.
OAuthMessage(String, String, Collection<? extends Map.Entry>) - Constructor for class net.oauth.OAuthMessage
 
OAuthMessage(String, String, Collection<? extends Map.Entry>, InputStream) - Constructor for class net.oauth.OAuthMessage
 
OAuthProblemException - Exception in net.oauth
An OAuth-related problem, described using a set of named parameters.
OAuthProblemException() - Constructor for exception net.oauth.OAuthProblemException
 
OAuthProblemException(String) - Constructor for exception net.oauth.OAuthProblemException
 
OAuthResponseMessage - Class in net.oauth.client
An HTTP response, encapsulated as an OAuthMessage.
OAuthResponseMessage(HttpResponseMessage) - Constructor for class net.oauth.client.OAuthResponseMessage
 
OAuthScheme - Class in net.oauth.client.httpclient4
 
OAuthScheme(String) - Constructor for class net.oauth.client.httpclient4.OAuthScheme
 
OAuthSchemeFactory - Class in net.oauth.client.httpclient4
An implementation of the OAuth HTTP authorization scheme.
OAuthSchemeFactory() - Constructor for class net.oauth.client.httpclient4.OAuthSchemeFactory
 
OAuthServiceProvider - Class in net.oauth
Properties of an OAuth Service Provider.
OAuthServiceProvider(String, String, String) - Constructor for class net.oauth.OAuthServiceProvider
 
OAuthServlet - Class in net.oauth.server
Utility methods for servlets that implement OAuth.
OAuthServlet() - Constructor for class net.oauth.server.OAuthServlet
 
OAuthSignatureMethod - Class in net.oauth.signature
A pair of algorithms for computing and verifying an OAuth digital signature.
OAuthSignatureMethod() - Constructor for class net.oauth.signature.OAuthSignatureMethod
 
OAuthSignatureMethod.ComparableParameter - Class in net.oauth.signature
An efficiently sortable wrapper around a parameter.
OAuthValidator - Interface in net.oauth
An algorithm to determine whether a message has a valid signature, a correct version number, a fresh timestamp, etc.
OBJECT_IDENTIFIER - Static variable in class net.oauth.signature.pem.DerParser
 
OCTET_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
openBody() - Method in class net.oauth.client.httpclient3.HttpMethodResponse
 
openBody() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
 
openBody() - Method in class net.oauth.client.URLConnectionResponse
 
openBody() - Method in class net.oauth.http.HttpMessage
 

P

PAD - Static variable in class net.oauth.signature.Base64
Byte used to pad output.
Parameter(String, String) - Constructor for class net.oauth.OAuth.Parameter
 
PARAMETER_ABSENT - Static variable in class net.oauth.OAuth.Problems
 
PARAMETER_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
PARAMETER_STYLE - Static variable in class net.oauth.client.OAuthClient
The name of the OAuthConsumer property whose value is the ParameterStyle to be used by invoke.
parameterMap - Variable in class net.oauth.OAuthMessage
 
parameters - Variable in class net.oauth.OAuthMessage
 
parameters - Variable in exception net.oauth.OAuthProblemException
 
parametersAreComplete - Variable in class net.oauth.OAuthMessage
 
ParameterStyle - Enum in net.oauth
Where to place OAuth parameters in an HTTP message.
ParameterStyle() - Constructor for enum net.oauth.ParameterStyle
 
PEMReader - Class in net.oauth.signature.pem
This class convert PEM into byte array.
PEMReader(InputStream) - Constructor for class net.oauth.signature.pem.PEMReader
 
PEMReader(byte[]) - Constructor for class net.oauth.signature.pem.PEMReader
 
PEMReader(String) - Constructor for class net.oauth.signature.pem.PEMReader
 
percentEncode(Iterable) - Static method in class net.oauth.OAuth
Construct a &-separated list of the given values, percentEncoded.
percentEncode(String) - Static method in class net.oauth.OAuth
 
PERMISSION_DENIED - Static variable in class net.oauth.OAuth.Problems
 
PERMISSION_UNKNOWN - Static variable in class net.oauth.OAuth.Problems
 
PKCS1EncodedKeySpec - Class in net.oauth.signature.pem
PKCS#1 encoded private key is commonly used with OpenSSL.
PKCS1EncodedKeySpec(byte[]) - Constructor for class net.oauth.signature.pem.PKCS1EncodedKeySpec
Create a PKCS#1 keyspec from DER encoded buffer
PLAINTEXT - Class in net.oauth.signature
The PLAINTEXT signature method.
PLAINTEXT() - Constructor for class net.oauth.signature.PLAINTEXT
 
pool - Variable in class net.oauth.ConsumerProperties
 
pos - Variable in class net.oauth.signature.Base64
Position where next character should be written in the buffer.
POST - Static variable in class net.oauth.client.OAuthClient
 
POST - Static variable in interface net.oauth.http.HttpClient
 
POST - Static variable in class net.oauth.OAuthMessage
 
PreemptiveAuthorizer - Class in net.oauth.client.httpclient4
An interceptor that initiates authorization without waiting for a challenge from the server.
PreemptiveAuthorizer() - Constructor for class net.oauth.client.httpclient4.PreemptiveAuthorizer
 
PRINTABLE_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
PRIVATE - Static variable in class net.oauth.signature.pem.DerParser
 
PRIVATE_KEY - Static variable in class net.oauth.signature.RSA_SHA1
 
PRIVATE_PKCS1_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
PRIVATE_PKCS8_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
privateKey - Variable in class net.oauth.signature.RSA_SHA1
 
PROBLEM_TO_HTTP_CODE - Static variable in class net.oauth.server.OAuthServlet
 
Problems() - Constructor for class net.oauth.OAuth.Problems
 
process(HttpRequest, HttpContext) - Method in class net.oauth.client.httpclient4.PreemptiveAuthorizer
If no auth scheme has been selected for the given context, consider each of the preferred auth schemes and select the first one for which an AuthScheme and matching Credentials are available.
processChallenge(Header) - Method in class net.oauth.client.httpclient4.OAuthScheme
Handle a challenge from an OAuth server.
properties - Variable in class net.oauth.OAuthAccessor
 
properties - Variable in class net.oauth.OAuthConsumer
 
PUBLIC_KEY - Static variable in class net.oauth.signature.RSA_SHA1
 
PUBLIC_X509_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
publicKey - Variable in class net.oauth.signature.RSA_SHA1
 
PUT - Static variable in class net.oauth.client.OAuthClient
 
PUT - Static variable in interface net.oauth.http.HttpClient
 
PUT - Static variable in class net.oauth.OAuthMessage
 

R

read() - Method in class net.oauth.signature.pem.DerParser
Read next object.
READ_TIMEOUT - Static variable in interface net.oauth.http.HttpClient
The name of the parameter that is the maximum time to wait for response data.
readAll(InputStream, String) - Static method in class net.oauth.OAuthMessage
Read all the data from the given stream, and close it.
readBodyAsString() - Method in class net.oauth.OAuthMessage
Read the body of the HTTP request or response and convert it to a String.
readBytes(BufferedReader, String) - Method in class net.oauth.signature.pem.PEMReader
Read the lines between BEGIN and END marker and convert the Base64 encoded content into binary byte array.
readFile() - Method in class net.oauth.signature.pem.PEMReader
Read the PEM file and save the DER encoded octet stream and begin marker.
readPos - Variable in class net.oauth.signature.Base64
Position where next character should be read from the buffer.
readResults(byte[], int, int) - Method in class net.oauth.signature.Base64
Extracts buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail bytes.
REAL - Static variable in class net.oauth.signature.pem.DerParser
 
registerMethodClass(String, Class) - Static method in class net.oauth.signature.OAuthSignatureMethod
Subsequently, newMethod(name) will attempt to instantiate the given class, with no constructor parameters.
RELATIVE_OID - Static variable in class net.oauth.signature.pem.DerParser
 
releaseGarbage() - Method in class net.oauth.SimpleOAuthValidator
Allow objects that are no longer useful to become garbage.
removeHeaders(String) - Method in class net.oauth.http.HttpMessage
Remove all headers of the given name.
removeOldNonces(long) - Method in class net.oauth.SimpleOAuthValidator
Remove usedNonces with timestamps that are too old to be valid.
REQUEST - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP request.
request - Variable in class net.oauth.server.HttpRequestMessage
 
requestBody - Variable in class net.oauth.client.httpclient3.HttpMethodResponse
 
requestBody - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
 
requestEncoding - Variable in class net.oauth.client.httpclient3.HttpMethodResponse
 
requestEncoding - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
 
requestEncoding - Variable in class net.oauth.client.URLConnectionResponse
 
requestExcerpt - Variable in class net.oauth.client.URLConnectionResponse
 
requestHeaders - Variable in class net.oauth.client.URLConnectionResponse
 
requestToken - Variable in class net.oauth.OAuthAccessor
 
requestTokenURL - Variable in class net.oauth.OAuthServiceProvider
 
requireParameters(String...) - Method in class net.oauth.client.OAuthResponseMessage
 
requireParameters(String...) - Method in class net.oauth.OAuthMessage
Verify that the required parameter names are contained in the actual collection.
resizeBuf() - Method in class net.oauth.signature.Base64
Doubles our buffer.
RESPONSE - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP response.
RSA_SHA1 - Static variable in class net.oauth.OAuth
 
RSA_SHA1 - Class in net.oauth.signature
The RSA-SHA1 signature method.
RSA_SHA1() - Constructor for class net.oauth.signature.RSA_SHA1
 

S

SC_FORBIDDEN - Static variable in class net.oauth.server.OAuthServlet
 
SCHEME_NAME - Static variable in class net.oauth.client.httpclient4.OAuthSchemeFactory
The name of this authorization scheme.
sendForm(HttpServletResponse, Iterable<? extends Map.Entry>) - Static method in class net.oauth.server.OAuthServlet
Send the given parameters as a form-encoded response body.
SEQUENCE - Static variable in class net.oauth.signature.pem.DerParser
 
serialVersionUID - Static variable in class net.oauth.OAuthAccessor
 
serialVersionUID - Static variable in class net.oauth.OAuthConsumer
 
serialVersionUID - Static variable in exception net.oauth.OAuthException
 
serialVersionUID - Static variable in exception net.oauth.OAuthProblemException
 
serialVersionUID - Static variable in class net.oauth.OAuthServiceProvider
 
serviceProvider - Variable in class net.oauth.OAuthConsumer
 
SET - Static variable in class net.oauth.signature.pem.DerParser
 
setCharacterEncoding(String) - Static method in class net.oauth.OAuth
 
setConsumerSecret(String) - Method in class net.oauth.signature.HMAC_SHA1
 
setConsumerSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
 
setConsumerSecret(String) - Method in class net.oauth.signature.PLAINTEXT
 
setHttpClient(HttpClient) - Method in class net.oauth.client.OAuthClient
 
setInitialBuffer(byte[], int, int) - Method in class net.oauth.signature.Base64
Small optimization where we try to buffer directly to the consumer's output array for one round (if consumer calls this method first!) instead of starting our own buffer.
setParameter(String, Object) - Method in exception net.oauth.OAuthProblemException
 
setProperty(String, Object) - Method in class net.oauth.OAuthAccessor
 
setProperty(String, Object) - Method in class net.oauth.OAuthConsumer
 
setTokenSecret(String) - Method in class net.oauth.signature.HMAC_SHA1
 
setTokenSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
 
setTokenSecret(String) - Method in class net.oauth.signature.PLAINTEXT
 
setValue(String) - Method in class net.oauth.OAuth.Parameter
 
SHARED_CLIENT - Static variable in class net.oauth.client.httpclient3.HttpClient3
 
SHARED_CLIENT - Static variable in class net.oauth.client.httpclient4.HttpClient4
 
sign(OAuthAccessor) - Method in class net.oauth.OAuthMessage
Add a signature to the message.
sign(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
Add a signature to the message.
sign(byte[]) - Method in class net.oauth.signature.RSA_SHA1
 
signature - Variable in class net.oauth.signature.PLAINTEXT
 
SIGNATURE_BASE_STRING - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the OAuth signature base string.
SIGNATURE_INVALID - Static variable in class net.oauth.OAuth.Problems
 
SIGNATURE_METHOD_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
SimpleOAuthValidator - Class in net.oauth
A simple OAuthValidator, which checks the version, whether the timestamp is close to now, the nonce hasn't been used before and the signature is valid.
SimpleOAuthValidator() - Constructor for class net.oauth.SimpleOAuthValidator
Construct a validator that rejects messages more than five minutes old or with a OAuth version other than 1.0.
SimpleOAuthValidator(long, double) - Constructor for class net.oauth.SimpleOAuthValidator
Public constructor.
SimpleOAuthValidator.UsedNonce - Class in net.oauth
Selected parameters from an OAuth request, in a form suitable for detecting duplicate requests.
SINGLE_PARAMETERS - Static variable in class net.oauth.SimpleOAuthValidator
Names of parameters that may not appear twice in a valid message.
SingleClient() - Constructor for class net.oauth.client.httpclient3.HttpClient3.SingleClient
 
SingleClient() - Constructor for class net.oauth.client.httpclient4.HttpClient4.SingleClient
 
sortKey - Variable in class net.oauth.SimpleOAuthValidator.UsedNonce
 
STATUS_CODE - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP status code.
STATUS_CODE - Static variable in class net.oauth.http.HttpResponseMessage
The name of a dump entry whose value is the HTTP status code.
STATUS_OK - Static variable in class net.oauth.http.HttpResponseMessage
The statusCode that indicates a normal outcome.
stream - Variable in class net.oauth.signature.pem.PEMReader
 

T

T61_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
tag - Variable in class net.oauth.signature.pem.Asn1Object
 
TIMESTAMP_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
TO_HTTP_CODE - Static variable in class net.oauth.OAuth.Problems
A map from an oauth_problem value to the appropriate HTTP response code.
toIntegerBytes(BigInteger) - Static method in class net.oauth.signature.Base64
Returns a byte-array representation of a BigInteger without sign bit.
TOKEN_EXPIRED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_REVOKED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_USED - Static variable in class net.oauth.OAuth.Problems
 
tokenSecret - Variable in class net.oauth.OAuthAccessor
 
tokenSecret - Variable in class net.oauth.signature.OAuthSignatureMethod
 
toOAuthProblemException() - Method in class net.oauth.client.OAuthResponseMessage
Encapsulate this message as an exception.
toString() - Method in class net.oauth.OAuth.Parameter
 
toString(Object) - Static method in class net.oauth.OAuth
 
toString() - Method in class net.oauth.OAuthMessage
 
toString(Object) - Static method in class net.oauth.OAuthMessage
 
toString() - Method in exception net.oauth.OAuthProblemException
 
toString(Object) - Static method in class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
toString() - Method in class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
toString() - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
 
type - Variable in class net.oauth.signature.pem.Asn1Object
 

U

UNIVERSAL - Static variable in class net.oauth.signature.pem.DerParser
 
UNIVERSAL_STRING - Static variable in class net.oauth.signature.pem.DerParser
 
unregisterMethod(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
Subsequently, newMethod(name) will fail.
url - Variable in class net.oauth.http.HttpMessage
 
URL - Variable in class net.oauth.OAuthMessage
 
URL - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the request URL.
URLConnectionClient - Class in net.oauth.client
An HttpClient based on HttpURLConnection.
URLConnectionClient() - Constructor for class net.oauth.client.URLConnectionClient
 
URLConnectionResponse - Class in net.oauth.client
The response part of a URLConnection, encapsulated as an HttpMessage.
URLConnectionResponse(HttpMessage, String, byte[], URLConnection) - Constructor for class net.oauth.client.URLConnectionResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
UsedNonce(long, String...) - Constructor for class net.oauth.SimpleOAuthValidator.UsedNonce
Construct an object containing the given timestamp, nonce and other parameters.
usedNonces - Variable in class net.oauth.SimpleOAuthValidator
 
USER_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
userAuthorizationURL - Variable in class net.oauth.OAuthServiceProvider
 
UTC_TIME - Static variable in class net.oauth.signature.pem.DerParser
 
UTF8_STRING - Static variable in class net.oauth.signature.pem.DerParser
 

V

validate(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
Check whether the message has a valid signature.
validateMessage(OAuthMessage, OAuthAccessor) - Method in interface net.oauth.OAuthValidator
Check that the given message from the given accessor is valid.
validateMessage(OAuthMessage, OAuthAccessor) - Method in class net.oauth.SimpleOAuthValidator
validateNonce(OAuthMessage, long, long) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the nonce has been validated previously.
validateSignature(OAuthMessage, OAuthAccessor) - Method in class net.oauth.SimpleOAuthValidator
 
validateTimestamp(OAuthMessage, long, long) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the timestamp [sec] is out of range.
validateTimestampAndNonce(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the timestamp is out of range or the nonce has been validated previously.
validateVersion(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
 
value - Variable in class net.oauth.OAuth.Parameter
 
value - Variable in class net.oauth.signature.OAuthSignatureMethod.ComparableParameter
 
value - Variable in class net.oauth.signature.pem.Asn1Object
 
valueOf(String) - Static method in enum net.oauth.ParameterStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.oauth.ParameterStyle
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[]) - Method in class net.oauth.signature.RSA_SHA1
 
VERSION_1_0 - Static variable in class net.oauth.OAuth
 
VERSION_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
VIDEOTEX_STRING - Static variable in class net.oauth.signature.pem.DerParser
 

X

x - Variable in class net.oauth.signature.Base64
Place holder for the 3 bytes we're dealing with for our base64 logic.
X509_CERTIFICATE - Static variable in class net.oauth.signature.RSA_SHA1
 

_

_ACCESSOR - Static variable in class net.oauth.signature.OAuthSignatureMethod
 
A B C D E F G H I K L M N O P R S T U V X _ 
Skip navigation links