blob: 0cb880d5c24d55350d9b351ef24305311ed8703a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//-----------------------------------------------------------------------
// <copyright file="TestSignedDirectedMessage.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOAuth.Test.Mocks {
using DotNetOAuth.Messaging;
using DotNetOAuth.Messaging.Bindings;
using DotNetOAuth.Messaging.Reflection;
internal class TestSignedDirectedMessage : TestDirectedMessage, ITamperResistantProtocolMessage {
internal TestSignedDirectedMessage() { }
internal TestSignedDirectedMessage(MessageTransport transport)
: base(transport) {
}
#region ISignedProtocolMessage Members
[MessagePart]
public string Signature {
get;
set;
}
#endregion
protected override MessageProtections RequiredProtection {
get { return MessageProtections.TamperProtection; }
}
}
}
|