4 references to FriendlyNameToType
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (2)
35
configuration.EncryptionAlgorithmType = ManagedAlgorithmHelpers.
FriendlyNameToType
((string)encryptionElement.Attribute("algorithm")!);
39
configuration.ValidationAlgorithmType = ManagedAlgorithmHelpers.
FriendlyNameToType
((string)validationElement.Attribute("algorithm")!);
RegistryPolicyResolver.cs (2)
180
options.EncryptionAlgorithmType = ManagedAlgorithmHelpers.
FriendlyNameToType
(Convert.ToString(valueFromRegistry, CultureInfo.InvariantCulture)!);
192
options.ValidationAlgorithmType = ManagedAlgorithmHelpers.
FriendlyNameToType
(Convert.ToString(valueFromRegistry, CultureInfo.InvariantCulture)!);