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 |
---|---|---|
System.Byte[] | buffer | The shared value computed by ECDH. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.InvalidOperationException | The HMAC with SHA-256 provider failed. |