ECDsaCng 생성자

정의

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

오버로드

Name Description
ECDsaCng()

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

ECDsaCng(Int32)

지정된 대상 키 크기를 사용하여 클래스의 ECDsaCng 새 인스턴스를 초기화합니다.

ECDsaCng(CngKey)

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

ECDsaCng(ECCurve)

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

ECDsaCng()

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

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

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

예외

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

설명

이 생성자는 새 퍼블릭/프라이빗 키페어를 즉시 생성하지 않습니다. 이 생성자는 속성을 521로 설정하고 KeySize 키가 필요한 경우 저장된 크기를 사용하여 대상 곡선을 식별합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.

추가 정보

적용 대상

ECDsaCng(Int32)

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

지정된 대상 키 크기를 사용하여 클래스의 ECDsaCng 새 인스턴스를 초기화합니다.

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

매개 변수

keySize
Int32

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

특성

예외

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

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

설명

이 생성자는 새 퍼블릭/프라이빗 키페어를 즉시 생성하지 않습니다. 이 생성자는 속성을 제공된 값으로 설정하고 KeySize 키가 필요한 경우 저장된 크기를 사용하여 대상 곡선을 식별합니다. 메서드 또는 다른 키 가져오기 메서드를 ImportParameters 통해 키를 로드하는 경우 이 생성자의 키 크기는 의미가 없습니다.

추가 정보

적용 대상

ECDsaCng(CngKey)

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

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

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

매개 변수

key
CngKey

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

특성

예외

key 에서는 ECDSA(타원 곡선 디지털 서명 알고리즘) 그룹을 지정하지 않습니다.

keynull입니다.

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

적용 대상

ECDsaCng(ECCurve)

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

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

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

매개 변수

curve
ECCurve

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

특성

예외

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

curvenull입니다.

FriendlyName이 있는 Oid가 없으면 curve 입니다.

설명

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

적용 대상