C# Class NServiceBus.ConfigureRijndaelEncryptionService

Contains extension methods to NServiceBus.Configure.
Datei anzeigen Open project: Particular/NServiceBus

Public Methods

Method Description
RegisterEncryptionService ( this config, Func func ) : void

Register a custom IEncryptionService to be used for message encryption.

RijndaelEncryptionService ( this config ) : void

Use 256 bit AES encryption based on the Rijndael cipher.

RijndaelEncryptionService ( this config, string encryptionKeyIdentifier, byte[]>.IDictionary keys, IList decryptionKeys = null ) : void

Use 256 bit AES encryption based on the Rijndael cipher.

RijndaelEncryptionService ( this config, string encryptionKeyIdentifier, byte encryptionKey, IList decryptionKeys = null ) : void

Use 256 bit AES encryption based on the Rijndael cipher.

Private Methods

Method Description
AddKeyIdentifierItems ( dynamic item, byte[]>.Dictionary result ) : void
BuildRijndaelEncryptionService ( string encryptionKeyIdentifier, byte[]>.IDictionary keys, IList expiredKeys ) : IEncryptionService
ConvertConfigToRijndaelService ( RijndaelEncryptionServiceConfig section ) : IEncryptionService
ExtractDecryptionKeysFromConfigSection ( RijndaelEncryptionServiceConfig section ) : List
ExtractKeysFromConfigSection ( RijndaelEncryptionServiceConfig section ) : byte[]>.Dictionary
GetEncryptionServiceConstructor ( this settings ) : Func
ParseKey ( string key, KeyFormat keyFormat ) : byte[]
ValidateConfigSection ( RijndaelEncryptionServiceConfig section ) : void
VerifyKeys ( List expiredKeys ) : void

Method Details

RegisterEncryptionService() public static method

Register a custom IEncryptionService to be used for message encryption.
public static RegisterEncryptionService ( this config, Func func ) : void
config this The instance to apply the settings to.
func Func /// A delegate that constructs the instance of to use for all /// encryption. ///
return void

RijndaelEncryptionService() public static method

Use 256 bit AES encryption based on the Rijndael cipher.
public static RijndaelEncryptionService ( this config ) : void
config this The instance to apply the settings to.
return void

RijndaelEncryptionService() public static method

Use 256 bit AES encryption based on the Rijndael cipher.
public static RijndaelEncryptionService ( this config, string encryptionKeyIdentifier, byte[]>.IDictionary keys, IList decryptionKeys = null ) : void
config this
encryptionKeyIdentifier string
keys byte[]>.IDictionary
decryptionKeys IList
return void

RijndaelEncryptionService() public static method

Use 256 bit AES encryption based on the Rijndael cipher.
public static RijndaelEncryptionService ( this config, string encryptionKeyIdentifier, byte encryptionKey, IList decryptionKeys = null ) : void
config this The instance to apply the settings to.
encryptionKeyIdentifier string Encryption key identifier.
encryptionKey byte Encryption Key.
decryptionKeys IList A list of decryption keys.
return void