Share via


AuthenticatedEncryptorConfiguration.ValidationAlgorithm Property

Definition

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.

Applies to