ECDiffieHellmanCng 생성자

정의

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

오버로드

Name Description
ECDiffieHellmanCng()

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

ECDiffieHellmanCng(Int32)

지정된 키 크기를 사용하여 임의 키 쌍을 사용하여 클래스의 ECDiffieHellmanCng 새 인스턴스를 초기화합니다.

ECDiffieHellmanCng(CngKey)

지정된 ECDiffieHellmanCng 개체를 사용하여 CngKey 클래스의 새 인스턴스를 초기화합니다.

ECDiffieHellmanCng(ECCurve)

지정된 곡선을 ECDiffieHellmanCng 통해 퍼블릭/프라이빗 키 쌍이 생성되는 클래스의 새 인스턴스를 만듭니다.

ECDiffieHellmanCng()

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

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

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

설명

임의 키 쌍의 기본 공개 키 길이는 521비트입니다.

적용 대상

ECDiffieHellmanCng(Int32)

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

지정된 키 크기를 사용하여 임의 키 쌍을 사용하여 클래스의 ECDiffieHellmanCng 새 인스턴스를 초기화합니다.

public:
 ECDiffieHellmanCng(int keySize);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public ECDiffieHellmanCng(int keySize);
public ECDiffieHellmanCng(int keySize);
[System.Security.SecurityCritical]
public ECDiffieHellmanCng(int keySize);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanCng : int -> System.Security.Cryptography.ECDiffieHellmanCng
new System.Security.Cryptography.ECDiffieHellmanCng : int -> System.Security.Cryptography.ECDiffieHellmanCng
[<System.Security.SecurityCritical>]
new System.Security.Cryptography.ECDiffieHellmanCng : int -> System.Security.Cryptography.ECDiffieHellmanCng
Public Sub New (keySize As Integer)

매개 변수

keySize
Int32

키의 크기입니다. 유효한 키 크기는 256, 384 및 521비트입니다.

특성

예외

keySize 는 잘못된 길이를 지정합니다.

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

설명

임의 키 쌍은 매개 변수로 정의된 공개 키 길이를 갖습니다 keySize .

적용 대상

ECDiffieHellmanCng(CngKey)

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

지정된 ECDiffieHellmanCng 개체를 사용하여 CngKey 클래스의 새 인스턴스를 초기화합니다.

public:
 ECDiffieHellmanCng(System::Security::Cryptography::CngKey ^ key);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public ECDiffieHellmanCng(System.Security.Cryptography.CngKey key);
public ECDiffieHellmanCng(System.Security.Cryptography.CngKey key);
[System.Security.SecurityCritical]
public ECDiffieHellmanCng(System.Security.Cryptography.CngKey key);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.ECDiffieHellmanCng
new System.Security.Cryptography.ECDiffieHellmanCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.ECDiffieHellmanCng
[<System.Security.SecurityCritical>]
new System.Security.Cryptography.ECDiffieHellmanCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.ECDiffieHellmanCng
Public Sub New (key As CngKey)

매개 변수

key
CngKey

현재 개체에서 수행하는 암호화 작업에 대한 입력으로 사용할 키입니다.

특성

예외

keynull입니다.

key 에서는 ECDH(타원 곡선 Diffie-Hellman) 알고리즘 그룹을 지정하지 않습니다.

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

적용 대상

ECDiffieHellmanCng(ECCurve)

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

지정된 곡선을 ECDiffieHellmanCng 통해 퍼블릭/프라이빗 키 쌍이 생성되는 클래스의 새 인스턴스를 만듭니다.

public:
 ECDiffieHellmanCng(System::Security::Cryptography::ECCurve curve);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public ECDiffieHellmanCng(System.Security.Cryptography.ECCurve curve);
public ECDiffieHellmanCng(System.Security.Cryptography.ECCurve curve);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanCng : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellmanCng
new System.Security.Cryptography.ECDiffieHellmanCng : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellmanCng
Public Sub New (curve As ECCurve)

매개 변수

curve
ECCurve

퍼블릭/프라이빗 키 쌍을 생성하는 데 사용되는 곡선입니다.

특성

예외

curve 유효성을 검사하지 않습니다.

설명

curve 메서드에 전달될 때 유효성을 검사해야 하며(즉, 반환 true해야 합니다) 명명되거나 ECCurve.Validate 명시적인 소수여야 합니다.

적용 대상