ECDsaCng Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ECDsaCng.

Przeciążenia

ECDsaCng()

Inicjuje ECDsaCng nowe wystąpienie klasy z losową parą kluczy.

ECDsaCng(Int32)

Inicjuje ECDsaCng nowe wystąpienie klasy o określonym rozmiarze klucza docelowego.

ECDsaCng(CngKey)

Inicjuje ECDsaCng nowe wystąpienie klasy przy użyciu określonego CngKey obiektu.

ECDsaCng(ECCurve)

Inicjuje ECDsaCng nowe wystąpienie klasy, której para kluczy publicznych/prywatnych jest generowana na określonej krzywej.

ECDsaCng()

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Inicjuje ECDsaCng nowe wystąpienie klasy z losową parą kluczy.

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

Wyjątki

Klasy Cryptography Next Generation (CNG) nie są obsługiwane w tym systemie.

Uwagi

Ten konstruktor nie generuje natychmiast nowego klucza publicznego/prywatnego. Ten konstruktor ustawia KeySize właściwość na 521, a gdy klucz jest potrzebny, zapisany rozmiar jest używany do identyfikowania krzywej docelowej. Jeśli klucz jest ładowany za pośrednictwem ImportParameters metody lub innej metody importowania klucza, rozmiar klucza z tego konstruktora nie ma znaczenia.

Zobacz też

Dotyczy

ECDsaCng(Int32)

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Inicjuje ECDsaCng nowe wystąpienie klasy o określonym rozmiarze klucza docelowego.

public:
 ECDsaCng(int keySize);
public ECDsaCng (int keySize);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public ECDsaCng (int keySize);
[System.Security.SecurityCritical]
public ECDsaCng (int keySize);
new System.Security.Cryptography.ECDsaCng : int -> System.Security.Cryptography.ECDsaCng
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
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)

Parametry

keySize
Int32

Rozmiar klucza. Prawidłowe rozmiary kluczy to 256, 384 i 521 bitów.

Atrybuty

Wyjątki

Klasy Cryptography Next Generation (CNG) nie są obsługiwane w tym systemie.

keySize określa nieprawidłową długość.

Uwagi

Ten konstruktor nie generuje natychmiast nowego klucza publicznego/prywatnego. Ten konstruktor ustawia KeySize właściwość na podaną wartość, a gdy potrzebny jest klucz, zapisany rozmiar jest używany do identyfikowania krzywej docelowej. Jeśli klucz jest ładowany za pośrednictwem ImportParameters metody lub innej metody importowania klucza, rozmiar klucza z tego konstruktora nie ma znaczenia.

Zobacz też

Dotyczy

ECDsaCng(CngKey)

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Inicjuje ECDsaCng nowe wystąpienie klasy przy użyciu określonego CngKey obiektu.

public:
 ECDsaCng(System::Security::Cryptography::CngKey ^ key);
public ECDsaCng (System.Security.Cryptography.CngKey key);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public ECDsaCng (System.Security.Cryptography.CngKey key);
[System.Security.SecurityCritical]
public ECDsaCng (System.Security.Cryptography.CngKey key);
new System.Security.Cryptography.ECDsaCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.ECDsaCng
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
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)

Parametry

key
CngKey

Klucz, który będzie używany jako dane wejściowe operacji kryptograficznych wykonywanych przez bieżący obiekt.

Atrybuty

Wyjątki

key nie określa grupy Elliptic Curve Digital Signature Algorithm (ECDSA).

key to null.

Klasy Cryptography Next Generation (CNG) nie są obsługiwane w tym systemie.

Dotyczy

ECDsaCng(ECCurve)

Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs
Źródło:
Cng.NotSupported.cs

Inicjuje ECDsaCng nowe wystąpienie klasy, której para kluczy publicznych/prywatnych jest generowana na określonej krzywej.

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

Parametry

curve
ECCurve

Krzywa używana do generowania pary kluczy publicznych/prywatnych.

Atrybuty

Wyjątki

curve program nie weryfikuje.

curve to null.

jeśli curve nie zawiera Oid o przyjaznej nazwie.

Uwagi

curve Musi sprawdzić poprawność (to znaczy, że musi zwrócić true) po przekazaniu do ECCurve.Validate metody i musi być nazwanym lub jawnym elementem głównym.

Dotyczy