ECDiffieHellmanOpenSsl.DeriveKeyMaterial(ECDiffieHellmanPublicKey) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
共有シークレットに対してキー派生を実行します。
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で使用される曲線のサイズは、このキーの曲線とは異なります。
otherPartyPublicKey は nullです。