ECDiffieHellmanOpenSsl.DeriveKeyMaterial(ECDiffieHellmanPublicKey) メソッド

定義

共有シークレットに対してキー派生を実行します。

public:
 override cli::array <System::Byte> ^ DeriveKeyMaterial(System::Security::Cryptography::ECDiffieHellmanPublicKey ^ otherPartyPublicKey);
public override byte[] DeriveKeyMaterial(System.Security.Cryptography.ECDiffieHellmanPublicKey otherPartyPublicKey);
override this.DeriveKeyMaterial : System.Security.Cryptography.ECDiffieHellmanPublicKey -> byte[]
Public Overrides Function DeriveKeyMaterial (otherPartyPublicKey As ECDiffieHellmanPublicKey) As Byte()

パラメーター

otherPartyPublicKey
ECDiffieHellmanPublicKey

相手の公開キー。

返品

Byte[]

共有シークレットの SHA-256 ハッシュ。

例外

otherPartyPublicKeyで使用される曲線のサイズは、このキーの曲線とは異なります。

otherPartyPublicKeynullです。

otherPartyPublicKeyで使用される曲線は、このキーの曲線とは異なります。

-又は-

このインスタンスは公開キーのみを表します。

適用対象