RSA.Create Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee kunnen specifieke implementaties RSA worden geïnstantieerd.
Overloads
| Name | Description |
|---|---|
| Create() |
Hiermee maakt u een exemplaar van de standaard implementatie van het RSA algoritme. |
| Create(Int32) |
Hiermee maakt u een nieuwe kortstondige RSA-sleutel met de opgegeven sleutelgrootte. |
| Create(RSAParameters) |
Hiermee maakt u een nieuwe kortstondige RSA-sleutel met de opgegeven RSA-sleutelparameters. |
| Create(String) |
Verouderd.
Hiermee maakt u een exemplaar van de opgegeven implementatie van RSA. |
Create()
Hiermee maakt u een exemplaar van de standaard implementatie van het RSA algoritme.
public:
static System::Security::Cryptography::RSA ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.RSA Create();
public static System.Security.Cryptography.RSA Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.RSA
static member Create : unit -> System.Security.Cryptography.RSA
Public Shared Function Create () As RSA
Retouren
Een nieuw exemplaar van de standaard implementatie van RSA.
- Kenmerken
Zie ook
Van toepassing op
Create(Int32)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Hiermee maakt u een nieuwe kortstondige RSA-sleutel met de opgegeven sleutelgrootte.
public:
static System::Security::Cryptography::RSA ^ Create(int keySizeInBits);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.RSA Create(int keySizeInBits);
public static System.Security.Cryptography.RSA Create(int keySizeInBits);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : int -> System.Security.Cryptography.RSA
static member Create : int -> System.Security.Cryptography.RSA
Public Shared Function Create (keySizeInBits As Integer) As RSA
Parameters
- keySizeInBits
- Int32
De sleutelgrootte, in bits.
Retouren
Een nieuwe kortstondige RSA-sleutel met de opgegeven sleutelgrootte.
- Kenmerken
Uitzonderingen
keySizeInBits wordt niet ondersteund door de standaard implementatie.
Van toepassing op
Create(RSAParameters)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Hiermee maakt u een nieuwe kortstondige RSA-sleutel met de opgegeven RSA-sleutelparameters.
public:
static System::Security::Cryptography::RSA ^ Create(System::Security::Cryptography::RSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.RSA Create(System.Security.Cryptography.RSAParameters parameters);
public static System.Security.Cryptography.RSA Create(System.Security.Cryptography.RSAParameters parameters);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : System.Security.Cryptography.RSAParameters -> System.Security.Cryptography.RSA
static member Create : System.Security.Cryptography.RSAParameters -> System.Security.Cryptography.RSA
Public Shared Function Create (parameters As RSAParameters) As RSA
Parameters
- parameters
- RSAParameters
De parameters voor het RSA algoritme.
Retouren
Een nieuwe kortstondige RSA-sleutel.
- Kenmerken
Uitzonderingen
parameters vertegenwoordigt geen geldige RSA-sleutel.
Zie ook
Van toepassing op
Create(String)
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
- Bron:
- RSA.cs
Let op
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Hiermee maakt u een exemplaar van de opgegeven implementatie van RSA.
public:
static System::Security::Cryptography::RSA ^ 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.RSA? Create(string algName);
public static System.Security.Cryptography.RSA? 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.RSA? Create(string algName);
public static System.Security.Cryptography.RSA 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.RSA
static member Create : string -> System.Security.Cryptography.RSA
[<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.RSA
Public Shared Function Create (algName As String) As RSA
Parameters
Retouren
Een nieuw exemplaar van de opgegeven implementatie van RSA.
- Kenmerken