/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Serialization/ISymmetricKeyProvider.cs
17 строк
644 B
Chris Patterson
Integration of all external packages into MassTransit, split out into Abstractions, Middleware, and the core MassTransit assembly.
22 янв 2022, 18:24
22 янв 2022, 18:24
b5b4f50
Код
Авторство
О чём код?
namespace MassTransit.Serialization { /// <summary> /// Returns the symmetric key used to encrypt or decrypt messages /// </summary> public interface ISymmetricKeyProvider { /// <summary> /// Return the specified key, if found. When using Symmetric key encryption, the default key is used /// unless the transport header contains a specific key identifier for the message. /// </summary> /// <param name="id">The key id</param> /// <param name="key">The symmetric key</param> /// <returns></returns> bool TryGetKey(string id, out SymmetricKey key); } }