Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

SigningMonitorEventHandler< Impl > Class Template Reference

SigningMonitorEventHandler< Impl > Class Template Reference

Implemented by classes that are reacting to signing events. More...

#include <SigningEventMonitor.h>

Inherits StaticInterface< Impl, SigningMonitorEventHandler >.

Public Member Functions

void on_signed_write_received (connection_handle_t connection, uint32_t sign_coutner)
 Set new signed write peer counter.
void on_signed_write_verification_failure (connection_handle_t connection)
 Indicate that signed data was rejected due to verification failure.
void on_signed_write ()
 Notify a new signed write cmd was executed.
Impl * impl ()
const Impl * impl () const

Detailed Description

template<class Impl>
class ble::pal::SigningMonitorEventHandler< Impl >

Implemented by classes that are reacting to signing events.

Definition at line 30 of file SigningEventMonitor.h.


Member Function Documentation

Impl* impl (  ) [inherited]
Returns:
A pointer to the implementation class.

Definition at line 35 of file StaticInterface.h.

const Impl* impl (  ) const [inherited]
Returns:
A pointer to the implementation class.

Definition at line 43 of file StaticInterface.h.

void on_signed_write (  )

Notify a new signed write cmd was executed.

Definition at line 66 of file SigningEventMonitor.h.

void on_signed_write_received ( connection_handle_t  connection,
uint32_t  sign_coutner 
)

Set new signed write peer counter.

Parameters:
[in]connectionconnection handle
[in]sign_coutnercounter received from peer

Definition at line 41 of file SigningEventMonitor.h.

void on_signed_write_verification_failure ( connection_handle_t  connection )

Indicate that signed data was rejected due to verification failure.

This could be due to an invalid CSRK key.

Parameters:
[in]connectionconnection handle

Definition at line 57 of file SigningEventMonitor.h.