CngCbcAuthenticatedEncryptorConfiguration クラス

定義

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

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

コンストラクター

CngCbcAuthenticatedEncryptorConfiguration()

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

CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings)

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

CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings, IServiceProvider)

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

プロパティ

EncryptionAlgorithm

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

EncryptionAlgorithmKeySize

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

EncryptionAlgorithmProvider

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

HashAlgorithm

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

HashAlgorithmProvider

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

Settings

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

メソッド

CreateNewDescriptor()

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

適用対象