ManagedAuthenticatedEncryptorDescriptor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ManagedAuthenticatedEncryptorDescriptor(ManagedAuthenticatedEncryptorConfiguration, ISecret)
初始化 ManagedAuthenticatedEncryptorDescriptor 的新執行個體。
public:
ManagedAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::ManagedAuthenticatedEncryptorConfiguration ^ configuration, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey);
public ManagedAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration configuration, Microsoft.AspNetCore.DataProtection.ISecret masterKey);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration * Microsoft.AspNetCore.DataProtection.ISecret -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor
Public Sub New (configuration As ManagedAuthenticatedEncryptorConfiguration, masterKey As ISecret)
參數
- configuration
- ManagedAuthenticatedEncryptorConfiguration
- masterKey
- ISecret
主要金鑰。
適用於
ManagedAuthenticatedEncryptorDescriptor(ManagedAuthenticatedEncryptionSettings, ISecret)
public:
ManagedAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ManagedAuthenticatedEncryptionSettings ^ settings, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey);
public ManagedAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptionSettings settings, Microsoft.AspNetCore.DataProtection.ISecret masterKey);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptionSettings * Microsoft.AspNetCore.DataProtection.ISecret -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor
Public Sub New (settings As ManagedAuthenticatedEncryptionSettings, masterKey As ISecret)
參數
- masterKey
- ISecret
適用於
ManagedAuthenticatedEncryptorDescriptor(ManagedAuthenticatedEncryptionSettings, ISecret, IServiceProvider)
public:
ManagedAuthenticatedEncryptorDescriptor(Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ManagedAuthenticatedEncryptionSettings ^ settings, Microsoft::AspNetCore::DataProtection::ISecret ^ masterKey, IServiceProvider ^ services);
public ManagedAuthenticatedEncryptorDescriptor (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptionSettings settings, Microsoft.AspNetCore.DataProtection.ISecret masterKey, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptionSettings * Microsoft.AspNetCore.DataProtection.ISecret * IServiceProvider -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor
Public Sub New (settings As ManagedAuthenticatedEncryptionSettings, masterKey As ISecret, services As IServiceProvider)
參數
- masterKey
- ISecret
- services
- IServiceProvider