Package com.google.api.client.auth.oauth
Class OAuthHmacSigner
java.lang.Object
com.google.api.client.auth.oauth.OAuthHmacSigner
- All Implemented Interfaces:
OAuthSigner
Beta
OAuth
"HMAC-SHA1"
signature method.- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionClient-shared secret ornull
for none.Token-shared secret ornull
for none. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeSignature
(String signatureBaseString) Returns the signature computed from the given signature base string.Returns the signature method.
-
Field Details
-
Constructor Details
-
OAuthHmacSigner
public OAuthHmacSigner()
-
-
Method Details
-
getSignatureMethod
Description copied from interface:OAuthSigner
Returns the signature method.- Specified by:
getSignatureMethod
in interfaceOAuthSigner
-
computeSignature
Description copied from interface:OAuthSigner
Returns the signature computed from the given signature base string.- Specified by:
computeSignature
in interfaceOAuthSigner
- Throws:
GeneralSecurityException
- general security exception
-