//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOAuth.Messaging {
using System;
using DotNetOAuth.ChannelElements;
///
/// An interface that must be implemented by message transforms/validators in order
/// to be included in the channel stack.
///
public interface ITamperProtectionChannelBindingElement : IChannelBindingElement {
///
/// Gets or sets the delegate that will initialize the non-serialized properties necessary on a signed
/// message so that its signature can be correctly calculated for verification.
/// May be null for Consumers (who never have to verify signatures).
///
Action SignatureVerificationCallback { get; set; }
}
}