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