ECDsaOpenSsl Konstruktoren

Definition

Überlädt

Name Beschreibung
ECDsaOpenSsl()

Initialisiert eine neue Instanz der ECDsaOpenSsl-Klasse.

ECDsaOpenSsl(Int32)

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse mit einer angegebenen Zielschlüsselgröße.

ECDsaOpenSsl(IntPtr)

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse aus einem vorhandenen OpenSSL-Schlüssel, der als ein EC_KEY*.

ECDsaOpenSsl(ECCurve)

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse und generiert einen neuen Schlüssel für die angegebene Kurve.

ECDsaOpenSsl(SafeEvpPKeyHandle)

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse aus einem vorhandenen OpenSSL-Schlüssel, der als ein EVP_PKEY*.

ECDsaOpenSsl()

Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs

Initialisiert eine neue Instanz der ECDsaOpenSsl-Klasse.

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 ECDsaOpenSsl();
Public Sub New ()
Attribute

Hinweise

Dieser Konstruktor generiert sofort keinen neuen öffentlichen/privaten Keypair. Dieser Konstruktor legt die KeySize Eigenschaft auf 521 fest, und wenn ein Schlüssel benötigt wird, wird die gespeicherte Größe verwendet, um die Zielkurve zu identifizieren. Wenn ein Schlüssel über die ImportParameters Methode oder eine andere Schlüsselimportmethode geladen wird, hat die Schlüsselgröße dieses Konstruktors keine Bedeutung.

Weitere Informationen

Gilt für:

ECDsaOpenSsl(Int32)

Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse mit einer angegebenen Zielschlüsselgröße.

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);
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")>]
new System.Security.Cryptography.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
new System.Security.Cryptography.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (keySize As Integer)

Parameter

keySize
Int32
Attribute

Ausnahmen

keySize Gibt eine ungültige Länge an.

Hinweise

Dieser Konstruktor generiert sofort keinen neuen öffentlichen/privaten Keypair. Dieser Konstruktor legt die KeySize Eigenschaft auf den bereitgestellten Wert fest, und wenn ein Schlüssel benötigt wird, wird die gespeicherte Größe verwendet, um die Zielkurve zu identifizieren. Wenn ein Schlüssel über die ImportParameters Methode oder eine andere Schlüsselimportmethode geladen wird, hat die Schlüsselgröße dieses Konstruktors keine Bedeutung.

Weitere Informationen

Gilt für:

ECDsaOpenSsl(IntPtr)

Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse aus einem vorhandenen OpenSSL-Schlüssel, der als ein EC_KEY*.

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);
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")>]
new System.Security.Cryptography.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
new System.Security.Cryptography.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (handle As IntPtr)

Parameter

handle
IntPtr

nativeint

Attribute

Ausnahmen

handle ist Zero.

handle ist keine gültige EC_KEY*.

Hinweise

Important

OpenSSL unterstützt mehrere Bibliotheksversionen, die innerhalb desselben Prozesses geladen werden. Stellen Sie vor dem Aufrufen dieses Konstruktors sicher, dass der Zeigerwert aus derselben Version von OpenSSL stammt, die von dieser Klasse verwendet wird. Weitere Informationen finden Sie unter OpenSslVersion.

Weitere Informationen

Gilt für:

ECDsaOpenSsl(ECCurve)

Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse und generiert einen neuen Schlüssel für die angegebene Kurve.

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);
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")>]
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (curve As ECCurve)

Parameter

curve
ECCurve
Attribute

Ausnahmen

curve wird nicht überprüft.

curve ist null.

Weitere Informationen

Gilt für:

ECDsaOpenSsl(SafeEvpPKeyHandle)

Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs
Quelle:
ECDsaOpenSsl.cs

Initialisiert eine neue Instanz der ECDsaOpenSsl Klasse aus einem vorhandenen OpenSSL-Schlüssel, der als ein EVP_PKEY*.

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);
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")>]
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

Parameter

pkeyHandle
SafeEvpPKeyHandle
Attribute

Ausnahmen

pkeyHandle stellt einen ungültigen Handle dar.

pkeyHandle ist null.

pkeyHandle stellt keine elliptische Kurve (EC)-Taste dar.

Hinweise

In .NET 9 und höheren Versionen wirken sich externe Änderungen von pkeyHandle auch auf das in der Instanz gespeicherte Handle aus, das dieser Konstruktor erstellt.

Important

OpenSSL unterstützt mehrere Bibliotheksversionen, die innerhalb desselben Prozesses geladen werden. Stellen Sie vor dem Aufrufen dieses Konstruktors sicher, dass der Zeigerwert aus derselben Version von OpenSSL stammt, die von dieser Klasse verwendet wird. Weitere Informationen finden Sie unter OpenSslVersion.

Weitere Informationen

Gilt für: