次の方法で共有


CngGcmAuthenticatedEncryptorConfiguration クラス

定義

GCM 暗号化 + 認証モードで Windows CNG アルゴリズムを使用する、構成された認証された暗号化メカニズムを表します。

public ref class CngGcmAuthenticatedEncryptorConfiguration sealed
public ref class CngGcmAuthenticatedEncryptorConfiguration sealed : Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::AlgorithmConfiguration
public sealed class CngGcmAuthenticatedEncryptorConfiguration
public sealed class CngGcmAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
type CngGcmAuthenticatedEncryptorConfiguration = class
    interface IAuthenticatedEncryptorConfiguration
type CngGcmAuthenticatedEncryptorConfiguration = class
    inherit AlgorithmConfiguration
Public NotInheritable Class CngGcmAuthenticatedEncryptorConfiguration
Public NotInheritable Class CngGcmAuthenticatedEncryptorConfiguration
Inherits AlgorithmConfiguration
継承
CngGcmAuthenticatedEncryptorConfiguration
継承
CngGcmAuthenticatedEncryptorConfiguration
実装

コンストラクター

CngGcmAuthenticatedEncryptorConfiguration()

GCM 暗号化 + 認証モードで Windows CNG アルゴリズムを使用する、構成された認証された暗号化メカニズムを表します。

CngGcmAuthenticatedEncryptorConfiguration(CngGcmAuthenticatedEncryptionSettings)

GCM 暗号化 + 認証モードで Windows CNG アルゴリズムを使用する、構成された認証された暗号化メカニズムを表します。

CngGcmAuthenticatedEncryptorConfiguration(CngGcmAuthenticatedEncryptionSettings, IServiceProvider)

GCM 暗号化 + 認証モードで Windows CNG アルゴリズムを使用する、構成された認証された暗号化メカニズムを表します。

プロパティ

EncryptionAlgorithm

対称暗号化に使用するアルゴリズムの名前。 このプロパティは、BCryptOpenAlgorithmProvider の 'pszAlgId' パラメーターに対応します。 このプロパティは、値を持つ必要があります。

EncryptionAlgorithmKeySize

対称暗号化に使用されるキーの長さ (ビット単位)。 このプロパティは、値を持つ必要があります。

EncryptionAlgorithmProvider

対称暗号化アルゴリズムの実装を含むプロバイダーの名前。 このプロパティは、BCryptOpenAlgorithmProvider の 'pszImplementation' パラメーターに対応します。 このプロパティは省略可能です。

Settings

GCM 暗号化 + 認証モードで Windows CNG アルゴリズムを使用する、構成された認証された暗号化メカニズムを表します。

メソッド

CreateNewDescriptor()

この構成に基づいて新しい IAuthenticatedEncryptorDescriptor インスタンスを作成します。 新しく作成されたインスタンスには一意のキーマテリアルが含まれており、 メソッドによって CreateNewDescriptor() 作成された他のすべての記述子とは異なります。

適用対象