DSAOpenSsl Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy DSAOpenSsl.
Przeciążenia
| Nazwa | Opis |
|---|---|
| DSAOpenSsl() |
Inicjuje nowe wystąpienie DSAOpenSsl klasy z domyślnym rozmiarem klucza 2048 bitów. |
| DSAOpenSsl(Int32) |
Inicjuje nowe wystąpienie DSAOpenSsl klasy o określonym rozmiarze klucza. |
| DSAOpenSsl(IntPtr) |
Inicjuje nowe wystąpienie DSAOpenSsl klasy z istniejącego klucza OpenSSL reprezentowanego |
| DSAOpenSsl(DSAParameters) |
Inicjuje DSAOpenSsl nowe wystąpienie klasy i importuje parametry z istniejącego klucza. |
| DSAOpenSsl(SafeEvpPKeyHandle) |
Inicjuje nowe wystąpienie DSAOpenSsl klasy z istniejącego klucza OpenSSL reprezentowanego |
DSAOpenSsl()
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
Inicjuje nowe wystąpienie DSAOpenSsl klasy z domyślnym rozmiarem klucza 2048 bitów.
public:
DSAOpenSsl();
[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 DSAOpenSsl();
public DSAOpenSsl();
Public Sub New ()
- Atrybuty
Uwagi
Ten konstruktor nie generuje natychmiast nowego klucza publicznego/prywatnego DSA, ustawia tylko rozmiar, który będzie używany do generowania klucza, gdy jest potrzebny. 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
DSAOpenSsl(Int32)
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
Inicjuje nowe wystąpienie DSAOpenSsl klasy o określonym rozmiarze klucza.
public:
DSAOpenSsl(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 DSAOpenSsl(int keySize);
public DSAOpenSsl(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.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (keySize As Integer)
Parametry
- keySize
- Int32
- Atrybuty
Wyjątki
Wartość nie jest obsługiwana keySize przez tę implementację.
Uwagi
Ten konstruktor nie generuje natychmiast nowego klucza publicznego/prywatnego DSA, ustawia tylko rozmiar, który będzie używany do generowania klucza, gdy jest potrzebny.
Jeśli klucz jest ładowany za pośrednictwem ImportParameters metody lub innej metody importowania klucza, keySize podany do tego konstruktora nie ma znaczenia.
Zobacz też
Dotyczy
DSAOpenSsl(IntPtr)
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
Inicjuje nowe wystąpienie DSAOpenSsl klasy z istniejącego klucza OpenSSL reprezentowanego DSA*jako .
public:
DSAOpenSsl(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 DSAOpenSsl(IntPtr handle);
public DSAOpenSsl(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.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (handle As IntPtr)
Parametry
- handle
-
IntPtr
nativeint
- Atrybuty
Wyjątki
Parametr handle ma wartość Zero.
handle nie jest prawidłowym DSA*.
Uwagi
Ważna
Biblioteka OpenSSL obsługuje wiele wersji bibliotek ładowanych w ramach tego samego procesu. Przed wywołaniem tego konstruktora sprawdź, czy wartość wskaźnika pochodzi z tej samej wersji biblioteki OpenSSL, która jest używana przez tę klasę. Aby uzyskać więcej informacji, zobacz OpenSslVersion.
Zobacz też
Dotyczy
DSAOpenSsl(DSAParameters)
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
Inicjuje DSAOpenSsl nowe wystąpienie klasy i importuje parametry z istniejącego klucza.
public:
DSAOpenSsl(System::Security::Cryptography::DSAParameters parameters);
[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 DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
[<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.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (parameters As DSAParameters)
Parametry
- parameters
- DSAParameters
- Atrybuty
Wyjątki
parameters Brak wymaganych pól.
— lub —
parameters zawiera pola o niespójnych długościach prawidłowego klucza.
parameters nie reprezentuje prawidłowego zestawu parametrów klucza DSA.
Zobacz też
Dotyczy
DSAOpenSsl(SafeEvpPKeyHandle)
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
- Źródło:
- DSAOpenSsl.cs
Inicjuje nowe wystąpienie DSAOpenSsl klasy z istniejącego klucza OpenSSL reprezentowanego EVP_PKEY*jako .
public:
DSAOpenSsl(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 DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
public DSAOpenSsl(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.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)
Parametry
- pkeyHandle
- SafeEvpPKeyHandle
- Atrybuty
Wyjątki
pkeyHandle reprezentuje nieprawidłowy uchwyt.
Parametr pkeyHandle ma wartość null.
pkeyHandle nie reprezentuje klucza DSA.
Uwagi
Ważna
Biblioteka OpenSSL obsługuje wiele wersji bibliotek ładowanych w ramach tego samego procesu. Przed wywołaniem tego konstruktora sprawdź, czy wartość wskaźnika pochodzi z tej samej wersji biblioteki OpenSSL, która jest używana przez tę klasę. Aby uzyskać więcej informacji, zobacz OpenSslVersion.