ECDiffieHellmanOpenSsl.DeriveKeyMaterial(ECDiffieHellmanPublicKey) Metoda

Definice

Provede odvození klíče u sdíleného tajného klíče.

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

Parametry

otherPartyPublicKey
ECDiffieHellmanPublicKey

Veřejný klíč druhé strany.

Návraty

Byte[]

Hodnota hash SHA-256 sdíleného tajného klíče.

Výjimky

Křivka používaná tímto otherPartyPublicKey klíčem má jinou velikost než křivka.

otherPartyPublicKey je null.

Křivka používaná tímto otherPartyPublicKey klíčem se liší od křivky.

-nebo-

Tato instance představuje pouze veřejný klíč.

Platí pro