com.google.api.client.auth.oauth
Class OAuthRsaSigner
java.lang.Object
com.google.api.client.auth.oauth.OAuthRsaSigner
- All Implemented Interfaces:
- OAuthSigner
public final class OAuthRsaSigner
- extends Object
- implements OAuthSigner
OAuth "RSA-SHA1" signature method.
The private key may be retrieved using the utilities in RsaSha.
- Since:
- 1.0
- Author:
- Yaniv Inbar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
privateKey
public PrivateKey privateKey
- Private key.
OAuthRsaSigner
public OAuthRsaSigner()
getSignatureMethod
public String getSignatureMethod()
- Description copied from interface:
OAuthSigner
- Returns the signature method.
- Specified by:
getSignatureMethod in interface OAuthSigner
computeSignature
public String computeSignature(String signatureBaseString)
throws GeneralSecurityException
- Description copied from interface:
OAuthSigner
- Returns the signature computed from the given signature base string.
- Specified by:
computeSignature in interface OAuthSigner
- Throws:
GeneralSecurityException - general security exception
Copyright © 2010-2011 Google. All Rights Reserved.