Show / Hide Table of Contents

Scp03KeyParameters Constructor

Scp03KeyParameters(KeyReference, StaticKeys)

Creates a new instance of Scp03KeyParameters, representing the parameters for a Secure Channel Protocol 03 (SCP03) key.

C#
public Scp03KeyParameters(KeyReference keyReference, StaticKeys staticKeys)

Parameters

Type Name Description
KeyReference keyReference

A reference to the key.

StaticKeys staticKeys

The static keys shared with the device when initiating the connection.

Exceptions

Type Condition
ArgumentException

Thrown if keyReference.Id.Id is not between 1 and 3, which are the only valid Key IDs for SCP03

Scp03KeyParameters(byte, byte, StaticKeys)

Creates a new instance of Scp03KeyParameters, representing the parameters for a Secure Channel Protocol 03 (SCP03) key.

C#
public Scp03KeyParameters(byte keyId, byte keyVersionNumber, StaticKeys staticKeys)

Parameters

Type Name Description
byte keyId

The ID of the key. Must be between 1 and 3 for SCP03.

byte keyVersionNumber

The version number of the key.

StaticKeys staticKeys

The static keys shared with the device.

Exceptions

Type Condition
ArgumentException

Thrown if keyId is not between 1 and 3, which are the only valid Key IDs for SCP03

In this article
Back to top Generated by DocFX