RSA.Create メソッド

定義

RSAの特定の実装をインスタンス化できるようにします。

オーバーロード

名前 説明
Create()

RSA アルゴリズムの既定の実装のインスタンスを作成します。

Create(Int32)

指定したキー サイズを持つ新しいエフェメラル RSA キーを作成します。

Create(RSAParameters)

指定した RSA キー パラメーターを使用して、新しいエフェメラル RSA キーを作成します。

Create(String)
古い.

RSAの指定した実装のインスタンスを作成します。

Create()

ソース:
RSA.Create.OpenSsl.cs
ソース:
RSA.Create.OpenSsl.cs
ソース:
RSA.Create.OpenSsl.cs
ソース:
RSA.Create.OpenSsl.cs
ソース:
RSA.Create.OpenSsl.cs

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

返品

RSA

RSAの既定の実装の新しいインスタンス。

属性

こちらもご覧ください

適用対象

Create(Int32)

ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs

指定したキー サイズを持つ新しいエフェメラル RSA キーを作成します。

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

パラメーター

keySizeInBits
Int32

キー サイズ (ビット単位)。

返品

RSA

指定したキー サイズを持つ新しいエフェメラル RSA キー。

属性

例外

keySizeInBits は、既定の実装ではサポートされていません。

適用対象

Create(RSAParameters)

ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs

指定した RSA キー パラメーターを使用して、新しいエフェメラル RSA キーを作成します。

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
RSAParameters

RSA アルゴリズムのパラメーター。

返品

RSA

新しいエフェメラル RSA キー。

属性

例外

parameters は有効な RSA キーを表していません。

こちらもご覧ください

適用対象

Create(String)

ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs
ソース:
RSA.cs

注意事項

Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.

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

パラメーター

algName
String

使用する RSA の実装の名前。

返品

RSA

RSAの指定した実装の新しいインスタンス。

属性

こちらもご覧ください

適用対象