Taylohtio/GeneralSSO/GeneralSSO.Server/CodeFiles/Repositories/ISymmetricCryptoKeyReposito...

16 lines
491 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Taloyhtio.GeneralSSO.Server.CodeFiles.Entities;
namespace Taloyhtio.GeneralSSO.Server.CodeFiles.Repositories
{
public interface ISymmetricCryptoKeyRepository : IRepository<SymmetricCryptoKey, int>
{
SymmetricCryptoKey GetBy(string bucket, string handle);
IEnumerable<SymmetricCryptoKey> GetByOrderedByExpirationDesc(string bucket);
}
}