ECDiffieHellmanOpenSsl 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| ECDiffieHellmanOpenSsl() |
NIST P-521/secp521r1의 기본 곡선을 사용하여 클래스의 새 인스턴스 ECDiffieHellmanOpenSsl 를 초기화합니다. |
| ECDiffieHellmanOpenSsl(Int32) |
지정된 크기의 NIST 소수 곡선으로 기본값이 지정된 클래스의 새 인스턴스 ECDiffieHellmanOpenSsl 를 초기화합니다. |
| ECDiffieHellmanOpenSsl(IntPtr) |
로 표시된 기존 OpenSSL 키에서 클래스의 ECDiffieHellmanOpenSsl 새 인스턴스를 |
| ECDiffieHellmanOpenSsl(ECCurve) |
클래스의 새 인스턴스를 ECDiffieHellmanOpenSsl 초기화하고 지정된 곡선에 새 키를 생성합니다. |
| ECDiffieHellmanOpenSsl(SafeEvpPKeyHandle) |
로 표시된 기존 OpenSSL 키에서 클래스의 ECDiffieHellmanOpenSsl 새 인스턴스를 |
ECDiffieHellmanOpenSsl()
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
NIST P-521/secp521r1의 기본 곡선을 사용하여 클래스의 새 인스턴스 ECDiffieHellmanOpenSsl 를 초기화합니다.
public:
ECDiffieHellmanOpenSsl();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public ECDiffieHellmanOpenSsl();
public ECDiffieHellmanOpenSsl();
Public Sub New ()
- 특성
설명
이 생성자는 새 public/private keypair를 즉시 생성하지 않고 필요할 때 키를 생성하는 데 사용할 크기를 설정합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.
추가 정보
적용 대상
ECDiffieHellmanOpenSsl(Int32)
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
지정된 크기의 NIST 소수 곡선으로 기본값이 지정된 클래스의 새 인스턴스 ECDiffieHellmanOpenSsl 를 초기화합니다.
public:
ECDiffieHellmanOpenSsl(int keySize);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public ECDiffieHellmanOpenSsl(int keySize);
public ECDiffieHellmanOpenSsl(int keySize);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : int -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : int -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
Public Sub New (keySize As Integer)
매개 변수
- keySize
- Int32
키가 필요할 때 생성할 키의 크기입니다.
- 특성
예외
이 keySize 구현에서는 값이 지원되지 않습니다.
설명
이 생성자는 256(NIST P-256/secp256r1), 384(NIST P-384/secp384r1), 521(NIST P-521/secp521r1)의 세 가지 키 크기만 지원됩니다. 다른 곡선에 대한 키를 생성하려면 생성자 또는 메서드를 GenerateKey(ECCurve) 사용합니다ECDiffieHellmanOpenSsl(ECCurve).
이 생성자는 새 public/private keypair를 즉시 생성하지 않고 필요할 때 키를 생성하는 데 사용할 크기를 설정합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.
추가 정보
적용 대상
ECDiffieHellmanOpenSsl(IntPtr)
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
로 표시된 기존 OpenSSL 키에서 클래스의 ECDiffieHellmanOpenSsl 새 인스턴스를 EC_KEY*초기화합니다.
public:
ECDiffieHellmanOpenSsl(IntPtr handle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public ECDiffieHellmanOpenSsl(IntPtr handle);
public ECDiffieHellmanOpenSsl(IntPtr handle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : nativeint -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : nativeint -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
Public Sub New (handle As IntPtr)
매개 변수
- handle
-
IntPtr
nativeint
키로 사용할 OpenSSL EC_KEY* 값입니다.
- 특성
예외
handle은 Zero입니다.
handle 유효한 EC_KEY*아닙니다.
설명
Important
OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 왔는지 확인합니다. 자세한 내용은 OpenSslVersion를 참조하세요.
추가 정보
적용 대상
ECDiffieHellmanOpenSsl(ECCurve)
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
클래스의 새 인스턴스를 ECDiffieHellmanOpenSsl 초기화하고 지정된 곡선에 새 키를 생성합니다.
public:
ECDiffieHellmanOpenSsl(System::Security::Cryptography::ECCurve curve);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public ECDiffieHellmanOpenSsl(System.Security.Cryptography.ECCurve curve);
public ECDiffieHellmanOpenSsl(System.Security.Cryptography.ECCurve curve);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
Public Sub New (curve As ECCurve)
매개 변수
- curve
- ECCurve
임시 퍼블릭/프라이빗 키 쌍을 생성하는 데 사용되는 곡선입니다.
- 특성
예외
curve 유효성을 검사하지 않습니다.
추가 정보
적용 대상
ECDiffieHellmanOpenSsl(SafeEvpPKeyHandle)
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
- Source:
- ECDiffieHellmanOpenSsl.cs
로 표시된 기존 OpenSSL 키에서 클래스의 ECDiffieHellmanOpenSsl 새 인스턴스를 EVP_PKEY*초기화합니다.
public:
ECDiffieHellmanOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public ECDiffieHellmanOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
public ECDiffieHellmanOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
new System.Security.Cryptography.ECDiffieHellmanOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDiffieHellmanOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)
매개 변수
- pkeyHandle
- SafeEvpPKeyHandle
키로 사용할 OpenSSL EVP_PKEY* 값으로, 로 표시됩니다 SafeEvpPKeyHandle.
- 특성
예외
pkeyHandle 는 잘못된 핸들을 나타냅니다.
pkeyHandle은 null입니다.
pkeyHandle 는 EC(타원 곡선) 키를 나타내지 않습니다.
설명
Important
OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 왔는지 확인합니다. 자세한 내용은 OpenSslVersion를 참조하세요.