internal static IEncryptionService ConvertConfigToRijndaelService(RijndaelEncryptionServiceConfig section) { ValidateConfigSection(section); var keys = ExtractKeysFromConfigSection(section); var decryptionKeys = ExtractDecryptionKeysFromConfigSection(section); return BuildRijndaelEncryptionService( section.KeyIdentifier, keys, decryptionKeys ); }