CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithm Property

Definition

The name of the algorithm to use for symmetric encryption. This property corresponds to the 'pszAlgId' parameter of BCryptOpenAlgorithmProvider. This property is required to have a value.

public:
 property System::String ^ EncryptionAlgorithm { System::String ^ get(); void set(System::String ^ value); };
public string EncryptionAlgorithm { get; set; }
member this.EncryptionAlgorithm : string with get, set
Public Property EncryptionAlgorithm As String

Property Value

String

Remarks

The algorithm must support GCM-style encryption and must have a block size exactly 128 bits. The default value is 'AES'.

Applies to