| java.lang.Object | |
| ↳ | com.google.gdata.client.authn.oauth.OAuthRsaSha1Signer |
Signs strings using RSA-SHA1.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| privateKey | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for
OAuthRsaSha1Signer. | |||||||||||
Sets the RSA-SHA1 private key object used to sign this request.
| |||||||||||
Sets the RSA-SHA1 private key object used to sign this request.
| |||||||||||
Sets the RSA-SHA1 private key object used to sign this request.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Signs the input string using the appropriate signature method.
| |||||||||||
Gets the signature method for this specific implementation.
| |||||||||||
Sets the java.security.PrivateKey used to sign requests.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.client.authn.oauth.OAuthSigner
| |||||||||||
Constructor for OAuthRsaSha1Signer. This form of the constructor
does not set the private key, so be sure to call
setPrivateKey(PrivateKey) before signing requests.
Sets the RSA-SHA1 private key object used to sign this request.
| privateKey | The java.security.PrivateKey to use to initialize the signer. |
|---|
| OAuthException | if setting the private key fails |
|---|
Sets the RSA-SHA1 private key object used to sign this request.
| privateKeyString | The Base-64 encoded private key string conforming to the PKCS #8 standard. |
|---|
| OAuthException | if setting the private key fails |
|---|
Sets the RSA-SHA1 private key object used to sign this request.
| privateKeyBytes | The Base-64 encoded private key conforming to the PKCS #8 standard. |
|---|
| OAuthException | if setting the private key fails |
|---|
Signs the input string using the appropriate signature method.
| baseString | The string to sign |
|---|---|
| oauthParameters | The parameters related to the OAuth request or
null |
| OAuthException |
|---|
Gets the signature method for this specific implementation.
Sets the java.security.PrivateKey used to sign requests.
| privateKey |
|---|
| OAuthException | if the private key is null. |
|---|