//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth.ChannelElements {
using System;
using System.Diagnostics.Contracts;
using DotNetOpenAuth.Messaging;
///
/// Code Contract for the class.
///
[ContractClassFor(typeof(SigningBindingElementBase))]
internal abstract class SigningBindingElementBaseContract : SigningBindingElementBase {
///
/// Prevents a default instance of the SigningBindingElementBaseContract class from being created.
///
private SigningBindingElementBaseContract()
: base(string.Empty) {
}
///
/// Clones this instance.
///
/// A new instance of the binding element.
///
/// Implementations of this method need not clone the SignatureVerificationCallback member, as the
/// class does this.
///
protected override ITamperProtectionChannelBindingElement Clone() {
throw new NotImplementedException();
}
///
/// Calculates a signature for a given message.
///
/// The message to sign.
/// The signature for the message.
protected override string GetSignature(ITamperResistantOAuthMessage message) {
Requires.NotNull(message, "message");
Requires.ValidState(this.Channel != null);
throw new NotImplementedException();
}
}
}