OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.Messages.SecureChannel Namespace Reference

Classes

class  ACUMessageSecureChannel
 Message channel which represents the Access Control Unit (ACU) side of the OSDP communications (i.e. More...
interface  IMessageSecureChannel
 Represents the secure channel context within which a message is packed/unpacked. More...
class  MessageSecureChannel
 V2 implementation of a SecureChannel class. More...
class  PdMessageSecureChannelBase
 Message channel which represents the Periphery Device (PD) side of the OSDP communications (i.e., OSDP commands are received and replies are sent out).
class  SecurityBlock
 Contains standard Security Control Block data that can be used when building messages. More...
class  SecurityContext
 Security context used within MessageSecureChannel. More...

Enumerations

enum  SecurityBlockType : byte {
  BeginNewSecureConnectionSequence = 0x11 , SecureConnectionSequenceStep2 = 0x12 , SecureConnectionSequenceStep3 = 0x13 , SecureConnectionSequenceStep4 = 0x14 ,
  CommandMessageWithNoDataSecurity = 0x15 , ReplyMessageWithNoDataSecurity = 0x16 , CommandMessageWithDataSecurity = 0x17 , ReplyMessageWithDataSecurity = 0x18
}
 Security Block Type values as defined by OSDP protocol. More...

Enumeration Type Documentation

◆ SecurityBlockType

Security Block Type values as defined by OSDP protocol.

Enumerator
BeginNewSecureConnectionSequence 

SCS_11 - Sent along with osdp_CHLNG command when ACU initiates a secure channel connection.

SecureConnectionSequenceStep2 

SCS_12 - Sent along with osdp_CCRYPT message in response to osdp_CHLNG command.

SecureConnectionSequenceStep3 

SCS_13 - Sent along with osdp_SCRYPT command as the third step of secure channel handshake.

SecureConnectionSequenceStep4 

SCS_14 - Sent along with osdp_RMAC_I message in response to ACU's osdp_SCRYPT message.

This is the final step in secure channel handshake. Once this is received by ACU, the secure channel is established on both sides

CommandMessageWithNoDataSecurity 

SCS_15 - ACU -> PD; secure channel is established and the command message contains a MAC signature but the data field is unencrypted.

ReplyMessageWithNoDataSecurity 

SCS_16 - PD -> ACU; secure channel is established and the reply message contains a MAC signature but the data field is unencrypted.

CommandMessageWithDataSecurity 

SCS_17 - ACU -> PD; secure channel is established.

The command message contains a MAC signature and the data field is encrypted using the S-ENC key

ReplyMessageWithDataSecurity 

SCS_18 - PD -> ACU; secure channel is established.

The reply message contains a MAC signature and the data field is encrypted using the S-ENC key

Definition at line 6 of file SecurityBlockType.cs.