NServiceBus.ConfigureRijndaelEncryptionService.AddKeyIdentifierItems C# (CSharp) Method

AddKeyIdentifierItems() static private method

static private AddKeyIdentifierItems ( dynamic item, byte[]>.Dictionary result ) : void
item dynamic
result byte[]>.Dictionary
return void
        static void AddKeyIdentifierItems(dynamic item, Dictionary<string, byte[]> result)
        {
            if (!string.IsNullOrEmpty(item.KeyIdentifier))
            {
                var key = ParseKey(item.Key, item.KeyFormat);
                result.Add(item.KeyIdentifier, key);
            }
        }