Package | Description |
---|---|
org.glassfish.jersey.oauth1.signature |
Jersey OAuth 1 Signature API and Implementation.
|
Modifier and Type | Method and Description |
---|---|
OAuth1Secrets |
OAuth1Secrets.clone() |
OAuth1Secrets |
OAuth1Secrets.consumerSecret(String consumerSecret)
Builder pattern method to return
OAuth1Secrets after setting
consumer secret. |
OAuth1Secrets |
OAuth1Secrets.tokenSecret(String tokenSecret)
Builder pattern method to return
OAuth1Secrets after setting
consumer secret. |
Modifier and Type | Method and Description |
---|---|
String |
OAuth1Signature.generate(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets secrets)
Generates and returns an OAuth signature for the given request,
parameters and secrets.
|
void |
OAuth1Signature.sign(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets secrets)
Generates an OAuth signature for the given request, parameters and
secrets, and stores it as a signature parameter, and writes the
OAuth parameters to the request as an Authorization header.
|
String |
PlaintextMethod.sign(String baseString,
OAuth1Secrets secrets)
Generates the PLAINTEXT signature.
|
String |
HmaSha1Method.sign(String baseString,
OAuth1Secrets secrets)
Generates the HMAC-SHA1 signature of OAuth request elements.
|
String |
OAuth1SignatureMethod.sign(String baseString,
OAuth1Secrets secrets)
Signs the data using the supplied secret(s).
|
String |
RsaSha1Method.sign(String baseString,
OAuth1Secrets secrets)
Generates the RSA-SHA1 signature of OAuth request elements.
|
boolean |
OAuth1Signature.verify(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets secrets)
Verifies the OAuth signature for a given request, parameters and
secrets.
|
boolean |
PlaintextMethod.verify(String elements,
OAuth1Secrets secrets,
String signature)
Verifies the Plaintext signature.
|
boolean |
HmaSha1Method.verify(String elements,
OAuth1Secrets secrets,
String signature)
Verifies the HMAC-SHA1 signature of OAuth request elements.
|
boolean |
OAuth1SignatureMethod.verify(String elements,
OAuth1Secrets secrets,
String signature)
Verifies the signature for the data using the supplied secret(s).
|
boolean |
RsaSha1Method.verify(String elements,
OAuth1Secrets secrets,
String signature)
Verifies the RSA-SHA1 signature of OAuth request elements.
|
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.