blob: 55ce9816fe596bcd5810ce1982e76e3ebfad4d05 (
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
|
//-----------------------------------------------------------------------
// <copyright file="RsaSha1SigningBindingElement.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OAuth.ChannelElements {
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using DotNetOpenAuth.Messaging;
/// <summary>
/// A binding element that signs outgoing messages and verifies the signature on incoming messages.
/// </summary>
public abstract class RsaSha1SigningBindingElement : SigningBindingElementBase {
/// <summary>
/// The name of the hash algorithm to use.
/// </summary>
protected const string HashAlgorithmName = "RSA-SHA1";
/// <summary>
/// Initializes a new instance of the <see cref="RsaSha1SigningBindingElement"/> class.
/// </summary>
protected RsaSha1SigningBindingElement()
: base(HashAlgorithmName) {
}
}
}
|