Share via


ECDiffieHellmanCngPublicKey.FromByteArray(Byte[], CngKeyBlobFormat) Yöntem

Tanım

Ortak anahtar içeren bir bayt dizisini belirtilen biçime göre bir ECDiffieHellmanCngPublicKey nesneye dönüştürür.

public:
 static System::Security::Cryptography::ECDiffieHellmanPublicKey ^ FromByteArray(cli::array <System::Byte> ^ publicKeyBlob, System::Security::Cryptography::CngKeyBlobFormat ^ format);
public static System.Security.Cryptography.ECDiffieHellmanPublicKey FromByteArray (byte[] publicKeyBlob, System.Security.Cryptography.CngKeyBlobFormat format);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static System.Security.Cryptography.ECDiffieHellmanPublicKey FromByteArray (byte[] publicKeyBlob, System.Security.Cryptography.CngKeyBlobFormat format);
[System.Security.SecurityCritical]
public static System.Security.Cryptography.ECDiffieHellmanPublicKey FromByteArray (byte[] publicKeyBlob, System.Security.Cryptography.CngKeyBlobFormat format);
static member FromByteArray : byte[] * System.Security.Cryptography.CngKeyBlobFormat -> System.Security.Cryptography.ECDiffieHellmanPublicKey
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member FromByteArray : byte[] * System.Security.Cryptography.CngKeyBlobFormat -> System.Security.Cryptography.ECDiffieHellmanPublicKey
[<System.Security.SecurityCritical>]
static member FromByteArray : byte[] * System.Security.Cryptography.CngKeyBlobFormat -> System.Security.Cryptography.ECDiffieHellmanPublicKey
Public Shared Function FromByteArray (publicKeyBlob As Byte(), format As CngKeyBlobFormat) As ECDiffieHellmanPublicKey

Parametreler

publicKeyBlob
Byte[]

Elips Eğrisi Diffie-Hellman (ECDH) ortak anahtarını içeren bayt dizisi.

format
CngKeyBlobFormat

Anahtar BLOB'un biçimini belirten bir nesne.

Döndürülenler

Bayt dizisinde seri hale getirilmiş ECDH ortak anahtarını içeren bir nesne.

Öznitelikler

Özel durumlar

publicKeyBlob veya format parametresidirnull.

publicKeyBlob parametresi bir ECDiffieHellman anahtar içermiyor.

Açıklamalar

Bu statik yöntem tüm ECDiffieHellmanCngPublicKey örnekler arasında paylaşılır.

Şunlara uygulanır