CngGcmAuthenticatedEncryptorConfiguration Class
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.
Represents a configured authenticated encryption mechanism which uses Windows CNG algorithms in GCM encryption + authentication modes.
public ref class CngGcmAuthenticatedEncryptorConfiguration sealed
public ref class CngGcmAuthenticatedEncryptorConfiguration sealed : Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::AlgorithmConfiguration
public sealed class CngGcmAuthenticatedEncryptorConfiguration
public sealed class CngGcmAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
type CngGcmAuthenticatedEncryptorConfiguration = class
interface IAuthenticatedEncryptorConfiguration
type CngGcmAuthenticatedEncryptorConfiguration = class
inherit AlgorithmConfiguration
Public NotInheritable Class CngGcmAuthenticatedEncryptorConfiguration
Public NotInheritable Class CngGcmAuthenticatedEncryptorConfiguration
Inherits AlgorithmConfiguration
- Inheritance
-
CngGcmAuthenticatedEncryptorConfiguration
- Inheritance
- Implements
Constructors
Properties
EncryptionAlgorithm |
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. |
EncryptionAlgorithmKeySize |
The length (in bits) of the key that will be used for symmetric encryption. This property is required to have a value. |
EncryptionAlgorithmProvider |
The name of the provider which contains the implementation of the symmetric encryption algorithm. This property corresponds to the 'pszImplementation' parameter of BCryptOpenAlgorithmProvider. This property is optional. |
Settings |
Methods
CreateNewDescriptor() |
Creates a new IAuthenticatedEncryptorDescriptor instance based on this configuration. The newly-created instance contains unique key material and is distinct from all other descriptors created by the CreateNewDescriptor() method. |