ECDiffieHellman.Create 메서드

정의

ECDH(Elliptic Curve Diffie-Hellman) 알고리즘 구현의 새 인스턴스를 만듭니다.

오버로드

Create()

기본 ECDH(Elliptic Curve Diffie-Hellman) 알고리즘 구현의 새 인스턴스를 만듭니다.

Create(ECCurve)

지정한 곡선에서 생성된 새 퍼블릭/프라이빗 키 쌍을 사용하여 ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스를 만듭니다.

Create(ECParameters)

지정한 ECParameters 개체로 기술되는 키를 사용하여 ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스를 만듭니다.

Create(String)

ECDH(타원 곡선 Diffie-Hellman) 알고리즘의 지정된 구현에 대해 새 인스턴스를 만듭니다.

Create()

기본 ECDH(Elliptic Curve Diffie-Hellman) 알고리즘 구현의 새 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::ECDiffieHellman ^ Create();
public static System.Security.Cryptography.ECDiffieHellman Create ();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDiffieHellman Create ();
static member Create : unit -> System.Security.Cryptography.ECDiffieHellman
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.ECDiffieHellman
Public Shared Function Create () As ECDiffieHellman

반환

ECDiffieHellman

이 클래스의 기본 구현의 새 인스턴스입니다.

특성

적용 대상

Create(ECCurve)

지정한 곡선에서 생성된 새 퍼블릭/프라이빗 키 쌍을 사용하여 ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::ECDiffieHellman ^ Create(System::Security::Cryptography::ECCurve curve);
public static System.Security.Cryptography.ECDiffieHellman Create (System.Security.Cryptography.ECCurve curve);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDiffieHellman Create (System.Security.Cryptography.ECCurve curve);
static member Create : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellman
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellman
Public Shared Function Create (curve As ECCurve) As ECDiffieHellman

매개 변수

curve
ECCurve

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

반환

ECDiffieHellman

ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스입니다.

특성

예외

curve의 유효성을 검사할 수 없습니다.

설명

곡선은 유효성을 검사해야 합니다. 즉, 메서드에 전달될 때 true를 ECCurve.Validate 반환해야 합니다.

특성-2 곡선은 Windows 지원되지 않습니다.

추가 정보

적용 대상

Create(ECParameters)

지정한 ECParameters 개체로 기술되는 키를 사용하여 ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::ECDiffieHellman ^ Create(System::Security::Cryptography::ECParameters parameters);
public static System.Security.Cryptography.ECDiffieHellman Create (System.Security.Cryptography.ECParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.ECDiffieHellman Create (System.Security.Cryptography.ECParameters parameters);
static member Create : System.Security.Cryptography.ECParameters -> System.Security.Cryptography.ECDiffieHellman
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.ECParameters -> System.Security.Cryptography.ECDiffieHellman
Public Shared Function Create (parameters As ECParameters) As ECDiffieHellman

매개 변수

parameters
ECParameters

ECC(타원 곡선 암호화) 알고리즘에 대한 매개 변수입니다.

반환

ECDiffieHellman

ECDH(타원 곡선 Diffie-Hellman) 알고리즘 기본 구현의 새 인스턴스입니다.

특성

예외

parameters의 유효성을 검사할 수 없습니다.

설명

parameters는 메서드에 전달될 ECParameters.Validate 때 유효성을 검사해야 합니다(즉, 반환true해야 합니다). 암시적 곡선에 대한 매개 변수는 지원되지 않습니다.

특성-2 곡선은 Windows 지원되지 않습니다.

추가 정보

적용 대상

Create(String)

ECDH(타원 곡선 Diffie-Hellman) 알고리즘의 지정된 구현에 대해 새 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::ECDiffieHellman ^ Create(System::String ^ algorithm);
public static System.Security.Cryptography.ECDiffieHellman? Create (string algorithm);
public static System.Security.Cryptography.ECDiffieHellman Create (string algorithm);
static member Create : string -> System.Security.Cryptography.ECDiffieHellman
Public Shared Function Create (algorithm As String) As ECDiffieHellman

매개 변수

algorithm
String

ECDH 알고리즘의 구현 이름입니다.

반환

ECDiffieHellman

이 클래스의 지정된 구현에 대한 새 인스턴스입니다. 지정된 알고리즘 이름이 ECDH 구현에 매핑되지 않는 경우 이 메서드는 null을 반환합니다.

예외

algorithm 매개 변수가 null인 경우

설명

개체의 고유한 구현을 ECDiffieHellman 개발하는 경우 메서드 오버로드를 Create(String) 사용하여 구현을 지정하는 사용자 지정 algorithm 문자열을 만들 수 있습니다.

매개 변수는 algorithm ECDH 알고리즘 구현의 이름을 지정합니다. 다음 문자열은 모두 .NET Framework 현재 지원되는 유일한 구현인 동일한 구현을 참조합니다.

  • "ECDH"

  • "ECDiffieHellman"

  • "ECDiffieHellmanCng"

  • "System.Security.Cryptography.ECDiffieHellmanCng"

매개 변수에 대한 algorithm 사용자 지정 ECDH 구현의 이름을 제공할 수도 있습니다. 이렇게 하면 개체가 CryptoConfig 이를 사용하여 ECDH 개체를 만들 수 있는지 여부를 결정합니다.

적용 대상