diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-05 17:47:41 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-05 17:47:41 -0800 |
commit | d24fb316aa70134a9c2b1045b4b5f7d8277573b4 (patch) | |
tree | 8e50b5f33b0703c8e29d55482f098ea9dd1cbd81 /src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | |
parent | b3277520e13e1890e54a70551a14a360db553282 (diff) | |
download | DotNetOpenAuth-d24fb316aa70134a9c2b1045b4b5f7d8277573b4.zip DotNetOpenAuth-d24fb316aa70134a9c2b1045b4b5f7d8277573b4.tar.gz DotNetOpenAuth-d24fb316aa70134a9c2b1045b4b5f7d8277573b4.tar.bz2 |
StyleCop fixes.
Diffstat (limited to 'src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs')
-rw-r--r-- | src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs index e26e25c..f874363 100644 --- a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs +++ b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs @@ -73,6 +73,10 @@ namespace DotNetOpenAuth.OAuth.ChannelElements { /// Signs the outgoing message. /// </summary> /// <param name="message">The message to sign.</param> + /// <returns> + /// The protections (if any) that this binding element applied to the message. + /// Null if this binding element did not even apply to this binding element. + /// </returns> public MessageProtections? PrepareMessageForSending(IProtocolMessage message) { var signedMessage = message as ITamperResistantOAuthMessage; if (signedMessage != null && this.IsMessageApplicable(signedMessage)) { @@ -95,6 +99,10 @@ namespace DotNetOpenAuth.OAuth.ChannelElements { /// Verifies the signature on an incoming message. /// </summary> /// <param name="message">The message whose signature should be verified.</param> + /// <returns> + /// The protections (if any) that this binding element applied to the message. + /// Null if this binding element did not even apply to this binding element. + /// </returns> /// <exception cref="InvalidSignatureException">Thrown if the signature is invalid.</exception> public MessageProtections? PrepareMessageForReceiving(IProtocolMessage message) { var signedMessage = message as ITamperResistantOAuthMessage; |