16 ServerCryptogram = serverCryptogram ??
throw new ArgumentNullException(nameof(serverCryptogram));
Base class representing a payload of a PD command message.
static ServerCryptogramData ParseData(ReadOnlySpan< byte > data, ReadOnlySpan< byte > securityControlBlock)
Parses the message payload bytes.
byte[] ServerCryptogram
Gets the cryptographic data provided by the server during a secure communication exchange.
override CommandType CommandType
override byte[] BuildData()
override bool IsSecurityInitialization
override ReadOnlySpan< byte > SecurityControlBlock()
bool IsDefaultKey
Indicates whether the default encryption key is used for secure communications.
ServerCryptogramData(byte[] serverCryptogram, bool isDefaultKey)
SecurityBlockType
Security Block Type values as defined by OSDP protocol.