OAuthSigner@Beta public final class OAuthRsaSigner extends Object implements OAuthSigner
Beta "RSA-SHA1" signature method.
The private key may be loaded using the utilities in SecurityUtils.
| Modifier and Type | Field | Description |
|---|---|---|
PrivateKey |
privateKey |
Private key.
|
| Constructor | Description |
|---|---|
OAuthRsaSigner() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
computeSignature(String signatureBaseString) |
Returns the signature computed from the given signature base string.
|
String |
getSignatureMethod() |
Returns the signature method.
|
public PrivateKey privateKey
public String getSignatureMethod()
OAuthSignergetSignatureMethod in interface OAuthSignerpublic String computeSignature(String signatureBaseString) throws GeneralSecurityException
OAuthSignercomputeSignature in interface OAuthSignerGeneralSecurityException - general security exceptionCopyright © 2011–2019 Google. All rights reserved.