AuthenticatedEncryptorConfiguration.ValidationAlgorithm Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The algorithm to use for message authentication (tamper-proofing).
public:
property Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ValidationAlgorithm ValidationAlgorithm { Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ValidationAlgorithm get(); void set(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ValidationAlgorithm value); };
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm ValidationAlgorithm { get; set; }
member this.ValidationAlgorithm : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm with get, set
Public Property ValidationAlgorithm As ValidationAlgorithm
Property Value
Remarks
The default value is HMACSHA256. This property is ignored if EncryptionAlgorithm specifies a 'GCM' algorithm.