1
//-----------------------------------------------------------------------
2 // <copyright file="IPrivateSecretStore.cs" company="Andrew Arnott">
3 // Copyright (c) Andrew Arnott. All rights reserved.
5 //-----------------------------------------------------------------------
7 namespace DotNetOpenAuth
.OpenId
.ChannelElements
{
8 using System
.Diagnostics
.CodeAnalysis
;
11 /// Provides access to and persists a private secret that is used for signing.
13 public interface IPrivateSecretStore
{
15 /// Gets or sets a secret key that can be used for signing.
17 /// <value>A 64-byte binary value, which may contain null bytes.</value>
18 [SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification
= "This is a buffer.")]
19 byte[] PrivateSecret { get; set; }