Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Derives the key material that is generated from the agreement between the two parties.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public Function DeriveKeyMaterial ( _
otherPartyPublicKey As Byte() _
) As CryptoKey
public CryptoKey DeriveKeyMaterial(
byte[] otherPartyPublicKey
)
public:
CryptoKey^ DeriveKeyMaterial(
array<unsigned char>^ otherPartyPublicKey
)
member DeriveKeyMaterial :
otherPartyPublicKey:byte[] -> CryptoKey
public function DeriveKeyMaterial(
otherPartyPublicKey : byte[]
) : CryptoKey
Parameters
- otherPartyPublicKey
Type: array<System. . :: . .Byte> [] () [] []
A byte array that contains the public part of the Elliptic Curve Diffie-Hellman key from the other party in the key exchange.
Return Value
Type: System.Security.Cryptography. . :: . .CryptoKey
A byte array that contains the key material.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.