Developer Guide

  • 10/27/2020
  • Public Content

Secure Storage Guidelines

Before performing a read or write operation on an existing AR file that contains data, a setProperty action should be performed to assign it the AR property. This action should be performed at the beginning of each session involving reading or writing. Failing to do so can cause a UtilSecurityException when the read or write is performed. Following are details of what can happen in different scenarios:
After OS reset, without first performing setProperty:
•    readFlashData, writeFlashData and getFlashDataSize cause a UtilSecurityException •    eraseFlashData and setProperty operations succeed •    getProperty returns True
After Clearing the RTC (without Return to Factory Default), without first performing setProperty:

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at