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

적용 대상