diff --git a/xplat/Flipper/ConnectionContextStore.h b/xplat/Flipper/ConnectionContextStore.h index f5fdcc2c8..b1e366bce 100644 --- a/xplat/Flipper/ConnectionContextStore.h +++ b/xplat/Flipper/ConnectionContextStore.h @@ -38,6 +38,16 @@ class ConnectionContextStore { */ folly::Optional getLastKnownMedium(); void storeConnectionConfig(folly::dynamic& config); + /** + * Reset state just removes all certificate exchange related files stored on + * the client. These are: + * - Certificate Sign Request (CSR) + * - CA Certificate + * - Server Certificate + * - Client Certificate + * - Client Key + * - Configuration file (includes device identifier) + */ bool resetState(); /** Convert and save to disk the existing certificate to PKCS #12 format.