Aracılığıyla paylaş


ECDsaOpenSsl Oluşturucular

Tanım

Aşırı Yüklemeler

ECDsaOpenSsl()

ECDsaOpenSsl sınıfının yeni bir örneğini başlatır.

ECDsaOpenSsl(Int32)

Belirtilen hedef anahtar boyutuyla sınıfının yeni bir örneğini ECDsaOpenSsl başlatır.

ECDsaOpenSsl(IntPtr)

olarak temsil edilen mevcut bir OpenSSL anahtarından sınıfının yeni bir EC_KEY*örneğini ECDsaOpenSsl başlatır.

ECDsaOpenSsl(ECCurve)

sınıfının yeni bir örneğini ECDsaOpenSsl başlatır ve belirtilen eğride yeni bir anahtar oluşturur.

ECDsaOpenSsl(SafeEvpPKeyHandle)

olarak temsil edilen mevcut bir OpenSSL anahtarından sınıfının yeni bir EVP_PKEY*örneğini ECDsaOpenSsl başlatır.

ECDsaOpenSsl()

Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs

ECDsaOpenSsl sınıfının yeni bir örneğini başlatır.

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 ()
Öznitelikler

Açıklamalar

Bu oluşturucu hemen yeni bir ortak/özel anahtar bölmesi oluşturmaz. Bu oluşturucu özelliği 521 olarak ayarlar KeySize ve anahtar gerektiğinde hedef eğriyi tanımlamak için kaydedilmiş boyut kullanılır. Bir anahtar yöntemi veya başka bir anahtar içeri aktarma yöntemi aracılığıyla ImportParameters yüklenirse, bu oluşturucunun anahtar boyutunun bir anlamı yoktur.

Ayrıca bkz.

Şunlara uygulanır

ECDsaOpenSsl(Int32)

Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs

Belirtilen hedef anahtar boyutuyla sınıfının yeni bir örneğini ECDsaOpenSsl başlatır.

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)

Parametreler

keySize
Int32

Anahtarın boyutu. Geçerli anahtar boyutları 256, 384 ve 521 bittir.

Öznitelikler

Özel durumlar

keySize geçersiz bir uzunluk belirtir.

Açıklamalar

Bu oluşturucu hemen yeni bir ortak/özel anahtar bölmesi oluşturmaz. Bu oluşturucu özelliği sağlanan değere ayarlar KeySize ve bir anahtar gerektiğinde hedef eğriyi tanımlamak için kaydedilmiş boyut kullanılır. Bir anahtar yöntemi veya başka bir anahtar içeri aktarma yöntemi aracılığıyla ImportParameters yüklenirse, bu oluşturucunun anahtar boyutunun bir anlamı yoktur.

Ayrıca bkz.

Şunlara uygulanır

ECDsaOpenSsl(IntPtr)

Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs

olarak temsil edilen mevcut bir OpenSSL anahtarından sınıfının yeni bir EC_KEY*örneğini ECDsaOpenSsl başlatır.

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)

Parametreler

handle
IntPtr

nativeint

Anahtar olarak kullanılacak OpenSSL EC_KEY* değeri.

Öznitelikler

Özel durumlar

handle, Zero değeridir.

handle geçerli EC_KEY*bir değil.

Açıklamalar

Önemli

OpenSSL, aynı işlem içinde birden çok kitaplık sürümünün yüklenmesini destekler. Bu oluşturucuyu çağırmadan önce, işaretçi değerinizin bu sınıfın kullandığı Aynı OpenSSL sürümünden geldiğini doğrulayın. Daha fazla bilgi için bkz OpenSslVersion .

Ayrıca bkz.

Şunlara uygulanır

ECDsaOpenSsl(ECCurve)

Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs

sınıfının yeni bir örneğini ECDsaOpenSsl başlatır ve belirtilen eğride yeni bir anahtar oluşturur.

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)

Parametreler

curve
ECCurve

Kısa ömürlü ortak/özel anahtar çifti oluşturmak için kullanılan eğri.

Öznitelikler

Özel durumlar

curve doğrulamaz.

curve, null değeridir.

Ayrıca bkz.

Şunlara uygulanır

ECDsaOpenSsl(SafeEvpPKeyHandle)

Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs
Kaynak:
ECDsaOpenSsl.cs

olarak temsil edilen mevcut bir OpenSSL anahtarından sınıfının yeni bir EVP_PKEY*örneğini ECDsaOpenSsl başlatır.

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)

Parametreler

pkeyHandle
SafeEvpPKeyHandle

Anahtar olarak kullanılacak OpenSSL EVP_PKEY* değeri, olarak SafeEvpPKeyHandletemsil edilir.

Öznitelikler

Özel durumlar

pkeyHandle geçersiz tanıtıcıyı temsil eder.

pkeyHandle, null değeridir.

pkeyHandle üç nokta eğrisi (EC) anahtarını temsil etmez.

Açıklamalar

Önemli

OpenSSL, aynı işlem içinde birden çok kitaplık sürümünün yüklenmesini destekler. Bu oluşturucuyu çağırmadan önce, işaretçi değerinizin bu sınıfın kullandığı OpenSSL'nin aynı sürümünden geldiğini doğrulayın. Daha fazla bilgi için bkz. OpenSslVersion.

Ayrıca bkz.

Şunlara uygulanır