summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/HmacSha384Association.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId/HmacSha384Association.cs')
-rw-r--r--src/DotNetOpenId/HmacSha384Association.cs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/DotNetOpenId/HmacSha384Association.cs b/src/DotNetOpenId/HmacSha384Association.cs
deleted file mode 100644
index 054a0df..0000000
--- a/src/DotNetOpenId/HmacSha384Association.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Security.Cryptography;
-using System.Diagnostics;
-
-namespace DotNetOpenId {
- class HmacSha384Association : Association {
- public HmacSha384Association(string handle, byte[] secret, TimeSpan totalLifeLength)
- : base(handle, secret, totalLifeLength, DateTime.UtcNow) {
- Debug.Assert(secret.Length == CryptUtil.Sha384.HashSize / 8);
- }
-
- protected override HashAlgorithm CreateHasher() {
- return new HMACSHA384(SecretKey);
- }
-
- internal override string GetAssociationType(Protocol protocol) {
- return protocol.Args.SignatureAlgorithm.HMAC_SHA384;
- }
- }
-}