internal static List<byte[]> ExtractDecryptionKeysFromConfigSection(RijndaelEncryptionServiceConfig section) { var o = new List<byte[]>(); o.Add(ParseKey(section.Key, section.KeyFormat)); o.AddRange(section.ExpiredKeys .Cast<RijndaelExpiredKey>() .Select(x => ParseKey(x.Key, x.KeyFormat))); return o; }