C# Класс NServiceBus.RijndaelEncryptionService

Наследование: IEncryptionService
Показать файл Открыть проект

Открытые методы

Метод Описание
Decrypt ( NServiceBus.EncryptedValue encryptedValue, IIncomingLogicalMessageContext context ) : string
Encrypt ( string value, IOutgoingLogicalMessageContext context ) : NServiceBus.EncryptedValue
RijndaelEncryptionService ( string encryptionKeyIdentifier, byte[]>.IDictionary keys, IList decryptionKeys ) : System

Защищенные методы

Метод Описание
AddKeyIdentifierHeader ( IOutgoingLogicalMessageContext context ) : void
ConfigureIV ( RijndaelManaged rijndael ) : void
TryGetKeyIdentifierHeader ( string &keyIdentifier, IIncomingLogicalMessageContext context ) : bool

Приватные методы

Метод Описание
Decrypt ( NServiceBus.EncryptedValue encryptedValue, byte key ) : string
DecryptUsingAllKeys ( NServiceBus.EncryptedValue encryptedValue ) : string
DecryptUsingKeyIdentifier ( NServiceBus.EncryptedValue encryptedValue, string keyIdentifier ) : string
IsValidKey ( byte key ) : bool
VerifyEncryptionKey ( byte key ) : void
VerifyExpiredKeys ( IList keys ) : void

Описание методов

AddKeyIdentifierHeader() защищенный Метод

protected AddKeyIdentifierHeader ( IOutgoingLogicalMessageContext context ) : void
context IOutgoingLogicalMessageContext
Результат void

ConfigureIV() защищенный Метод

protected ConfigureIV ( RijndaelManaged rijndael ) : void
rijndael System.Security.Cryptography.RijndaelManaged
Результат void

Decrypt() публичный Метод

public Decrypt ( NServiceBus.EncryptedValue encryptedValue, IIncomingLogicalMessageContext context ) : string
encryptedValue NServiceBus.EncryptedValue
context IIncomingLogicalMessageContext
Результат string

Encrypt() публичный Метод

public Encrypt ( string value, IOutgoingLogicalMessageContext context ) : NServiceBus.EncryptedValue
value string
context IOutgoingLogicalMessageContext
Результат NServiceBus.EncryptedValue

RijndaelEncryptionService() публичный Метод

public RijndaelEncryptionService ( string encryptionKeyIdentifier, byte[]>.IDictionary keys, IList decryptionKeys ) : System
encryptionKeyIdentifier string
keys byte[]>.IDictionary
decryptionKeys IList
Результат System

TryGetKeyIdentifierHeader() защищенный Метод

protected TryGetKeyIdentifierHeader ( string &keyIdentifier, IIncomingLogicalMessageContext context ) : bool
keyIdentifier string
context IIncomingLogicalMessageContext
Результат bool