ECDsaOpenSsl 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ECDsaOpenSsl() |
ECDsaOpenSsl 클래스의 새 인스턴스를 초기화합니다. |
ECDsaOpenSsl(Int32) |
지정된 대상 키 크기를 사용하여 ECDsaOpenSsl 클래스의 새 인스턴스를 초기화합니다. |
ECDsaOpenSsl(IntPtr) |
로 표시되는 |
ECDsaOpenSsl(ECCurve) |
ECDsaOpenSsl 클래스의 새 인스턴스를 초기화하고 지정된 곡선에 새 키를 생성합니다. |
ECDsaOpenSsl(SafeEvpPKeyHandle) |
로 표시되는 |
ECDsaOpenSsl()
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
ECDsaOpenSsl 클래스의 새 인스턴스를 초기화합니다.
public:
ECDsaOpenSsl();
public ECDsaOpenSsl ();
[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 ECDsaOpenSsl ();
Public Sub New ()
- 특성
설명
이 생성자는 새 퍼블릭/프라이빗 키페어를 즉시 생성하지 않습니다. 이 생성자는 속성을 521로 설정하고 KeySize 키가 필요한 경우 저장된 크기를 사용하여 대상 곡선을 식별합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.
추가 정보
적용 대상
ECDsaOpenSsl(Int32)
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
지정된 대상 키 크기를 사용하여 ECDsaOpenSsl 클래스의 새 인스턴스를 초기화합니다.
public:
ECDsaOpenSsl(int keySize);
public ECDsaOpenSsl (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 ECDsaOpenSsl (int keySize);
new System.Security.Cryptography.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (keySize As Integer)
매개 변수
- keySize
- Int32
키 크기입니다. 유효한 키 크기는 256, 384 및 521비트입니다.
- 특성
예외
keySize
에서 잘못된 길이를 지정합니다.
설명
이 생성자는 새 퍼블릭/프라이빗 키페어를 즉시 생성하지 않습니다. 이 생성자는 속성을 제공된 값으로 설정하고 KeySize 키가 필요한 경우 저장된 크기를 사용하여 대상 곡선을 식별합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.
추가 정보
적용 대상
ECDsaOpenSsl(IntPtr)
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
로 표시되는 EC_KEY*
기존 OpenSSL 키에서 클래스의 ECDsaOpenSsl 새 instance 초기화합니다.
public:
ECDsaOpenSsl(IntPtr handle);
public ECDsaOpenSsl (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 ECDsaOpenSsl (IntPtr handle);
new System.Security.Cryptography.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (handle As IntPtr)
매개 변수
- handle
-
IntPtr
nativeint
키로 사용할 OpenSSL EC_KEY*
값입니다.
- 특성
예외
handle
이(가) Zero인 경우
handle
은 유효한 EC_KEY*
이 아닙니다.
설명
중요
OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 제공되었는지 확인합니다. 자세한 내용은 를 참조하세요 OpenSslVersion .
추가 정보
적용 대상
ECDsaOpenSsl(ECCurve)
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
ECDsaOpenSsl 클래스의 새 인스턴스를 초기화하고 지정된 곡선에 새 키를 생성합니다.
public:
ECDsaOpenSsl(System::Security::Cryptography::ECCurve curve);
public ECDsaOpenSsl (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 ECDsaOpenSsl (System.Security.Cryptography.ECCurve curve);
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (curve As ECCurve)
매개 변수
- curve
- ECCurve
사용 후 삭제 퍼블릭/프라이빗 키 쌍을 생성하는 데 사용되는 곡선입니다.
- 특성
예외
curve
의 유효성을 검사할 수 없습니다.
curve
이(가) null
인 경우
추가 정보
적용 대상
ECDsaOpenSsl(SafeEvpPKeyHandle)
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
- Source:
- ECDsaOpenSsl.cs
로 표시되는 EVP_PKEY*
기존 OpenSSL 키에서 클래스의 ECDsaOpenSsl 새 instance 초기화합니다.
public:
ECDsaOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
public ECDsaOpenSsl (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 ECDsaOpenSsl (System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)
매개 변수
- pkeyHandle
- SafeEvpPKeyHandle
키로 사용할 OpenSSL EVP_PKEY*
값으로, 로 SafeEvpPKeyHandle표시됩니다.
- 특성
예외
pkeyHandle
이 잘못된 핸들을 나타냅니다.
pkeyHandle
이(가) null
인 경우
pkeyHandle
이 EC(타원 곡선) 키를 나타내지 않습니다.
설명
중요
OpenSSL은 동일한 프로세스 내에서 로드되는 여러 라이브러리 버전을 지원합니다. 이 생성자를 호출하기 전에 포인터 값이 이 클래스에서 사용하는 것과 동일한 버전의 OpenSSL에서 제공되었는지 확인합니다. 자세한 내용은 OpenSslVersion를 참조하세요.
추가 정보
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기