3 writes to ValidationAlgorithm
Microsoft.AspNetCore.DataProtection (1)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
40
configuration.
ValidationAlgorithm
= (ValidationAlgorithm)Enum.Parse(typeof(ValidationAlgorithm), (string)validationElement.Attribute("algorithm")!);
Microsoft.AspNetCore.DataProtection.Tests (2)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
22
ValidationAlgorithm
= ValidationAlgorithm.HMACSHA512
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (1)
193
ValidationAlgorithm
= validationAlgorithm
3 references to ValidationAlgorithm
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (2)
88
HashAlgorithm = GetBCryptAlgorithmNameFromValidationAlgorithm(authenticatedConfiguration.
ValidationAlgorithm
)
100
ValidationAlgorithmType = GetManagedTypeFromValidationAlgorithm(authenticatedConfiguration.
ValidationAlgorithm
)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (1)
49
new XAttribute("algorithm", Configuration.
ValidationAlgorithm
));