RSA.Create Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tillåter att specifika implementeringar av RSA instansieras.
Överlagringar
| Name | Description |
|---|---|
| Create() |
Skapar en instans av standardimplementeringen av algoritmen RSA . |
| Create(Int32) |
Skapar en ny tillfällig RSA-nyckel med den angivna nyckelstorleken. |
| Create(RSAParameters) |
Skapar en ny tillfällig RSA-nyckel med de angivna RSA-nyckelparametrarna. |
| Create(String) |
Föråldrad.
Skapar en instans av den angivna implementeringen av RSA. |
Create()
- Källa:
- RSA.Create.OpenSsl.cs
- Källa:
- RSA.Create.OpenSsl.cs
- Källa:
- RSA.Create.OpenSsl.cs
- Källa:
- RSA.Create.OpenSsl.cs
- Källa:
- RSA.Create.OpenSsl.cs
Skapar en instans av standardimplementeringen av algoritmen RSA .
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
Returer
En ny instans av standardimplementeringen av RSA.
- Attribut
Se även
Gäller för
Create(Int32)
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
Skapar en ny tillfällig RSA-nyckel med den angivna nyckelstorleken.
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
Parametrar
- keySizeInBits
- Int32
Nyckelstorleken, i bitar.
Returer
En ny tillfällig RSA-nyckel med den angivna nyckelstorleken.
- Attribut
Undantag
keySizeInBits stöds inte av standardimplementeringen.
Gäller för
Create(RSAParameters)
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
Skapar en ny tillfällig RSA-nyckel med de angivna RSA-nyckelparametrarna.
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
Parametrar
- parameters
- RSAParameters
Parametrarna för algoritmen RSA .
Returer
En ny tillfällig RSA-nyckel.
- Attribut
Undantag
parameters representerar inte en giltig RSA-nyckel.
Se även
Gäller för
Create(String)
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
- Källa:
- RSA.cs
Varning
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Skapar en instans av den angivna implementeringen av 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
Parametrar
Returer
En ny instans av den angivna implementeringen av RSA.
- Attribut