10 internal class InitialRMac : PayloadData
18 public InitialRMac(
byte[] rmac,
bool serverCryptogramAccepted)
21 ServerCryptogramAccepted = serverCryptogramAccepted;
28 public byte[] RMac {
get; }
30 public bool ServerCryptogramAccepted {
get; }
36 public override bool IsSecurityInitialization =>
true;
47 (
byte)(ServerCryptogramAccepted ? 0x01 : 0xff)
ReadOnlySpan< byte > SecurityControlBlock()
Retrieves the security control block for a specific command data type.
byte[] BuildData()
Converts the payload into a byte array to be sent over the wire.
SecurityBlockType
Security Block Type values as defined by OSDP protocol.
ReplyType
Identifies the type of OSDP protocol reply (PD -> ACU) message.