OSDP.Net 5.3.0-beta.3
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.SecureChannelKeyTypeMismatchException Class Reference

Exception thrown when the PD's Security Control Block (SCB) key type indicator does not match what the ACU sent during secure channel initialization. More...

Inheritance diagram for OSDP.Net.SecureChannelKeyTypeMismatchException:
OSDP.Net.OSDPNetException

Public Member Functions

 SecureChannelKeyTypeMismatchException (bool acuUsedDefaultKey, bool pdClaimedDefaultKey)
 Initializes a new instance of SecureChannelKeyTypeMismatchException.
Public Member Functions inherited from OSDP.Net.OSDPNetException
 OSDPNetException (string message)
 Initializes a new instance of OSDP.Net.OSDPNetException with a specified error message.
 OSDPNetException ()
 Initializes a new instance of OSDP.Net.OSDPNetException.

Properties

bool AcuUsedDefaultKey [get]
 Gets a value indicating whether the ACU was using the default key (SCBK-D).
bool PdClaimedDefaultKey [get]
 Gets a value indicating whether the PD claimed to use the default key (SCBK-D).

Detailed Description

Exception thrown when the PD's Security Control Block (SCB) key type indicator does not match what the ACU sent during secure channel initialization.

This indicates a protocol violation per OSDP specification.

Definition at line 98 of file Exceptions.cs.

Constructor & Destructor Documentation

◆ SecureChannelKeyTypeMismatchException()

OSDP.Net.SecureChannelKeyTypeMismatchException.SecureChannelKeyTypeMismatchException ( bool acuUsedDefaultKey,
bool pdClaimedDefaultKey )
inline

Initializes a new instance of SecureChannelKeyTypeMismatchException.

Parameters
acuUsedDefaultKeyWhether the ACU used the default key.
pdClaimedDefaultKeyWhether the PD claimed to use the default key.

Definition at line 115 of file Exceptions.cs.

References AcuUsedDefaultKey, and PdClaimedDefaultKey.

Property Documentation

◆ AcuUsedDefaultKey

bool OSDP.Net.SecureChannelKeyTypeMismatchException.AcuUsedDefaultKey
get

Gets a value indicating whether the ACU was using the default key (SCBK-D).

Definition at line 103 of file Exceptions.cs.

Referenced by SecureChannelKeyTypeMismatchException().

◆ PdClaimedDefaultKey

bool OSDP.Net.SecureChannelKeyTypeMismatchException.PdClaimedDefaultKey
get

Gets a value indicating whether the PD claimed to use the default key (SCBK-D).

Definition at line 108 of file Exceptions.cs.

Referenced by SecureChannelKeyTypeMismatchException().


The documentation for this class was generated from the following file: