DeriveKeys Method
DeriveKeys(byte[])
The key derivation function to run while performing ECDH. This will derive both the EncryptionKey and the AuthenticationKey.
C#
protected abstract void DeriveKeys(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
byte[] | buffer | The shared value computed by ECDH. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
InvalidOperationException | The HMAC with SHA-256 provider failed. |