PersistentStorageEncryptionKeyProvider
public protocol PersistentStorageEncryptionKeyProvider
                Protocol that wraps the key generator required for the configuration of the Tile Store persistent storage.
- 
                  
                  
Retrieves an encryption key that can be used to interact with persistent storage. If no such key was generated before, then a new key is generated and stored for future use and then returned to the caller.
Declaration
Swift
func getPersistentStorageEncryptionKey(keyAlias: String) -> StringParameters
keyAliasThe name of the service for which the key is needed. Here we use a common name “tilestore-storage-key” for ‘NavigationTileStore’
Return Value
persistent storage encryption key.
 
        
 
          TomTom SDK for iOS (0.40.0)
        
          PersistentStorageEncryptionKeyProvider