다음을 통해 공유


DataProtectionProvider.Create 메서드

정의

오버로드

Create(DirectoryInfo)

DataProtectionProvider 키를 저장할 지정된 위치를 만듭니다.

Create(String)

DataProtectionProvider 플랫폼 및 운영 체제에 따라 위치에 키를 저장하는 을 만듭니다.

Create(DirectoryInfo, Action<IDataProtectionBuilder>)

DataProtectionProvider 키를 저장할 지정된 위치와 선택적 구성 콜백을 만듭니다.

Create(DirectoryInfo, X509Certificate2)

DataProtectionProvider 키를 저장할 지정된 위치와 X509Certificate2 키를 암호화하는 데 사용되는 을 만듭니다.

Create(String, X509Certificate2)

DataProtectionProvider 플랫폼 및 운영 체제에 따라 위치에 키를 저장하는 을 만들고 지정된 X509Certificate2 을 사용하여 키를 암호화합니다.

Create(DirectoryInfo, Action<IDataProtectionBuilder>, X509Certificate2)

DataProtectionProvider 키를 저장할 지정된 위치, 선택적 구성 콜백 및 X509Certificate2 키를 암호화하는 데 사용되는 을 만듭니다.

Create(DirectoryInfo)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 키를 저장할 지정된 위치를 만듭니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::IO::DirectoryInfo ^ keyDirectory);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (System.IO.DirectoryInfo keyDirectory);
static member Create : System.IO.DirectoryInfo -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (keyDirectory As DirectoryInfo) As IDataProtectionProvider

매개 변수

keyDirectory
DirectoryInfo

DirectoryInfo 키를 저장해야 하는 입니다. 로컬 디스크 또는 UNC 공유의 디렉터리를 나타낼 수 있습니다.

반환

적용 대상

Create(String)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 플랫폼 및 운영 체제에 따라 위치에 키를 저장하는 을 만듭니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::String ^ applicationName);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (string applicationName);
static member Create : string -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (applicationName As String) As IDataProtectionProvider

매개 변수

applicationName
String

컴퓨터의 다른 모든 애플리케이션에서 이 애플리케이션을 고유하게 구분하는 식별자입니다.

반환

적용 대상

Create(DirectoryInfo, Action<IDataProtectionBuilder>)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 키를 저장할 지정된 위치와 선택적 구성 콜백을 만듭니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::IO::DirectoryInfo ^ keyDirectory, Action<Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^> ^ setupAction);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (System.IO.DirectoryInfo keyDirectory, Action<Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder> setupAction);
static member Create : System.IO.DirectoryInfo * Action<Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder> -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (keyDirectory As DirectoryInfo, setupAction As Action(Of IDataProtectionBuilder)) As IDataProtectionProvider

매개 변수

keyDirectory
DirectoryInfo

DirectoryInfo 키를 저장해야 하는 입니다. 로컬 디스크 또는 UNC 공유의 디렉터리를 나타낼 수 있습니다.

setupAction
Action<IDataProtectionBuilder>

데이터 보호 시스템의 추가 구성을 제공하는 선택적 콜백입니다. 자세한 내용은 IDataProtectionBuilder 을 참조하세요.

반환

적용 대상

Create(DirectoryInfo, X509Certificate2)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 키를 저장할 지정된 위치와 X509Certificate2 키를 암호화하는 데 사용되는 을 만듭니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::IO::DirectoryInfo ^ keyDirectory, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (System.IO.DirectoryInfo keyDirectory, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member Create : System.IO.DirectoryInfo * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (keyDirectory As DirectoryInfo, certificate As X509Certificate2) As IDataProtectionProvider

매개 변수

keyDirectory
DirectoryInfo

DirectoryInfo 키를 저장해야 하는 입니다. 로컬 디스크 또는 UNC 공유의 디렉터리를 나타낼 수 있습니다.

certificate
X509Certificate2

X509Certificate2 암호화에 사용할 입니다.

반환

적용 대상

Create(String, X509Certificate2)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 플랫폼 및 운영 체제에 따라 위치에 키를 저장하는 을 만들고 지정된 X509Certificate2 을 사용하여 키를 암호화합니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::String ^ applicationName, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (string applicationName, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member Create : string * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (applicationName As String, certificate As X509Certificate2) As IDataProtectionProvider

매개 변수

applicationName
String

컴퓨터의 다른 모든 애플리케이션에서 이 애플리케이션을 고유하게 구분하는 식별자입니다.

certificate
X509Certificate2

X509Certificate2 암호화에 사용할 입니다.

반환

적용 대상

Create(DirectoryInfo, Action<IDataProtectionBuilder>, X509Certificate2)

Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs
Source:
DataProtectionProvider.cs

DataProtectionProvider 키를 저장할 지정된 위치, 선택적 구성 콜백 및 X509Certificate2 키를 암호화하는 데 사용되는 을 만듭니다.

public:
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ Create(System::IO::DirectoryInfo ^ keyDirectory, Action<Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^> ^ setupAction, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider Create (System.IO.DirectoryInfo keyDirectory, Action<Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder> setupAction, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member Create : System.IO.DirectoryInfo * Action<Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder> * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider
Public Shared Function Create (keyDirectory As DirectoryInfo, setupAction As Action(Of IDataProtectionBuilder), certificate As X509Certificate2) As IDataProtectionProvider

매개 변수

keyDirectory
DirectoryInfo

DirectoryInfo 키를 저장해야 하는 입니다. 로컬 디스크 또는 UNC 공유의 디렉터리를 나타낼 수 있습니다.

setupAction
Action<IDataProtectionBuilder>

데이터 보호 시스템의 추가 구성을 제공하는 선택적 콜백입니다. 자세한 내용은 IDataProtectionBuilder 을 참조하세요.

certificate
X509Certificate2

X509Certificate2 암호화에 사용할 입니다.

반환

적용 대상