CngCbcAuthenticatedEncryptorDescriptor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CngCbcAuthenticatedEncryptorDescriptor(CngCbcAuthenticatedEncryptionSettings, ISecret)
public:
CngCbcAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::CngCbcAuthenticatedEncryptionSettings ^ settings, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey);
public CngCbcAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptionSettings settings, Microsoft.AspNetCore.DataProtection.ISecret masterKey);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptionSettings * Microsoft.AspNetCore.DataProtection.ISecret -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor
Public Sub New (settings As CngCbcAuthenticatedEncryptionSettings, masterKey As ISecret)
参数
- masterKey
- ISecret
适用于
CngCbcAuthenticatedEncryptorDescriptor(CngCbcAuthenticatedEncryptorConfiguration, ISecret)
初始化 CngCbcAuthenticatedEncryptorDescriptor 的新实例。
public:
CngCbcAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::CngCbcAuthenticatedEncryptorConfiguration ^ configuration, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey);
public CngCbcAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration * Microsoft.AspNetCore.DataProtection.ISecret -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor
Public Sub New (configuration As CngCbcAuthenticatedEncryptorConfiguration, masterKey As ISecret)
参数
- masterKey
- ISecret
主密钥。
适用于
CngCbcAuthenticatedEncryptorDescriptor(CngCbcAuthenticatedEncryptionSettings, ISecret, IServiceProvider)
public:
CngCbcAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::CngCbcAuthenticatedEncryptionSettings ^ settings, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey, IServiceProvider ^ services);
public CngCbcAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptionSettings settings, Microsoft.AspNetCore.DataProtection.ISecret masterKey, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptionSettings * Microsoft.AspNetCore.DataProtection.ISecret * IServiceProvider -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor
Public Sub New (settings As CngCbcAuthenticatedEncryptionSettings, masterKey As ISecret, services As IServiceProvider)
参数
- masterKey
- ISecret
- services
- IServiceProvider