Allows specific implementations of RSA to be instantiated.
Overloads Create()Creates an instance of the default implementation of the RSA algorithm.
Create(Int32)Creates a new ephemeral RSA key with the specified key size.
Create(RSAParameters)Creates a new ephemeral RSA key with the specified RSA key parameters.
Create(String)Obsolete.
Creates an instance of the specified implementation of RSA.
Create()Creates an instance of the default implementation of the RSA algorithm.
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
Returns
A new instance of the default implementation of RSA.
Creates a new ephemeral RSA key with the specified key size.
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
The key size, in bits.
ReturnsA new ephemeral RSA key with the specified key size.
keySizeInBits
is not supported by the default implementation.
Creates a new ephemeral RSA key with the specified RSA key parameters.
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 Returns
A new ephemeral RSA key.
parameters
does not represent a valid RSA key.
Caution
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Creates an instance of the specified implementation of RSA.
public:
static System::Security::Cryptography::RSA ^ Create(System::String ^ algName);
[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);
public static System.Security.Cryptography.RSA Create(string algName);
[<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
Public Shared Function Create (algName As String) As RSA
Parameters
The name of the implementation of RSA to use.
ReturnsA new instance of the specified implementation of RSA.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4