Uses of Class
org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Package
Description
Jersey OAuth 1 Signature API and Implementation.
-
Uses of OAuth1Secrets in org.glassfish.jersey.oauth1.signature
Modifier and TypeMethodDescriptionOAuth1Secrets.clone()
OAuth1Secrets.consumerSecret
(String consumerSecret) Builder pattern method to returnOAuth1Secrets
after setting consumer secret.OAuth1Secrets.tokenSecret
(String tokenSecret) Builder pattern method to returnOAuth1Secrets
after setting consumer secret.Modifier and TypeMethodDescriptionOAuth1Signature.generate
(OAuth1Request request, OAuth1Parameters params, OAuth1Secrets secrets) Generates and returns an OAuth signature for the given request, parameters and secrets.HmaSha1Method.sign
(String baseString, OAuth1Secrets secrets) Generates the HMAC-SHA1 signature of OAuth request elements.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.OAuth1SignatureMethod.sign
(String baseString, OAuth1Secrets secrets) Signs the data using the supplied secret(s).PlaintextMethod.sign
(String baseString, OAuth1Secrets secrets) Generates the PLAINTEXT signature.RsaSha1Method.sign
(String baseString, OAuth1Secrets secrets) Generates the RSA-SHA1 signature of OAuth request elements.boolean
HmaSha1Method.verify
(String elements, OAuth1Secrets secrets, String signature) Verifies the HMAC-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
OAuth1SignatureMethod.verify
(String elements, OAuth1Secrets secrets, String signature) Verifies the signature for the data using the supplied secret(s).boolean
PlaintextMethod.verify
(String elements, OAuth1Secrets secrets, String signature) Verifies the Plaintext signature.boolean
RsaSha1Method.verify
(String elements, OAuth1Secrets secrets, String signature) Verifies the RSA-SHA1 signature of OAuth request elements.