Class OAuthRsaSigner (1.33.3)

public final class OAuthRsaSigner implements OAuthSigner

Beta
OAuth "RSA-SHA1" signature method.

The private key may be loaded using the utilities in SecurityUtils.

Inheritance

java.lang.Object > OAuthRsaSigner

Implements

OAuthSigner

Constructors

OAuthRsaSigner()

public OAuthRsaSigner()

Fields

privateKey

public PrivateKey privateKey

Private key.

Field Value
TypeDescription
PrivateKey

Methods

computeSignature(String signatureBaseString)

public String computeSignature(String signatureBaseString)

Returns the signature computed from the given signature base string.

Parameter
NameDescription
signatureBaseStringString
Returns
TypeDescription
String
Exceptions
TypeDescription
GeneralSecurityException

getSignatureMethod()

public String getSignatureMethod()

Returns the signature method.

Returns
TypeDescription
String