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 instance 만듭니다. 새로 만든 instance 고유한 키 재질을 포함하며 메서드에서 만든 CreateNewDescriptor() 다른 모든 설명자와 다릅니다.

적용 대상