summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs
index cf0fb9c..fd2ad65 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1RsaSha1HttpMessageHandler.cs
@@ -25,6 +25,16 @@ namespace DotNetOpenAuth.OAuth {
public X509Certificate2 SigningCertificate { get; set; }
/// <summary>
+ /// Gets the signature method to include in the oauth_signature_method parameter.
+ /// </summary>
+ /// <value>
+ /// The signature method.
+ /// </value>
+ protected override string SignatureMethod {
+ get { return "RSA-SHA1"; }
+ }
+
+ /// <summary>
/// Calculates the signature for the specified buffer.
/// </summary>
/// <param name="signedPayload">The payload to calculate the signature for.</param>
@@ -37,15 +47,5 @@ namespace DotNetOpenAuth.OAuth {
byte[] binarySignature = provider.SignData(signedPayload, "SHA1");
return binarySignature;
}
-
- /// <summary>
- /// Gets the signature method to include in the oauth_signature_method parameter.
- /// </summary>
- /// <value>
- /// The signature method.
- /// </value>
- protected override string SignatureMethod {
- get { return "RSA-SHA1"; }
- }
}
}