AuthenticatedEncryptorDescriptor 构造函数

定义

重载

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptionSettings, ISecret)
AuthenticatedEncryptorDescriptor(AuthenticatedEncryptorConfiguration, ISecret)

初始化 AuthenticatedEncryptorDescriptor 的新实例。

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptionSettings, ISecret, IServiceProvider)

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)

参数

masterKey
ISecret

适用于

AuthenticatedEncryptorDescriptor(AuthenticatedEncryptorConfiguration, ISecret)

Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs
Source:
AuthenticatedEncryptorDescriptor.cs

初始化 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)

参数

masterKey
ISecret
services
IServiceProvider

适用于