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 ornullfor none.Token-shared secret ornullfor 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:OAuthSignerReturns the signature method.- Specified by:
getSignatureMethodin interfaceOAuthSigner
-
computeSignature
Description copied from interface:OAuthSignerReturns the signature computed from the given signature base string.- Specified by:
computeSignaturein interfaceOAuthSigner- Throws:
GeneralSecurityException- general security exception
-