ECDsaOpenSsl コンストラクター

定義

オーバーロード

ECDsaOpenSsl()

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

ECDsaOpenSsl(Int32)

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

ECDsaOpenSsl(IntPtr)

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

ECDsaOpenSsl(ECCurve)

ECDsaOpenSsl クラスの新しいインスタンスを初期化し、指定された曲線に新しいキーを生成します。

ECDsaOpenSsl(SafeEvpPKeyHandle)

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

ECDsaOpenSsl()

ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs

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

public:
 ECDsaOpenSsl();
public ECDsaOpenSsl ();
[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 ECDsaOpenSsl ();
Public Sub New ()
属性

注釈

このコンストラクターでは、新しい公開キーと秘密キーペアはすぐには生成されません。 このコンストラクターは プロパティを KeySize 521 に設定し、キーが必要な場合は、保存されたサイズを使用してターゲット曲線を識別します。 メソッドまたはその他のキー インポート メソッドを介してキーが ImportParameters 読み込まれる場合、このコンストラクターのキー サイズには意味がありません。

こちらもご覧ください

適用対象

ECDsaOpenSsl(Int32)

ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs

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

public:
 ECDsaOpenSsl(int keySize);
public ECDsaOpenSsl (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 ECDsaOpenSsl (int keySize);
new System.Security.Cryptography.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : int -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (keySize As Integer)

パラメーター

keySize
Int32

キーのサイズです。 有効なキー サイズは、256 ビット、384 ビット、521 ビットです。

属性

例外

keySize に指定された長さが無効です。

注釈

このコンストラクターでは、新しい公開キーと秘密キーペアはすぐには生成されません。 このコンストラクターは、 プロパティを KeySize 指定された値に設定し、キーが必要な場合は、保存されたサイズを使用してターゲット曲線を識別します。 メソッドまたはその他のキー インポート メソッドを介してキーが ImportParameters 読み込まれる場合、このコンストラクターのキー サイズには意味がありません。

こちらもご覧ください

適用対象

ECDsaOpenSsl(IntPtr)

ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs

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

public:
 ECDsaOpenSsl(IntPtr handle);
public ECDsaOpenSsl (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 ECDsaOpenSsl (IntPtr handle);
new System.Security.Cryptography.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : nativeint -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (handle As IntPtr)

パラメーター

handle
IntPtr

nativeint

キーとして使用する OpenSSL EC_KEY* 値。

属性

例外

handleZeroです。

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

注釈

重要

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

こちらもご覧ください

適用対象

ECDsaOpenSsl(ECCurve)

ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs

ECDsaOpenSsl クラスの新しいインスタンスを初期化し、指定された曲線に新しいキーを生成します。

public:
 ECDsaOpenSsl(System::Security::Cryptography::ECCurve curve);
public ECDsaOpenSsl (System.Security.Cryptography.ECCurve curve);
[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 ECDsaOpenSsl (System.Security.Cryptography.ECCurve curve);
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : System.Security.Cryptography.ECCurve -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (curve As ECCurve)

パラメーター

curve
ECCurve

一時的な公開/秘密キー ペアを生成するために使用される曲線。

属性

例外

curve は検証されません。

curvenullです。

こちらもご覧ください

適用対象

ECDsaOpenSsl(SafeEvpPKeyHandle)

ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs
ソース:
ECDsaOpenSsl.cs

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

public:
 ECDsaOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
public ECDsaOpenSsl (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 ECDsaOpenSsl (System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
new System.Security.Cryptography.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
[<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.ECDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.ECDsaOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

パラメーター

pkeyHandle
SafeEvpPKeyHandle

キーとして使用する OpenSSL EVP_PKEY* 値 。として SafeEvpPKeyHandle表されます。

属性

例外

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

pkeyHandlenullです。

pkeyHandle は楕円曲線 (EC) キーを表していません。

注釈

重要

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

こちらもご覧ください

適用対象