diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-09 09:25:01 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-09 09:25:01 -0700 |
commit | 48f927b47a0d0c3c72c41df6ed6eefc01c8c0d15 (patch) | |
tree | 0628ec8e4d97b56915f8173d42678e86cfc4c415 /src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | |
parent | d1e9e64563fa330719c0b70be6b81fb5f9fd1ab4 (diff) | |
download | DotNetOpenAuth-48f927b47a0d0c3c72c41df6ed6eefc01c8c0d15.zip DotNetOpenAuth-48f927b47a0d0c3c72c41df6ed6eefc01c8c0d15.tar.gz DotNetOpenAuth-48f927b47a0d0c3c72c41df6ed6eefc01c8c0d15.tar.bz2 |
Removed dependency on publicize.exe, which crashes now in some branches due to bugs, and publicize.exe doesn't appear to be supported by Microsoft any more, so we might as well get off it.
Diffstat (limited to 'src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs')
-rw-r--r-- | src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs index cf09036..fdf6e08 100644 --- a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs +++ b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs @@ -234,6 +234,18 @@ namespace DotNetOpenAuth.OAuth.ChannelElements { } /// <summary> + /// Calculates a signature for a given message. + /// </summary> + /// <param name="message">The message to sign.</param> + /// <returns>The signature for the message.</returns> + /// <remarks> + /// This method signs the message per OAuth 1.0 section 9.2. + /// </remarks> + internal string GetSignatureTestHook(ITamperResistantOAuthMessage message) { + return this.GetSignature(message); + } + + /// <summary> /// Gets the "ConsumerSecret&TokenSecret" string, allowing either property to be empty or null. /// </summary> /// <param name="message">The message to extract the secrets from.</param> |