DSA.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un objet de chiffrement utilisé pour effectuer l’algorithme asymétrique.
Surcharges
| Nom | Description |
|---|---|
| Create() |
Crée l’objet de chiffrement par défaut utilisé pour effectuer l’algorithme asymétrique. |
| Create(Int32) |
Crée une clé DSA éphémère avec la taille de clé spécifiée. |
| Create(DSAParameters) |
Crée une clé DSA éphémère avec les paramètres de clé DSA spécifiés. |
| Create(String) |
Obsolète.
Crée l’objet de chiffrement spécifié utilisé pour effectuer l’algorithme asymétrique. |
Create()
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Crée l’objet de chiffrement par défaut utilisé pour effectuer l’algorithme asymétrique.
public:
static System::Security::Cryptography::DSA ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create();
public static System.Security.Cryptography.DSA Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : unit -> System.Security.Cryptography.DSA
static member Create : unit -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : unit -> System.Security.Cryptography.DSA
Public Shared Function Create () As DSA
Retours
Objet de chiffrement utilisé pour effectuer l’algorithme asymétrique.
- Attributs
Voir aussi
S’applique à
Create(Int32)
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Crée une clé DSA éphémère avec la taille de clé spécifiée.
public:
static System::Security::Cryptography::DSA ^ Create(int keySizeInBits);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create(int keySizeInBits);
public static System.Security.Cryptography.DSA Create(int keySizeInBits);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create(int keySizeInBits);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : int -> System.Security.Cryptography.DSA
static member Create : int -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : int -> System.Security.Cryptography.DSA
Public Shared Function Create (keySizeInBits As Integer) As DSA
Paramètres
- keySizeInBits
- Int32
Taille de clé, en bits.
Retours
Nouvelle clé DSA éphémère avec la taille de clé spécifiée.
- Attributs
Exceptions
keySizeInBits n’est pas autorisé par LegalKeySizes.
S’applique à
Create(DSAParameters)
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Crée une clé DSA éphémère avec les paramètres de clé DSA spécifiés.
public:
static System::Security::Cryptography::DSA ^ Create(System::Security::Cryptography::DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create(System.Security.Cryptography.DSAParameters parameters);
public static System.Security.Cryptography.DSA Create(System.Security.Cryptography.DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.Security.Cryptography.DSA Create(System.Security.Cryptography.DSAParameters parameters);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member Create : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSA
Public Shared Function Create (parameters As DSAParameters) As DSA
Paramètres
- parameters
- DSAParameters
Paramètres de l’algorithme DSA .
Retours
Une nouvelle clé DSA éphémère.
- Attributs
S’applique à
Create(String)
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Attention
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Crée l’objet de chiffrement spécifié utilisé pour effectuer l’algorithme asymétrique.
public:
static System::Security::Cryptography::DSA ^ Create(System::String ^ algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
[System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.DSA? Create(string algName);
public static System.Security.Cryptography.DSA? Create(string algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.DSA? Create(string algName);
public static System.Security.Cryptography.DSA Create(string algName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
[<System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : string -> System.Security.Cryptography.DSA
static member Create : string -> System.Security.Cryptography.DSA
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
static member Create : string -> System.Security.Cryptography.DSA
Public Shared Function Create (algName As String) As DSA
Paramètres
Retours
Objet de chiffrement utilisé pour effectuer l’algorithme asymétrique.
- Attributs
Remarques
Pour DSA, utilisez le nom System.Security.Cryptography.DSA.