Package description UM2262
40/94 UM2262 Rev 6
6.2.8 User application
• Provides an example for downloading the user application via Ymodem protocol over a
UART (Over The Air download mechanisms, such as BLE, Wi-Fi
®
or others, can be
implemented in the user application but are not provided as examples in the
X-CUBE-SBSFU application example).
• Provides examples testing the protections mechanisms.
• Provides an example for using some of the functionalities exported by SE such as
getting information about the current firmware image.
• Provides examples using KMS exported services through a standard PKCS #11
interface: AES-GCM/CBC encryption/decryption, RSA signature/verification, key
provisioning, and key derivation.
• Provides examples to demonstrate STSAFE-A exported services through a standard
PKCS #11 interface: ECDSA signature generation using a device-unique private key,
device certificate reading, signature verification, ECDSA key pair generation, ECDH
Diffie-Hellman key derivation. These services are typically used in the context of a TLS
exchange and are candidate building blocks for the development of an IoT node
connected with a cloud-based service.