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