DSAOpenSsl コンストラクター

定義

DSAOpenSsl クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
DSAOpenSsl()

既定のキー サイズが 2048 ビットの DSAOpenSsl クラスの新しいインスタンスを初期化します。

DSAOpenSsl(Int32)

指定したキー サイズを使用して、 DSAOpenSsl クラスの新しいインスタンスを初期化します。

DSAOpenSsl(IntPtr)

DSAOpenSslとして表される既存の OpenSSL キーから、DSA* クラスの新しいインスタンスを初期化します。

DSAOpenSsl(DSAParameters)

DSAOpenSsl クラスの新しいインスタンスを初期化し、既存のキーからパラメーターをインポートします。

DSAOpenSsl(SafeEvpPKeyHandle)

DSAOpenSslとして表される既存の OpenSSL キーから、EVP_PKEY* クラスの新しいインスタンスを初期化します。

DSAOpenSsl()

ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs

既定のキー サイズが 2048 ビットの DSAOpenSsl クラスの新しいインスタンスを初期化します。

public:
 DSAOpenSsl();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl();
public DSAOpenSsl();
Public Sub New ()
属性

注釈

このコンストラクターは、新しい DSA 公開/秘密キーペアをすぐに生成しません。必要なときにキーを生成するために使用されるサイズを設定するだけです。 ImportParameters メソッドまたはその他のキー インポート メソッドを使用してキーが読み込まれる場合、このコンストラクターのキー サイズには意味がありません。

こちらもご覧ください

適用対象

DSAOpenSsl(Int32)

ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs

指定したキー サイズを使用して、 DSAOpenSsl クラスの新しいインスタンスを初期化します。

public:
 DSAOpenSsl(int keySize);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(int keySize);
public DSAOpenSsl(int keySize);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : int -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (keySize As Integer)

パラメーター

keySize
Int32
属性

例外

keySize値は、この実装ではサポートされていません。

注釈

このコンストラクターは、新しい DSA 公開/秘密キーペアをすぐに生成しません。必要なときにキーを生成するために使用されるサイズを設定するだけです。 ImportParameters メソッドまたはその他のキー インポート メソッドを使用してキーが読み込まれる場合、このコンストラクターに提供されるkeySizeには意味がありません。

こちらもご覧ください

適用対象

DSAOpenSsl(IntPtr)

ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs

DSAOpenSslとして表される既存の OpenSSL キーから、DSA* クラスの新しいインスタンスを初期化します。

public:
 DSAOpenSsl(IntPtr handle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(IntPtr handle);
public DSAOpenSsl(IntPtr handle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : nativeint -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (handle As IntPtr)

パラメーター

handle
IntPtr

nativeint

属性

例外

handleZeroです。

handle は有効な DSA*ではありません。

注釈

Important

OpenSSL では、同じプロセス内で読み込まれる複数のライブラリ バージョンがサポートされています。 このコンストラクターを呼び出す前に、ポインター値がこのクラスで使用されているのと同じバージョンの OpenSSL から取得されていることを確認します。 詳細については、OpenSslVersionを参照してください。

こちらもご覧ください

適用対象

DSAOpenSsl(DSAParameters)

ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs

DSAOpenSsl クラスの新しいインスタンスを初期化し、既存のキーからパラメーターをインポートします。

public:
 DSAOpenSsl(System::Security::Cryptography::DSAParameters parameters);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
public DSAOpenSsl(System.Security.Cryptography.DSAParameters parameters);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.DSAParameters -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (parameters As DSAParameters)

パラメーター

parameters
DSAParameters
属性

例外

parameters が必須フィールドがありません。

-又は-

parameters には、有効なキーの長さが一致しないフィールドがあります。

parameters は、有効な DSA キー パラメーター セットを表していません。

こちらもご覧ください

適用対象

DSAOpenSsl(SafeEvpPKeyHandle)

ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs
ソース:
DSAOpenSsl.cs

DSAOpenSslとして表される既存の OpenSSL キーから、EVP_PKEY* クラスの新しいインスタンスを初期化します。

public:
 DSAOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
public DSAOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
new System.Security.Cryptography.DSAOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.DSAOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

パラメーター

pkeyHandle
SafeEvpPKeyHandle
属性

例外

pkeyHandle は無効なハンドルを表します。

pkeyHandlenullです。

pkeyHandle は DSA キーを表しません。

注釈

Important

OpenSSL では、同じプロセス内で読み込まれる複数のライブラリ バージョンがサポートされています。 このコンストラクターを呼び出す前に、ポインター値がこのクラスで使用されているのと同じバージョンの OpenSSL から取得されていることを確認します。 詳細については、OpenSslVersionを参照してください。

こちらもご覧ください

適用対象