TripleDESCng 생성자

정의

TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

오버로드

TripleDESCng()

임시 키를 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

TripleDESCng(String)

기존의 영구 3DES 키를 나타내는 지정된 키 이름을 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

TripleDESCng(String, CngProvider)

기존의 영구 3DES 키를 나타내는 지정된 키 이름과 지정된 KSP(키 스토리지 공급자)를 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

TripleDESCng(String, CngProvider, CngKeyOpenOptions)

기존의 영구 3DES 키를 나타내는 지정된 키 이름, 지정된 KSP(키 스토리지 공급자) 및 키 열기 옵션을 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

TripleDESCng()

임시 키를 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

public:
 TripleDESCng();
public TripleDESCng ();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng ();
Public Sub New ()
특성

적용 대상

TripleDESCng(String)

기존의 영구 3DES 키를 나타내는 지정된 키 이름을 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

public:
 TripleDESCng(System::String ^ keyName);
public TripleDESCng (string keyName);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng (string keyName);
new System.Security.Cryptography.TripleDESCng : string -> System.Security.Cryptography.TripleDESCng
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String)

매개 변수

keyName
String

키의 이름입니다.

특성

예외

keyName이(가) null인 경우

CNG(Cryptography Next Generation)은 이 시스템에서 지원되지 않습니다.

다른 모든 오류입니다.

설명

이 생성자는 KSP(기본 키 스토리지) 공급자로 NoneMicrosoftSoftwareKeyStorageProvider의 기본 CngKeyOpenOptions 값을 사용하여 키를 엽니다.

추가 정보

적용 대상

TripleDESCng(String, CngProvider)

기존의 영구 3DES 키를 나타내는 지정된 키 이름과 지정된 KSP(키 스토리지 공급자)를 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

public:
 TripleDESCng(System::String ^ keyName, System::Security::Cryptography::CngProvider ^ provider);
public TripleDESCng (string keyName, System.Security.Cryptography.CngProvider provider);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng (string keyName, System.Security.Cryptography.CngProvider provider);
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider -> System.Security.Cryptography.TripleDESCng
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String, provider As CngProvider)

매개 변수

keyName
String

키의 이름입니다.

provider
CngProvider

키를 포함하는 KSP입니다.

특성

예외

keyName이(가) null인 경우

또는

provider이(가) null인 경우

CNG(Cryptography Next Generation)은 이 시스템에서 지원되지 않습니다.

다른 모든 오류입니다.

설명

기본값 CngKeyOpenOptions None 은 키를 여는 데 사용됩니다.

추가 정보

적용 대상

TripleDESCng(String, CngProvider, CngKeyOpenOptions)

기존의 영구 3DES 키를 나타내는 지정된 키 이름, 지정된 KSP(키 스토리지 공급자) 및 키 열기 옵션을 사용하여 TripleDESCng 클래스의 새 인스턴스를 초기화합니다.

public:
 TripleDESCng(System::String ^ keyName, System::Security::Cryptography::CngProvider ^ provider, System::Security::Cryptography::CngKeyOpenOptions openOptions);
public TripleDESCng (string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng (string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions);
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider * System.Security.Cryptography.CngKeyOpenOptions -> System.Security.Cryptography.TripleDESCng
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider * System.Security.Cryptography.CngKeyOpenOptions -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String, provider As CngProvider, openOptions As CngKeyOpenOptions)

매개 변수

keyName
String

키의 이름입니다.

provider
CngProvider

키를 포함하는 KSP입니다.

openOptions
CngKeyOpenOptions

키가 열리는 위치(머신 또는 사용자 스토리지) 및 UI 프롬프트를 표시하지 않을지 여부와 같은 키 열기 옵션을 지정하는 열거형 값의 비트 조합입니다.

특성

예외

keyName이(가) null인 경우

또는

provider이(가) null인 경우

CNG(Cryptography Next Generation)은 이 시스템에서 지원되지 않습니다.

다른 모든 오류입니다.

추가 정보

적용 대상