Show / Hide Table of Contents

DeriveKeys Method

DeriveKeys(byte[])

The key derivation function to run while performing ECDH. This will derive both the EncryptionKey and the AuthenticationKey.

C#
protected override void DeriveKeys(byte[] buffer)

Parameters

Type Name Description
byte[] buffer

The shared value computed by ECDH.

Overrides

PinUvAuthProtocolBase.DeriveKeys(byte[])

Exceptions

Type Condition
ArgumentNullException

The buffer argument is null.

InvalidOperationException

The HMAC with SHA-256 provider failed.

In this article
Back to top Generated by DocFX