Package com.google.api.client.auth.oauth
Class OAuthRsaSigner
java.lang.Object
com.google.api.client.auth.oauth.OAuthRsaSigner
- All Implemented Interfaces:
OAuthSigner
Beta OAuth
"RSA-SHA1" signature method.
The private key may be loaded using the utilities in SecurityUtils.
- Since:
- 1.0
-
Field Summary
Fields -
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
-
privateKey
Private key.
-
-
Constructor Details
-
OAuthRsaSigner
public OAuthRsaSigner()
-
-
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
-