Class OAuthRsaSigner (1.36.0)

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
Type Description
PrivateKey

Methods

computeSignature(String signatureBaseString)

public String computeSignature(String signatureBaseString)

Returns the signature computed from the given signature base string.

Parameter
Name Description
signatureBaseString String
Returns
Type Description
String
Exceptions
Type Description
GeneralSecurityException

getSignatureMethod()

public String getSignatureMethod()

Returns the signature method.

Returns
Type Description
String